Open joostfarla opened 1 year ago
This is a good point. The focus of the document is in features and feature collections, but it was also the intent to allow using JSON-FG geometry objects in other contexts. However, currently a JSON document with a Polyhedron or Prism geometry is not a JSON-FG document and cannot have, for example, the JSON-FG media type.
I see two options:
I prefer the second approach.
Meeting 2023-11-13: For now, we add a statement about this topic in the current document and reference this issue. The idea is to implement the "proper approach" after the Public Comment period and before the approval process.
@cportele Great, I would also prefer the second approach!
The current spec only allows embedding Geometry objects as part of a Feature or FeatureCollection document. I'm wondering if the standard should explicitly allow (or at least mention) using the Geometry object schema within another context.
Usage examples could be:
The GeoJSON spec only standardizes the structure of a
GeoJSON Object
. It does not provide a definition for aGeoJSON Document
or what objects may or may not be used on the root level of a document.