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
Add support for time data on Features as proposed in geojson-ld #31
Comments
Doesn't the full spec make geojson a lot more complicated? I don't understand why time can't be a normal geojson property? |
I understand it is due to specific semantics on “Interval” and “Instant” and related properties for each type of data. We could place everything in “properties”, even the geometry itself, but I think “properties” is meant to be used by generic user data rather than specific semantics.
That way you have “geometry” (space) side by side with “time”.
|
I've never heard of |
Passing along the following for information/reference/here's-what-we're-doing purposes, only: The Who's On First (WOF) project uses the Library of Congress' Extended DateTime Format (EDTF) in causually-namespaced properties because WOF needs to support multiple dates with unknown or contested specificities:
(EDTF is still set to become part of ISO-8601 sometime in 2019, I believe.) SFO Museum (SFOM) has been encoding timestamps for flight paths more or less the same way that the Shared Streets project has proposed in their "TraceJSON" proposal, which is a separate
SFOM also uses the above-mentioned EDTF properties for the principal record representing a flight: |
Thank you for the detailed reply. So what exactly is the ask here?
My thoughts are (1) easy, just need to figure out the details. (2) not sure what this library should do. (3) would require adding a field to the struct. I'd want to make sure people would use it before just adding it. |
Sorry for the confusion. I don't personally have an "ask" in this, certainly not implementing and bolting the EDTF spec in to this package. None of the stuff I am doing assumes anything other than plain-vanilla GeoJSON as it is defined in RFC 7946. I follow both this package and the broader "time in GeoJSON" discussion out of interest and was just sharing the approaches we've used. |
Cool cool. Thank you @thisisaaronland |
I'm closing this as abandoned. The ability to encode/decode "foreign members" was added a while back. I think you can use that for this use case. #56 |
Add support for datetime information over Features as discussed at https://github.com/geojson/geojson-ld
Example:
The text was updated successfully, but these errors were encountered: