Closed julesjacobsen closed 4 years ago
There are various options beyond the simple format we'd defined:
Point
coordinates. Just for discussion, this. I'm happy w/ the simple long/lat/precision/label format, but then GeoJSON etc...
Only having now gone a bit deeper through PlusCodes: I think suggesting this here leads to loading features into a specification. Anybody can understand lat,lon, GeoGSON Point etc.; abstracting this further & making this service dependent is IMO wrong here. It may be fine to use this as a part of a Phenopackets toolkit (translating GeoJSON, internal format ...), but I'm doubtful about its use; tooling for lat,long is everywhere, and these are standard coordinates. PlusCodes doesn't really solve anything (yes, I understand the attempt to provide a compact, "unambiguous" code to circumvent confusion from erroneous use of lat,lon units; but this is not a specification problem). And you have another library / service dependency (Google track record!?). I won't interfere if you have this as a "oneof" option, but still...
Closing this as the issue is no longer relevant to the spec.
Open Location Code aka PlusCodes if you want the glossy overview, looks to be a nicely engineered solution to the issue of location.
From their README:
Currently location is defined like this:
It could, using the plus code, be represented like this for the Zurich example:
Which resolves to this area: https://plus.codes/8FVC9G00+
The only snag with this is that if the thing you're trying to fit into a box doesn't fully fit, then what? In this example Zurick straddles approximately four boxes at this scale:
https://plus.codes/8FVCCG00+ https://plus.codes/8FVCCH00+ https://plus.codes/8FVC9G00+ https://plus.codes/8FVC9H00+
but the next box up is too big. Even so, these are computable compared to the existing 'precision' string, which is completely undefined. If the goal is purely approximation and obfuscation, then the pluscode will work better then the existing setup.