openaq / project-universal-stationID

This repo houses project discussions for creating a universal station ID system.
2 stars 0 forks source link

Universal ID based on location, altitude and atmospheric exposure #9

Closed vgeorge closed 5 years ago

vgeorge commented 5 years ago

I would like to propose an URL-friendly id based on three properties: location, altitude and atmospheric exposure. The pattern would be:

<location>-<altitude>-<atm_exposure>

Where:

Here is a example of a locality:

https://plus.codes/588MC8QV+9J3

A sensor inside "9 de Julho" tunnel, the lowest level, would have the following ID:

588MC8QV+9J3-720-0

A sensor in the same 3x3m projected square, but inside a museum's room:

588MC8QV+9J3-760-0

Another sensor at the top of the museum:

588MC8QV+9J3-790-1

This proposal has a limitation when there is more than one sensor with the same atmospheric exposure sharing the same square of 3 x 3 m, which I imagine is difficult to happen in the context of OpenAQ.

olafveerman commented 5 years ago

Thanks @vgeorge

  1. what's the advantage over using lat/lon for the ID?
  2. for the large majority of stations, altitude and atmospheric exposure will not be known. What's the fallback for these cases?
RocketD0g commented 5 years ago

One other thing to keep in mind is that most gov't stations do report more than one type of pollutant, which means, in many cases, a little 3mx3m area will have more than one type of monitor.

maschu09 commented 5 years ago

For reasons discussed in #7 I sympathize with the idea to use plus codes. @RocketD0g 's argument that there may be more than one monitor in a 3x3 area doesn't count against this as we don't want to identify monitors but "stations" here. Of course it is debatable what exactly constitutes a "station". Some sites may have multiple locations for monitors, and are oceangoing vessels considered a "station"? One advantage of plus codes could be that they are resolvable.

maschu09 commented 5 years ago

Upon trying to come up with a summary (#10) here a suggestion for the part after the plus code:

vgeorge commented 5 years ago

Current approach for ids is available here: https://github.com/openaq/project-universal-stationID/issues/12.