Hi,

I guess the WMS 1.3.0 standard, page 15:

“Every Layer CRS has an identifier that is a character string. Two types of 
Layer CRS identifiers are permitted:
“label” and “URL” identifiers:
⎯ Label: 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.
⎯ URL: 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.

-Jukka Rahkonen-

Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Luí­s Moreira de Sousa
Lähetetty: 13. marraskuuta 2018 17:33
Vastaanottaja: Jean-Christophe Malapert <jcmalap...@gmail.com>
Kopio: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Using a CRS not indexed by the IOGP

Hi Jean-Christophe,

to which OGC standard are you refereing to, regarding the namespaces CRS, EPSG 
and AUTO?

Thank you.
--
Luís Moreira de Sousa
Email: luis.de.so...@protonmail.ch<mailto:luis.de.so...@protonmail.ch>
RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c
URL: https://ldesousa.github.io

Sent with ProtonMail<https://protonmail.com> Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, November 13, 2018 10:37 AM, Jean-Christophe Malapert 
<jcmalap...@gmail.com<mailto:jcmalap...@gmail.com>> wrote:

Hello,

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).

However, CRS, EPSG and AUTO namespaces are defined by OGC. So, if you define a 
new one:
- 1/ I am not sure it is compatible with OGC standards
- 2/ I am not sure clients will understand this new namespace

In my case, I have also written the client.

If you are interested, I can share my current development about the mapserver 
code.

Regards,
Jean-Christophe

Le lun. 12 nov. 2018 à 17:38, Luí­s Moreira de Sousa 
<luis.de.so...@protonmail.ch<mailto:luis.de.so...@protonmail.ch>> a écrit :
Dear all,

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:

msWMSLoadGetMapParams(): WMS server error. Unsupported SRS namespace (only EPSG 
and AUTO currently supported).

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?

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.

Thank you.

--
Luís Moreira de Sousa
Bowlespark 8
6701 DN Wageningen
The Netherlands
Phone: +31 628 544 755
Email: luis.de.so...@protonmail.ch<mailto:luis.de.so...@protonmail.ch>
RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c
URL: https://ldesousa.github.io

Sent with ProtonMail<https://protonmail.com> Secure Email.

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to