-
Notifications
You must be signed in to change notification settings - Fork 85
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
Part 5: x-ogc-propertySeq seems useless? #944
Comments
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. |
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 |
In my opinion, it's a - sorry - bad imitation of an array. If something has an order, it should be an array.
I don't quite get the order in CSV/FlatGeoBuf. Aren't these formats usually supporting field names? It seems much better to identify columns by name rather than by order. |
@m-mohr In GeoTIFF for example there is no way to describe or name the bands. |
I'm not sure I understand how this is relevant to my comment. Was this meant to be a comment towards my last sentence?
(Note: GeoTiff is a raster format, but Features is not a raster API...) |
@m-mohr Yes, the concept of logical schemas are relevant to both feature collections and raster / gridded coverage data, and this is parat of the "common" aspects of this Schemas Part 5. The use case is also relevant to formats like CSV / FlatGeoBuf which might not have field names. |
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.The text was updated successfully, but these errors were encountered: