ogcapi-features icon indicating copy to clipboard operation
ogcapi-features copied to clipboard

Fast access to geometry type of a collection

Open rouault opened this issue 5 years ago • 2 comments

There are some clients which could be made much faster if the return of the /collections/{collectionname} endpoint included the type of geometry (Point/MultiPoint, LineString/MultiLineString, Polygon/MultiPolygon), probably as an optional element, when a collection includes only one such single type (which is a common situation).

rouault avatar Sep 10 '19 11:09 rouault

Similar situation as in #261. Implementations are free to add this information today. For cases where the features in a collection have a known, homogeneous geometry type it is probably a good idea to make this explicit - even if there is not pre-defined element specified in the core conformance class.

At this stage in the process, this would have to be added either in an extension or in a future revision of the core.

cportele avatar Sep 10 '19 11:09 cportele

Extension seems to be a good place to start, and then could migrate to the core once there is good acceptance of it.

cholmes avatar Sep 10 '19 20:09 cholmes