[mapserver-dev] EPSG conversion on the fly for vector data

tmkantol tmkantol at gmail.com
Thu Mar 8 07:16:47 EST 2012


I have a shape file containin point objects in EPSG:2393

It is the data source of a WFS layer defined in a map file. I want to make a
GetFeature request that would convert the coordinates on the fly to
EPSG:3067

I give SRS=EPSG:3067 as a parameter in my request.

The map file includes map level METADATA definition "wfs_srs" "epsg:3067"
and PROJECTION  definition "init=epsg:3067"

The output is
<gml:Envelope srsName="EPSG:3067">
	<gml:lowerCorner>3100000.000000 7300000.00000	</gml:lowerCorner>
	<gml:upperCorner>3100000.000000 7300000.000000	</gml:upperCorner>
</gml:Envelope>

The problem is that the points are still in the original EPSG:2393 system!

Why? How do get them converted to EPSG:3067 on th fly?




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/EPSG-conversion-on-the-fly-for-vector-data-tp4558129p4558129.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.


More information about the mapserver-dev mailing list