I believe that in CGI mode, you can only have one output projection, so your 
approach won't work.

You can support multiple SRS/projection in WMS mode.  To do this, you put 
multiple SRS codes in the wms_srs metadata for a layer.

You might be able to change the map projection on the fly by changing the 
parameters via the URL, I assume that you would also need to change the extent 
values to match the projection. (I can't verify that map.projection is 
something that you can change via URL).

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of John Mitchell
Sent: Friday, January 21, 2011 3:13 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] capability to reproject to 2 different projections 
within the map object of the map file

If I want all the layers within a map file no matter the layers own projection 
to have the capability to reproject to 2 different projections would I within 
the map object of the map file replace:
 PROJECTION
  "init=epsg:4326"
 END

With:
 PROJECTION
  "init=epsg:4326"
  "init=epsg:102113"
  END

Thanks,

John
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to