[mapserver-users] Using a SRS with inverted axes.

Even Rouault even.rouault at spatialys.com
Wed Sep 23 12:02:20 PDT 2015


Le dimanche 20 septembre 2015 19:09:15, Andrea Peri a écrit :
> Raise ticket on mapserver issue system.
> 
> https://github.com/mapserver/mapserver/issues/5168

For the record, I've updated mapaxisorder.csv with EPSG v8.6 (the one I had 
available on my PC, not the latest I know).

> 
> Thx.
> 
> 2015-09-20 18:39 GMT+02:00 Even Rouault <even.rouault at spatialys.com>:
> > Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a écrit :
> >> Hi Jukka,
> >> 
> >> I can show this two samples from an mapserver where I update just
> >> yesterday the new proj 4.9.2 and so it support the latest epsg db:
> >> 
> >> 1)
> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa
> >> mba
> >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco
> >> muni .rt.poly&srsName=EPSG:6707&MAXFEATURES=100
> >> 
> >> The epsg:6707 is a epsg code with axes north, east as reported from
> >> http://www.epsg-registry.org/
> >> 
> >> Instead the mapserver return 565347.495390 4910630.530024 (east , north)
> >> 
> >> 2)
> >> Using the same crequest I try instead the epsg:25832 that is an epsg
> >> code with axes (east, north)
> >> 
> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa
> >> mba
> >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco
> >> muni .rt.poly&srsName=EPSG:25832&MAXFEATURES=100
> >> 
> >> it return still return the sames 565347.495390 4910630.530024 (east,
> >> north)
> >> 
> >> 
> >> Please note both epsg:6707 and epsg:25832 are projected, instead
> >> epsg:4326 is a geograhic system.
> >> Perhaps mapserver invert only on geographics ?
> > 
> > No it has a resource file mapaxisorder.csv with the list of EPSG codes
> > where axis order must be inverted and it seems it isn't up to date. Can
> > you raise a ticket about that ?
> > Not sure how the CSV file was generated initially, but a script using the
> > GDAL OSR API could do it.
> > 
> >> Thx,
> >> 
> >> A.
> >> 
> >> 
> >> 
> >> 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML)
> >> 
> >> <jukka.rahkonen at maanmittauslaitos.fi>:
> >> > Hi,
> >> > 
> >> > You must give an exact example where it fails for you. WMS 1.3.0 with
> >> > EPSG:4326 is using inverted axis and work with Mapserver, and you can
> >> > see inverted axes also in the GML that comes as a response from WFS
> >> > 1.1.0
> >> > 
> >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUES
> >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100
> >> > 
> >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUES
> >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100
> >> > 
> >> > -Jukka Rahkonen-
> >> > 
> >> > ________________________________________
> >> > Andrea Peri wrote:
> >> > 
> >> > Hi,
> >> > 
> >> > I see the mapserv don't seem able to invert the axes when the invoked
> >> > srs define the inverted.
> >> > 
> >> > Is confirmed this ?
> >> > 
> >> > 
> >> > Thx,
> >> > 
> >> > --
> >> > -----------------
> >> > Andrea Peri
> >> > . . . . . . . . .
> >> > qwerty àèìòù
> >> > -----------------
> >> > _______________________________________________
> >> > mapserver-users mailing list
> >> > mapserver-users at lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the mapserver-users mailing list