[Mapserver-users] Re: change parameters via URL

Jan Hartmann jhart at frw.uva.nl
Mon Mar 24 01:43:41 PST 2003


I'm not sure (I have not used WMS much), but I don't think you can mix 
WMS calls (map=...&request=... etc) with regular MapServer 
URL-parameters (map_layer_class=... etc). I vaguely rememember having 
tried once and not succeeded. Can anyone shed light on this?

Jan

John Hagstrand wrote:
> Hi Jan,
> 
> In a previous message you told me about the feature that allows me to
> change mapfile parameters on the URL.
> 
>  >On your second question: you can specify an expression dynamically in
>  >the calling URL:
>  >http://.../mapserv?map=my.map&layer=...&map_layer_0_class_0.expression="{...)"
>  >See the end of the MapFile reference for this very powerful mechanism.
> 
> I've been trying to do this, but I'm using the WMS version.
> 
> http://localhost/saveantioch/map/bin/mapserv.exe?map=c:\John\Interland\SaveAntioch\Production\Map\sa.map&map_devHilite_class_expression=([Id]eq2)&VERSION=1.1.0&REQUEST=GetMap&BBOX=1035257,2093349,1090581,2123975&LAYERS=,city,wetlands,water,hiways,roads,rail,streets,fpbound,statpark,parcels,dev&width=690&height=382 
> 
> 
> I realize this syntax is not standard WMS so I'm wondering if this will 
> be possible.  I really do need a way to dynamically select certain 
> polygons out of specified layers.
> 
> Can you help?
> Thanks
> John
> 
> 
> -------------------------------------------------
> John Hagstrand
> Interage Research, Inc.
> 847 838 5371
> Software Development Consulting for Internet Content Management
> We make knowledge accessible, useful, and relevant for everyone.
> http://www.interageresearch.com
> 
> 
> 




More information about the MapServer-users mailing list