Try to adjust projection parameters via CGI

Steve Lime Steve.Lime at DNR.STATE.MN.US
Fri Jun 29 15:13:54 EDT 2007


You can change projections using the map_... syntax. I believe simply
setting map_projection=new projection string in a url will suffice.

Steve

>>> On 6/28/2007 at 1:08 PM, in message
<4AAF5153-6BED-4288-B381-4EF5F66741BA at grnoc.iu.edu>, "Edward G. Balas"
<ebalas at GRNOC.IU.EDU> wrote:
> Hey all,
> 
> Ive been dorking with mapserver for a while now and cant seem to  
> figure out how to do something which
> on the surface would seem to be a common task.
> 
> Within my map, I would like keep lon_0 centered between MINX and MAXX  
> of my extent.
> The objective is keep the projection centered on what the user is  
> looking at while also allowing the
> user to change their extent via the CGI interface.
> 
> I explored using variable substitution but it would appear as if this  
> is not supported in the PROJECTION
> stanza.
> 
> 
> Any thoughts on how this might best be accomplished?
> 
> 
> ---
> Edward G. Balas
> ebalas at grnoc.iu.edu



More information about the mapserver-users mailing list