<div>Dear Jukka,<br></div><div><br></div><div>thank you for clarifying this, now it makes sense. So far I could not identify instructions in the documentation on how to specify a URL identifier (this seems the most sensible option when the CRS is not indexed by the IOGP). Is it supported by MapServer?<br></div><div><br></div><div>Thank you.</div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div><br></div><div>-- <br></div><div>Luís Moreira de Sousa<br></div><div>Email: <a href="mailto:luis.de.sousa@protonmail.ch">luis.de.sousa@protonmail.ch</a><br></div><div>RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c<br></div><div>URL: <a href="https://ldesousa.github.io">https://ldesousa.github.io</a><br></div></div><div><br></div><div class="protonmail_signature_block-proton">Sent with <a target="_blank" href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Tuesday, November 13, 2018 5:03 PM, Rahkonen Jukka (MML) <jukka.rahkonen@maanmittauslaitos.fi> wrote:<br></div><div> <br></div><blockquote type="cite" class="protonmail_quote"><div><p><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt">Hi,</span></span></span><br></p><p><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt"> </span></span></span><br></p><p><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt">I guess the WMS 1.3.0 standard, page 15:</span></span></span><br></p><p><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt"> </span></span></span><br></p><p style="text-autospace:none"><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt">“Every Layer CRS has an identifier that is a character string. Two types of Layer CRS identifiers are permitted:</span></span><br></p><p style="text-autospace:none"><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt">“label” and “URL” identifiers:</span></span><br></p><p style="text-autospace:none"><span style="font-family:"Cambria Math", serif"><span style="font-size:10pt">⎯</span></span><span style="font-family:SymbolMT"><span style="font-size:10pt"> </span></span><b><span style="font-family:Arial, sans-serif"><span style="font-size:10pt">Label</span></span></b><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt">: The identifier includes
a namespace prefix, a colon, a numeric or string code, and in some instances a comma followed by additional parameters. This International Standard defines three namespaces: CRS, EPSG and AUTO2, as discussed below.</span></span><br></p><p style="text-autospace:none"><span style="font-family:"Cambria Math", serif"><span style="font-size:10pt">⎯</span></span><span style="font-family:SymbolMT"><span style="font-size:10pt"> </span></span><b><span style="font-family:Arial, sans-serif"><span style="font-size:10pt">URL</span></span></b><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt">: The identifier is a fully-qualified
URL that references a publicly-accessible file containing a definition of the CRS that is compliant with ISO 19111.</span></span><br></p><p><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt"> </span></span><br></p><p><span style="font-family:ArialMT, sans-serif"><span style="font-size:10pt">-Jukka Rahkonen-</span></span><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt"></span></span></span><br></p><p><span data-darkreader-inline-color="" style="color: rgb(31, 73, 125); --darkreader-inline-color:#bbcfdd;"><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt"> </span></span></span><br></p><p><b><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt">Lähettäjä:</span></span></b><span style="font-family:Calibri, sans-serif"><span style="font-size:11pt"> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org] <b>Puolesta </b>Luís Moreira de Sousa<br> <b>Lähetetty:</b> 13. marraskuuta 2018 17:33<br> <b>Vastaanottaja:</b> Jean-Christophe Malapert <jcmalapert@gmail.com><br> <b>Kopio:</b> mapserver-users@lists.osgeo.org<br> <b>Aihe:</b> Re: [mapserver-users] Using a CRS not indexed by the IOGP</span></span></p><p> <br></p><div><p>Hi Jean-Christophe,<br></p></div><div><p> <br></p></div><div><p>to which OGC standard are you refereing to, regarding the namespaces CRS, EPSG and AUTO?<br></p></div><div><p> <br></p></div><div><div><div><p>Thank you.<br></p></div><div><p>--<br></p></div><div><p>Luís Moreira de Sousa<br></p></div><div><p>Email: <a href="mailto:luis.de.sousa@protonmail.ch">luis.de.sousa@protonmail.ch</a><br></p></div><div><p>RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c<br></p></div><div><p>URL: <a href="https://ldesousa.github.io">https://ldesousa.github.io</a><br></p></div></div><div><p> <br></p></div><div><p>Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></p></div></div><div><p> <br></p></div><div><p><span style="font-family:"Cambria Math", serif">‐‐‐‐‐‐‐</span> Original Message <span style="font-family:"Cambria Math", serif">‐‐‐‐‐‐‐</span><br></p></div><div><p>On Tuesday, November 13, 2018 10:37 AM, Jean-Christophe Malapert <<a href="mailto:jcmalapert@gmail.com">jcmalapert@gmail.com</a>> wrote:<br></p></div><div><p> <br></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><div><p>Hello,<br></p></div><div><p> <br></p></div><div><p>I got the same problem with Mars planet with IAU2000 namespace. I have modified the mapserver code to make it works (I have still a couple of tests to check everything is fine). <br></p></div><div><p> <br></p></div><div><p>However, CRS, EPSG and AUTO namespaces are defined by OGC. So, if you define a new one:<br></p></div><div><p>- 1/ I am not sure it is compatible with OGC standards<br></p></div><div><p>- 2/ I am not sure clients will understand this new namespace<br></p></div><div><p> <br></p></div><div><p>In my case, I have also written the client. <br></p></div></div><div><p> <br></p></div><div><p>If you are interested, I can share my current development about the mapserver code.<br></p></div><div><div><p> <br></p></div><div><p>Regards,<br></p></div></div><div><div><p>Jean-Christophe<br></p></div><div><p> <br></p></div><div><div><p>Le lun. 12 nov. 2018 à 17:38, Luís Moreira de Sousa <<a href="mailto:luis.de.sousa@protonmail.ch" target="_blank">luis.de.sousa@protonmail.ch</a>> a écrit :<br></p></div><blockquote data-darkreader-inline-border-left="" data-darkreader-inline-border-bottom="" data-darkreader-inline-border-right="" data-darkreader-inline-border-top="" style="border-top: none; border-right: none; border-bottom: none; border-image: initial; border-left: 1pt solid rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm; --darkreader-inline-border-left:#4e4c48; --darkreader-inline-border-top: initial; --darkreader-inline-border-right: initial; --darkreader-inline-border-bottom: initial;"><div><p>Dear all,<br></p></div><div><p> <br></p></div><div><p>I am developing a WMS with layers defined in a CRS that is not indexed by the IOGP. This CRS is defined within a specific PROJ namespace (e.g. init=namespace:001, just like others.extra or esri.extra) and is used correctly both by PROJ
and GDAL. However, if I add this namescape to the "wms_srs" parameter in the mapfile, any request will be met with the following error message:<br></p></div><div><p> <br></p></div><div><p>msWMSLoadGetMapParams(): WMS server error. Unsupported SRS namespace (only EPSG and AUTO currently supported).<br></p></div><div><p> <br></p></div><div><p>I find this strange, is it only possible to use the CRSs indexed by the IOGP? Is there any way to convince MapServer to accept any other namespaces available in the PROJ database?<br></p></div><div><p> <br></p></div><div><p>I am awere I may create a fake IOGP index, but this is likely to create a good deal of confusion among users. I would rather make it clear this is a specific CRS.<br></p></div><div><p> <br></p></div><div><p>Thank you.<br></p></div><div><div><div><p> <br></p></div><div><p>--<br></p></div><div><p>Luís Moreira de Sousa<br></p></div><div><p>Bowlespark 8<br></p></div><div><p>6701 DN Wageningen<br></p></div><div><p>The Netherlands<br></p></div><div><p>Phone: +31 628 544 755<br></p></div><div><p>Email: <a href="mailto:luis.de.sousa@protonmail.ch" target="_blank"> luis.de.sousa@protonmail.ch</a><br></p></div><div><p>RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c<br></p></div><div><p>URL: <a href="https://ldesousa.github.io" target="_blank">https://ldesousa.github.io</a><br></p></div></div><div><p> <br></p></div><div><p>Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></p></div></div><div><p> <br></p></div><div><p>_______________________________________________<br></p></div><div><p>mapserver-users mailing list<br></p></div><div><p><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br></p></div><div><p><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></p></div></blockquote></div></div></div></blockquote><div><p> <br></p></div></div></blockquote><div><br></div>