[Mapserver-users] change parameters via URL

John Hagstrand john.hagstrand at interageresearch.com
Sun Mar 23 11:01:09 EST 2003


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