[Geomoose-users] Configure Identify Tool-i have changed the code
Sameera Jayanetti
pushpikasj at gmail.com
Mon Sep 26 02:40:51 EDT 2011
Dear Dan
i have changed the code (gnd3.map, identify_gnd3.html, gnd.shp) these files
are in same directory but it not work for me yet please help me
*Step to Configuring the Identify Service/Tool
1. Defining Identify Service & Map File*
<service name="identify" title="Identify" display="false">
<url>php/identify.php</url>
<step type="spatial" name="shape" line="false"
polygon="false" jump-start="true" default="point">
<input type="visiblelayers" name="layers"
value="gnd3/gnd3" />
</step>
</service>
<map-source name="gnd3" type="wms" projection="EPSG:4326" reference="true">
<url>/cgi-bin/mapserv.exe</url>
<layer name="gnd3"/>
<layer name="dsd"/>
<layer name="district"/>
</map-source>
*2. Define Identify Tool*
<tool name="identify" title="Identify" type="service" service="identify"
cursor="url('cursors/identify2.cur') 9 9,url('cursors/identify2.cur'),auto"
/>
*3. Add a Metadata object to the “GND3” layer*
MAP
NAME 'gnd3'
SIZE 800 650
STATUS ON
EXTENT 8849021.239557 648364.343680 9094409.464538 1081473.941796
UNITS METERS
INCLUDE "../../geomoose_globals.map"
WEB
METADATA
'ows_title' 'GND Maps'
'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913'
END
END
PROJECTION
'init=epsg:4326'
END
LEGEND
STATUS ON
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 0 0
END
END
LAYER
NAME gnd3
DATA './gnd.shp'
STATUS ON
TYPE POLYGON
#MAXSCALE 100000
#MINSCALE 1000
CLASS
STYLE
SYMBOL 'plainline'
SIZE 1
COLOR -1 -1 -1
OUTLINECOLOR 250 0 0
END
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
ANTIALIAS TRUE
COLOR 0 0 0
OUTLINECOLOR 254 254 254
BUFFER 4
MINFEATURESIZE auto
PARTIALS FALSE
POSITION cc
END
END
METADATA
'identify_record' 'identify_gnd3.html'
END
TOLERANCE 5
END
LAYER
NAME dsd
DATA './dsd.shp'
STATUS ON
TYPE POLYGON
#MAXSCALE 100000
#MINSCALE 1000
CLASS
STYLE
SYMBOL 'plainline'
SIZE 1
COLOR -1 -1 -1
OUTLINECOLOR 11 243 27
END
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
ANTIALIAS TRUE
COLOR 0 0 0
OUTLINECOLOR 254 254 254
BUFFER 4
MINFEATURESIZE auto
PARTIALS FALSE
POSITION cc
END
END
METADATA
'identify_record' 'identify_gnd3.html'
END
TOLERANCE 5
END ## End layer dsd
LAYER
NAME district
DATA './district.shp'
STATUS ON
TYPE POLYGON
#MAXSCALE 100000
#MINSCALE 1000
CLASS
STYLE
SYMBOL 'plainline'
SIZE 1
COLOR -1 -1 -1
OUTLINECOLOR 207 11 243
END
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
ANTIALIAS TRUE
COLOR 0 0 0
OUTLINECOLOR 254 254 254
BUFFER 4
MINFEATURESIZE auto
PARTIALS FALSE
POSITION cc
END
END
METADATA
'identify_record' 'identify_gnd3.html'
END
TOLERANCE 5
END ## End layer dsd
END ## end Map
*Create the quarry template file *
<tr bgcolor="#DEE5EB"><td colspan="2">*<u>gnd3</u>*</tr>
<tr>
<td align="right">*DSD_NAME:*</td>
<td>[DSD_NAME]</td>
</tr>
<tr>
<td align="right">*DSD_ID:*</td>
<td>[DSD_ID]</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
--
View this message in context: http://geomoose-users.964460.n3.nabble.com/Geomoose-users-Configure-Identify-and-query-tp2725261p3368400.html
Sent from the Geomoose-users mailing list archive at Nabble.com.
More information about the Geomoose-users
mailing list