Substitution strings

Lawrence Hartpence hartpence_gis at CO.JASPER.IA.US
Wed Mar 15 10:18:15 EST 2006


Hello,  It's me again.

I have a layer which after I perform an ItemQuery, it will zoom 
to the selected polygon, but the substitution string won't 
work.  The following URL should display which Section, 
Township, and Range is selected as well as display an image of 
the selected area, but it doesn't. 
http://gismap/JasperMaps/cgi-bin/mapserv.exe?&program=%2FJasperM
aps%2Fcgi-bin%2Fmapserv.exe&map=C%3A%5CMS4W%5CMapFiles%5CLandCor
ner.map&zoomsize=2&layers=ortho+Monuments+LandCorners+Water+High
ways+Roads+County+Sections+Quarter+Towns+Township&mode=ItemQuery
&mapext=shapes&slayer=Sections&imgxy=320+240&imgext=1680507.39+5
47052.00+1844030.00+680312.51&mapshape=&imgshape=&imgbox=&qstrin
g=('[SECTION_]'='27'%20AND%20'[TWP]'='80'%20AND%20'[RNG]'='19')&
qlayer=Sections&qitem=&shapeindex=&savequery=

If this link doesn't work, here is the webpage: 
http://216.203.113.94/JasperMaps/LandCorner/GoLandCorner.html

Here is an excerpt from my mapfile:

LAYER
 NAME 'Sections'
 TEMPLATE 'C:\MS4W\Apache\htdocs\LandCorner\Sections_query.html'
 DATA 'C:\Parcels_shape\sectr_poly'
 STATUS on
 TYPE Polygon
 MINSCALE 15000
 TRANSPARENCY 100
 TOLERANCE 7
 TOLERANCEUNITS pixels
 
 #METADATA
 # WMS_SRS  'epsg:HTML'
 # WMS_TITLE 'WMSTitel'
 # WMS_FEATURE_INFO_MIME_TYPE 'text/html'
 #END #METADATA
 
 #PROJECTION
 # 'init=epsg:HTML'
 #END
 
# LABELITEM 'section_'
 #CLASSITEM 'OBJECTID'
 
 CLASS
  NAME 'Section Lines'
  #EXPRESSION /./
 
  STYLE
   #COLOR 255 255 255
   OUTLINECOLOR 127 127 127
   SIZE 2
  END #STYLE
  LABEL
   TYPE TRUETYPE
   SIZE 10
   FONT Arial 
   COLOR 127 127 127
   POSITION CC
   BACKGROUNDCOLOR 245 254 141
   ANGLE 0
   OFFSET 0 0
  END #LABEL
 END #CLASS
 
END #LAYER

Any help would be greatly appreciated.

Lawrence Hartpence
GIS Coordinator
101 1st St N
Newton IA 50208
641-792-3084
hartpence_gis at co.jasper.ia.us 



More information about the mapserver-users mailing list