[Mapserver-users] handling multiple projections with single map file

Jan Hartmann jhart at frw.uva.nl
Thu Jul 31 03:48:49 PDT 2003


You can use the CGI variable map_projection to set the projection 
dynamically from the URL or form. E.g.

http://host.server.com/cgi-bin/mapserv?map=my.map&map_projection=proj=sinu,ellps=clrk66


You *have* to specify an ellips

Jan


Ganesh P wrote:
> Hi all,
> 
> We are working on MapServer version 3.6 and have a problem with handling 
> different projections for different images.
> we have images covering various UTM zones from 11 till 17 and others 
> too. So presently, for every new projection we create a separate map 
> file and depending on the type of image projection, we use the 
> corresponding map file with CGI(PHP).
> 
> My concern is Can we have a single map file wherein we shall define all 
> the projections and use either one from our script dynamically ?
> 
> If possible, Can someone please send me a sample map file with different 
> projections, and also some script as to how to use/call the 
> corresponding projections on fly from our script.
> 
> Thanks in advance
> 
> Regards
> 
> Ganesh Pulicherla
> 
> ___________________________________________________
> Download the hottest & happening ringtones here!
> OR SMS: Top tone to 7333
> Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 




More information about the MapServer-users mailing list