opengeospatial / ogcapi-features

An open standard for querying geospatial information on the web.
https://ogcapi.ogc.org/features
Other
338 stars 84 forks source link

Part 5: x-ogc-propertySeq seems useless? #944

Open m-mohr opened 2 months ago

m-mohr commented 2 months ago

What's the purpose of x-ogc-propertySeq? Can it actually be enfored? I see it provided for object properties, but objects in JSON have no order as per the JSON specification. I don't see how this could be implemented and would argue that it should actually be removed.

cportele commented 2 months ago

For data encoded in JSON this is irrelevant (and cannot be enforced), but for other representations (e.g., CSV or FlatGeobuf) the order is essential.

cportele commented 1 month ago

Meeting 2024-08-26: Currently, the document states "For cases, where the properties of the data have to be ordered in some representations of the data, the sequence of the properties can be expressed using a keyword x-ogc-propertySeq." We will add a note that provides examples and more context. That should address the issue.