[mapserver-dev] how to configure coordinate order in WFS 1.1 Layer

Jachym Cepicky jachym.cepicky at gmail.com
Fri Feb 24 06:39:54 EST 2012


Hi,

I've configured MapFile with one WFS 1.1 layer (so MapServer is WFS
client) and try to download the data. The server response is in WGS84
(EPSG:4326).

MapServer asks for the data using "urn:ogc:EPSG::4326" format. AFAIK
that implies, the response should be expected with DIFFERENT COORDINATE
ORDER (simply said: "y,x" instead of "x,y").

With OGR, user can identify the coordinate order using

GML_INVERT_AXIS_ORDER_IF_LAT_LONG YES and GML_CONSIDER_EPSG_AS_URN YES

options.

Is there a way, how to add those options to mapfile?

I was also considering using +axis parameter to projection, but that
does not seem to be used.

Jachym

P.S. GDAL-DEV thread:
http://lists.osgeo.org/pipermail/gdal-dev/2012-February/thread.html#31766

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120224/cd1de1e6/signature.bin


More information about the mapserver-dev mailing list