[Mapserver-users] Reference image and extent syntax for on-the-fly configuration

Marcelle Caturia catu0004 at umn.edu
Mon Apr 12 23:23:58 EDT 2004


What is the syntax for on-the-fly configuration of the reference image and
reference extent?  I'd like to specify the reference image name and extent
using a point-in-polygon query URL, and have unsucessfully tried using the
following code...

LAYER # start of zoom to watersheds layer
  NAME zoom_to_wshd
  TYPE polygon
  STATUS default
  DATA zoom_to_wshd.shp
  CLASS
    COLOR 90 0 80
    OUTLINECOLOR 90 0 80
    SYMBOL 7
    TEMPLATE
"http://[host]/cgi-bin/mapserv36?map=/data/projects/minnesota/View2/View2.m
ap&title=[EPANAME]&layer=majwshd&map_shapepath=/data/projects/minnesotadata/
View2_final/[ABBREV]&mapext=[minx_left]+[miny_btm]+[maxx_right]+[maxy_top]&i
mgext=[minx_left]+[miny_btm]+[maxx_right]+[maxy_top]&entirewshd=[minx_left]+
[miny_btm]+[maxx_right]+[maxy_top]&map_reference_image=/data/projects/minnes
ota/graphics/ref_maps/[ref_name]&map_reference_extent=[minx_left]+[miny_btm]
+[maxx_right]+[maxy_top]"
  END
END # end of zoom to watersheds layer

Any suggestions would be much appreciated.

Thanks,

Marcelle Caturia
Graduate Research Specialist
Environmental Resources Spatial Analysis Center
University of Minnesota
catu0004 at umn.edu




More information about the mapserver-users mailing list