[Mapserver-users] Re: Handling Multiple projections in a single map file

Paul Ramsey pramsey at refractions.net
Wed Jul 23 18:41:46 EDT 2003


(a) ask questions using the mapserver-users list, your odds of being 
ignored are lower that way
(b) Use a "GROUP" to simulate a single layer:

MAP
   PROJECTION
      ... master projection ...
   END
   LAYER
     GROUP images
     NAME images-utm8
     PROJECTION
        ... utm8 ...
     END
     ...
   END
   LAYER
     GROUP images
     NAME images-utm9
     PROJECTION
        ... utm9 ...
     END
     ...
   END
END


Ganesh P wrote:

> Hi Mr.Paul,
> 
> 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 there is something with which you can help me regarding this problem, 
> it would be very grateful.
> 
> If possible, Can you 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.
> 
> Sorry for the inconvenience  & 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
> 
> 


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the mapserver-users mailing list