thx Jukka and Even, I resolvelocally the issue modifyning manually the mapaxisorder.csv and regenerating the mapaxisorder.h using the mapaxisorder.sh.
Now the url with 6707 of our server return correctly the coords with inverted axes. A. 2015-09-20 18:39 GMT+02:00 Even Rouault <[email protected]>: > 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=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .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=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .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) >> >> <[email protected]>: >> > 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&REQUEST=g >> > etfeature&TYPENAME=continents&MAXFEATURES=100 >> > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=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 >> > [email protected] >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
