[mapserver-users] extent modification in templates

Jim.Haug at state.sd.us Jim.Haug at state.sd.us
Thu Mar 19 17:00:43 EDT 2009


The manual indicates that it's possible to modify the attributes of an
extent in a query, e.g. [shpext expand=1000] to produce a 1000-meter
buffer around the query target. This isn't working for me. My template
includes the following:

<img
src="http://hawken/cgi-bin/mapserv?mode=itemquerymap&map=/gisdata/sd/sd_
x.map&qlayer=sites&qitem=site_no&qstring=/[SITE_NO]/i&layer=sites&mapext
=[shpext expand=1000]">

That fails, but this works:

<img
src="http://hawken/cgi-bin/mapserv?mode=itemquerymap&map=/gisdata/sd/sd_
x.map&qlayer=sites&qitem=site_no&qstring=/[SITE_NO]/i&layer=sites&mapext
=[shpext]">

Anybody have an idea what's wrong? The Mapserver manual gives this very
example for modifying [shpext].

Thanks
-Jim Haug


More information about the mapserver-users mailing list