-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
@kgeographer has drawn our attention to the OGC draft standard for JSON-FG (features and geometry) here, which proposes adding a simple time element to GeoJSON (among other things).
The proposals are defined here in JSON Schema format.
Observations
- JSON-FG features are required to have ALL of ["type", "time", "place", "geometry", "properties"], which seems to me unnecessarily verbose.
- The
timeobject is limited to a more restricted set of ISO 8601 expressions than is permitted in the current LPF (though these are not defined/enforced by any regex patterns in the JSON Schema). - The
timeobject neatly uses ISO 8601-2 '..' notation to express unbounded intervals, but offers no means to represent after/before or earliest/latest. - The
linkobject described here is quite different from an LPF link. It useshrefinstead ofidentifier, and includes optional properties that might be considered useful for LPF. - The representation of intervals as strings was rejected because a JSON structure 'is easier to parse' (see here), which seems to me a lazy and unnecessary concession to programmers at the expense of non-technical users. Parsing a string and splitting it on a '/' is trivial.
Suggestions
- LPF should adopt the OGC restricted set of ISO 8601 expressions for date and datetime.
- LPF
linksshould conform to the OGC standard. - LPF should keep its
whenproperty to avoid confusion with the OGCtimeproperty (which is both inadequate and over-prescriptive for LPF purposes).