@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
time object 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
time object neatly uses ISO 8601-2 '..' notation to express unbounded intervals, but offers no means to represent after/before or earliest/latest.
- The
link object described here is quite different from an LPF link. It uses href instead of identifier, 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
links should conform to the OGC standard.
- LPF should keep its
when property to avoid confusion with the OGC time property (which is both inadequate and over-prescriptive for LPF purposes).
@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
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).timeobject neatly uses ISO 8601-2 '..' notation to express unbounded intervals, but offers no means to represent after/before or earliest/latest.linkobject described here is quite different from an LPF link. It useshrefinstead ofidentifier, and includes optional properties that might be considered useful for LPF.Suggestions
linksshould conform to the OGC standard.whenproperty to avoid confusion with the OGCtimeproperty (which is both inadequate and over-prescriptive for LPF purposes).