NQuery
Lawrence Hartpence
hartpence_gis at CO.JASPER.IA.US
Mon Jun 18 10:46:04 PDT 2007
I received only one reply to my post which suggested I send my layer
definition and template file. Below are excerpts from my map file. Template
files are attached.
Here are teh parameters for teh first layer I query (Sections):
LAYER
NAME 'Sections'
TEMPLATE 'C:\MS4W\Apache\htdocs\Engineer\Sections_query.html'
DATA 'C:\Parcels_shape\sectr_poly'
STATUS on
TYPE Polygon
MINSCALE 6000
TRANSPARENCY 0
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 'AREANUM'
CLASS
NAME 'Section Lines'
EXPRESSION /./
STYLE
# COLOR 255 255 255
OUTLINECOLOR 0 0 0
WIDTH 1.2
END #STYLE
LABEL
TYPE TRUETYPE
SIZE 11
FONT Arial
COLOR 127 0 0
POSITION CC
# OUTLINECOLOR 0 0 0
ANGLE 0
OFFSET 0 0
END #LABEL
END #CLASS
END #LAYER
Here are the parameters for the second query layer (Landcorners)
LAYER
NAME 'LandCorners'
HEADER 'C:\ms4w\Apache\htdocs\Engineer\LCHead.html'
TEMPLATE 'C:\MS4W\Apache\htdocs\Engineer\LandCor.html'
DATA 'C:\Parcels_shape\CornersDB'
STATUS on
TYPE Point
MAXSCALE 125000
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
CLASSITEM 'SECTION_'
CLASS
NAME 'landcorner'
EXPRESSION /./
STYLE
SYMBOL 'esri_1135'
SIZE 10
COLOR 0 0 0
OUTLINECOLOR -1 -1 -1
END #STYLE
END #CLASS
END #LAYER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070618/9035db28/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070618/9035db28/attachment-0001.html>
More information about the MapServer-users
mailing list