<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Frans,<br>
</p>
<blockquote type="cite"
cite="mid:CAEkm7DO64fnBX9H682zQOYY3-eWKR_i8HA9tVASRDhSPYcw6gw@mail.gmail.com">
<div dir="ltr">Hi!
<div><br>
</div>
<div>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 <a
href="https://github.com/opengeospatial/ogcapi-features/tree/master/extensions/crs"
moz-do-not-send="true">Coordinate Reference Systems by
Reference extension </a>provides a way of doing that, and
seems to remove the dependency on CRS84, imposed by GeoJSON,
at the same time.<br>
<br>
My question is: is it possible to configure the storageCrs for
datasets that use the OGC Features API? <br>
</div>
</div>
</blockquote>
<p>Yes, the storageCrs will be the first CRS mentioned in the list
of LAYER.METADATA.oga_srs<br>
</p>
<p>See
<a class="moz-txt-link-freetext" href="https://github.com/MapServer/MapServer/blob/bee04efb3b8c072a261936d5e93b1adf9ed83522/msautotest/api/ogcapi.map#L76">https://github.com/MapServer/MapServer/blob/bee04efb3b8c072a261936d5e93b1adf9ed83522/msautotest/api/ogcapi.map#L76</a></p>
<p>| And will that prevent unnecessary coordinate transformations?</p>
<p>Only, if you explicitly request this CRS with the "crs" query
parameter of the items request.</p>
<p>Like &crs=<a class="moz-txt-link-freetext" href="http://www.opengis.net/def/crs/EPSG/0/32615">http://www.opengis.net/def/crs/EPSG/0/32615</a><br>
</p>
<p>Even</p>
<span style="white-space: pre-wrap">
</span>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>