Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate TDs with geolocation information #58

Open
mmccool opened this issue Sep 28, 2020 · 4 comments
Open

Annotate TDs with geolocation information #58

mmccool opened this issue Sep 28, 2020 · 4 comments

Comments

@mmccool
Copy link
Contributor

mmccool commented Sep 28, 2020

To test spatial queries with directory services, need to annotate TDs with geolocation.
See w3c/wot-thing-description#941
Let's use this one (just for the purposes of the plugfest): w3c/wot-thing-description#941 (comment)
from schema.org

@mmccool
Copy link
Contributor Author

mmccool commented Sep 29, 2020

A couple of clarifications on usage:

  • latitude and longitude are strings, probably to allow use of annotations like "N" and "E". I recommend we just use negative numbers (and these should really BE numbers, but oh, well).
  • let's use units of "m" for elevation
  • a way to state accuracy would be useful. SSN provides some definitions that are useful, but we need to figure out how to use them, eg we have to related them to "location" as a feature of interest. We may need to come up with our own definitions. Note that location is included in the web geolocation API and we should align with that... a radius (in m, on the surface of the earth, eg. spherical arc distance) for lat/long and another value for elevation uncertainty. Note that this gives a cylinder as the volume of uncertainty (if you ignore the spherical arc, anyway...)
  • no definition for "depth". If we DID define this, we could consider it an offset against the elevation (which could also be provided; if not given, it would need to be found from another source, which we probably should define...)

@mmccool
Copy link
Contributor Author

mmccool commented Sep 29, 2020

test case PR: #68

@mmccool
Copy link
Contributor Author

mmccool commented Sep 29, 2020

Issues arising:

  • geolocation defined in some other thing
  • dynamic geolocation information in a property
  • link relation types? How to link dynamic property values of this or other things?
    • eg. for dynamic location, use a special link relation type, e.g. "locationOf", that MIGHT refer to a property, in another or even the same TD (eg using absolute or relative JSON Pointers)

@mmccool
Copy link
Contributor Author

mmccool commented Oct 2, 2020

So we did accomplish this but not consistently, so more work is needed to come to a consensus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant