add catalog wms : The map coordinate system is not supported by this service

342 views
Skip to first unread message

Karsten Vennemann

unread,
Jan 25, 2021, 7:25:30 PM1/25/21
to mapstore-users
I am learning how to use the configuration of MapStor and was trying to add a WMS layer (WMS is based on MapServer) for testing purposes. I have successfully added the WMS entry in the catalog tab, but when adding one of the layers in the WMS  to the MapStore map I keep getting this error: "The map coordinate system is not supported by this service".
I assumed that I potentially had to either

1.) add to all the map projection (EPSG codes) into the MapStore crs selector (in localConfig.json ) or

2.) remove all additional EPSG codes from the WMS service (except for 3857 and 4326) to make it work for a test map.

Neither option worked so far, I kept getting the same error as above for both options.
My WMS has now only 2 EPSG codes left "epsg:3857 epsg:4326" left (the ones that the map config has by default.
What can I do to resolve this issue?

My WMS is here http://cmein.terragis.net/cgi-bin/mapserv?map=/var/mapdata/countmein/countmein_test.map&&SERVICE=WMS&VERSION=1.3.0

Karsten Vennemann

unread,
Jan 25, 2021, 7:32:12 PM1/25/21
to mapstore-users

Karsten Vennemann

unread,
Feb 1, 2021, 6:51:37 PM2/1/21
to mapstore-users
I still could not find out what the problem of using my WMS (see above) with MapStore is as I can use it in plain Openlayers, MapBender and also QGIS. Has anybody and idea why MapStore throws the error message " add catalog wms : The map coordinate system is not supported by this service" ?

Mauro Bartolomeoli

unread,
Feb 2, 2021, 2:40:16 AM2/2/21
to mapstor...@googlegroups.com
Good morning Karsten,

Il giorno mar 2 feb 2021 alle ore 00:51 Karsten Vennemann <kar...@terragis.net> ha scritto:
I still could not find out what the problem of using my WMS (see above) with MapStore is as I can use it in plain Openlayers, MapBender and also QGIS. Has anybody and idea why MapStore throws the error message " add catalog wms : The map coordinate system is not supported by this service" ?

Unfortunately there is a bug in MapStore that impacts the wms you are using. The problem is that the specific WMS is advertising the supported coordinate systems with a lower case syntax (epsg:3857, epsg:4326) while in MapStore we only accept uppercase ones (EPSG:3857). This is why you get that message.

I have opened an issue (https://github.com/geosolutions-it/MapStore2/issues/6502) to track this bug. The solution should be trivial, so I believe it could be fixed soon.

Sorry for the inconvenience.
 
--

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy

mobile: +39 393 904 1756
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

karsten

unread,
Feb 2, 2021, 12:21:43 PM2/2/21
to mapstor...@googlegroups.com
Hi Mauro,
 
good to know I was puzzled about this.  
It will be great if this will be fixed,
for my case and the time being I can just change the WMS epsg tag to EPSG because I am the publisher ;)
 
Cheers
Karsten


From: mapstor...@googlegroups.com [mailto:mapstor...@googlegroups.com] On Behalf Of Mauro Bartolomeoli
Sent: Monday, February 01, 2021 23:40
To: mapstor...@googlegroups.com
Subject: Re: [mapstore-users] Re: add catalog wms : The map coordinate system is not supported by this service

--
You received this message because you are subscribed to a topic in the Google Groups "mapstore-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-users/e2a-aAUHkIg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/CAMyxr65QAjMmr_RiWVW8Q4Q%3DsWoLEqR%3D9a%2BH14o4GX_wf791fg%40mail.gmail.com.

Karsten Vennemann

unread,
Feb 2, 2021, 7:30:32 PM2/2/21
to mapstore-users
yes, indeed that worked well. I just wanted to confirm for anyone having this problem now or in the near future that I was able to get it to work with my MapServer based WMS service by simply replacing all occurrences of epsg by EPSG in the map file. Also, the Getfeatureinfo WMS request worked perfectly after setting the format in MapStore GUI for the layer to html.

Mauro Bartolomeoli

unread,
Feb 3, 2021, 1:31:34 AM2/3/21
to mapstor...@googlegroups.com
Good to know.
Thanks Karsten.

Mauro


You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/441829e1-72a2-40a7-8da0-9ca8933cde8an%40googlegroups.com.

Francesco Bartoli

unread,
May 3, 2021, 5:09:21 PM5/3/21
to mapstor...@googlegroups.com
Hi Mauro,

I see that the issue has been closed, that’s great!
I’m testing the Italian cadastral service with their WMS endpoint https://wms.cartografia.agenziaentrate.gov.it/inspire/wms/ows01.php in a fresh installation of MapStore and getting the same result. Apparently the GetCapabilities request is returning the coordinate systems in uppercase form. Do you have any clue?

Thanks,
Francesco

Mauro Bartolomeoli

unread,
May 4, 2021, 2:24:27 AM5/4/21
to mapstor...@googlegroups.com
Good morning Francesco,
I had a quick look at the WMS you mentioned.
Unfortunately these are the SRS exposed by the service:

  1. <CRS>EPSG:6706</CRS>
  2. <CRS>EPSG:4258</CRS>
  3. <CRS>EPSG:3044</CRS>
  4. <CRS>EPSG:3045</CRS>
  5. <CRS>EPSG:3046</CRS>
  6. <CRS>EPSG:25832</CRS>
  7. <CRS>EPSG:25833</CRS>
  8. <CRS>EPSG:25834</CRS>

As you can see  EPSG:3857 (or EPSG:900913) are missing, so the default coordinate system of MapStore maps does not match the ones offered by the service.
Eventually you can try configuring MapStore to use one of those coordinate systems, adding its definition in the localConfig.json projectionDefs section  (https://mapstore.readthedocs.io/en/latest/developer-guide/local-config/#projectiondefs-configuration) and configuring the default map (in new.json) to use it.

Mauro


Francesco Bartoli

unread,
May 4, 2021, 2:25:27 PM5/4/21
to mapstor...@googlegroups.com
Many thanks Mauro!

Ciao,
Francesco
Il 4 mag 2021, 08:24 +0200, Mauro Bartolomeoli <mauro.bar...@geo-solutions.it>, ha scritto:
Good morning Francesco,
I had a quick look at the WMS you mentioned.
Unfortunately these are the SRS exposed by the service:

 1. <CRS 2. > 3. EPSG:6706 4. </CRS 5. > 6. <CRS 7. > 8. EPSG:4258 9. </CRS 10. > 11. <CRS 12. > 13. EPSG:3044 14. </CRS 15. > 16. <CRS 17. > 18. EPSG:3045 19. </CRS 20. > 21. <CRS 22. > 23. EPSG:3046 24. </CRS 25. > 26. <CRS 27. > 28. EPSG:25832 29. </CRS 30. > 31. <CRS 32. > 33. EPSG:25833 34. </CRS 35. > 36. <CRS 37. > 38. EPSG:25834 39. </CRS 40. >
As you can see  EPSG:3857 (or EPSG:900913) are missing, so the default coordinate system of MapStore maps does not match the ones offered by the service.Eventually you can try configuring MapStore to use one of those coordinate systems, adding its definition in the localConfig.json projectionDefs section  (https://mapstore.readthedocs.io/en/latest/developer-guide/local-config/#projectiondefs-configuration) and configuring the default map (in new.json) to use it.

Mauro

Il giorno lun 3 mag 2021 alle ore 23:09 Francesco Bartoli <xbart...@gmail.com> ha scritto:
Hi Mauro,

I see that the issue has been closed, that’s great!
I’m testing the Italian cadastral service with their WMS endpoint https://wms.cartografia.agenziaentrate.gov.it/inspire/wms/ows01.php in a fresh installation of MapStore and getting the same result. Apparently the GetCapabilities request is returning the coordinate systems in uppercase form. Do you have any clue?

Thanks,
Francesco
Il 3 feb 2021, 07:31 +0100, Mauro Bartolomeoli <mauro.bar...@geo-solutions.it>, ha scritto:
Good to know.
Thanks Karsten.

Mauro


Il giorno mer 3 feb 2021 alle ore 01:30 Karsten Vennemann <kar...@terragis.net> ha scritto:
yes, indeed that worked well. I just wanted to confirm for anyone having this problem now or in the near future that I was able to get it to work with my MapServer based WMS service by simply replacing all occurrences of epsg by EPSG in the map file. Also, the Getfeatureinfo WMS request worked perfectly after setting the format in MapStore GUI for the layer to html.

On Tuesday, February 2, 2021 at 9:21:43 AM UTC-8 Karsten Vennemann wrote:
Hi Mauro, 
good to know I was puzzled about this.  It will be great if this will be fixed,for my case and the time being I can just change the WMS epsg tag to EPSG because I am the publisher ;) 
CheersKarsten

From: mapstor...@googlegroups.com [mailto:mapstor...@googlegroups.comOn Behalf Of Mauro BartolomeoliSent: Monday, February 01, 2021 23:40To: mapstor...@googlegroups.comSubject: Re: [mapstore-users] Re: add catalog wms : The map coordinate system is not supported by this service

Good morning Karsten,

Il giorno mar 2 feb 2021 alle ore 00:51 Karsten Vennemann <kar...@terragis.net> ha scritto:
I still could not find out what the problem of using my WMS (see above) with MapStore is as I can use it in plain Openlayers, MapBender and also QGIS. Has anybody and idea why MapStore throws the error message " add catalog wms : The map coordinate system is not supported by this service" ?

Unfortunately there is a bug in MapStore that impacts the wms you are using. The problem is that the specific WMS is advertising the supported coordinate systems with a lower case syntax (epsg:3857, epsg:4326) while in MapStore we only accept uppercase ones (EPSG:3857). This is why you get that message.

I have opened an issue (https://github.com/geosolutions-it/MapStore2/issues/6502) to track this bug. The solution should be trivial, so I believe it could be fixed soon.

Sorry for the inconvenience.
 
--
Regards,Mauro Bartolomeoli==GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.==

Dott. Mauro Bartolomeoli@mauro_bartTechnical Lead
GeoSolutions S.A.S.Via di Montramito 3/A55054  Massarosa (LU)Italymobile: +39 393 904 1756phone: +39 0584 962313fax:      +39 0584 1660272
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.--
You received this message because you are subscribed to a topic in the Google Groups "mapstore-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-users/e2a-aAUHkIg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/CAMyxr65QAjMmr_RiWVW8Q4Q%3DsWoLEqR%3D9a%2BH14o4GX_wf791fg%40mail.gmail.com.
 --
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/441829e1-72a2-40a7-8da0-9ca8933cde8an%40googlegroups.com.


--
Regards,Mauro Bartolomeoli==GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.==

Dott. Mauro Bartolomeoli@mauro_bartTechnical Lead
GeoSolutions S.A.S.Via di Montramito 3/A55054  Massarosa (LU)Italymobile: +39 393 904 1756phone: +39 0584 962313fax:      +39 0584 1660272
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. --
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/CAMyxr67jEsvURhQtzciR08J6gs73bK7n1kAFDsE1XTqkT39z2A%40mail.gmail.com.
 --
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/03476b00-5a12-4fed-8101-70544867d9fb%40Spark.


--
Regards,Mauro Bartolomeoli==GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.==

Dott. Mauro Bartolomeoli@mauro_bartTechnical Lead
GeoSolutions S.A.S.Via di Montramito 3/A55054  Massarosa (LU)Italymobile: +39 393 904 1756phone: +39 0584 962313fax:      +39 0584 1660272
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. --
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages