Frans,

Hi!

For OGC the OGC features API, it would be good to be able to configure Mapserver in such a way that coordinate transformation is not done when a client requests data in the same CRS that the source data use. The Coordinate Reference Systems by Reference extension <https://github.com/opengeospatial/ogcapi-features/tree/master/extensions/crs>provides a way of doing that, and seems to remove the dependency on CRS84, imposed by GeoJSON, at the same time.

My question is: is it possible to configure the storageCrs for datasets that use the OGC Features API?

Yes, the storageCrs will be the first CRS mentioned in the list of LAYER.METADATA.oga_srs

See https://github.com/MapServer/MapServer/blob/bee04efb3b8c072a261936d5e93b1adf9ed83522/msautotest/api/ogcapi.map#L76

| And will that prevent unnecessary coordinate transformations?

Only, if you explicitly request this CRS with the "crs" query parameter of the items request.

Like &crs=http://www.opengis.net/def/crs/EPSG/0/32615

Even

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to