Hey all,<br><br>I am having a problem using identify tool on a postgis layer, pliz help me identify where the problem is either on my mapfile or the identify.html as shown below:<br><br>mapfile;<br>MAP<br> NAME 'wrms'<br>
SIZE 800 650<br> STATUS ON<br> EXTENT 29.296125 -4.954080 46.541409 5.741946<br><br> UNITS METERS<br><br><br> INCLUDE "../../geomoose_globals.map"<br><br> WEB<br> METADATA<br> <br>
'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:3857'<br> 'ows_enable_request' '*'<br> 'ows_onlineresource' '<a href="http://www.geomoose.org">http://www.geomoose.org</a>'<br>
<br> END<br> END<br><br> PROJECTION<br> 'init=epsg:4326'<br> END<br><br> LEGEND<br> STATUS ON<br> LABEL<br> TYPE TRUETYPE<br> FONT vera_sans<br>
SIZE 8<br> COLOR 0 0 0<br> END <br> END <br> <br> <br> LAYER<br> NAME county<br> CONNECTIONTYPE postgis<br> CONNECTION "dbname=wrma_new host=localhost port=5432 user=postgres password=mogima12"<br>
DATA 'the_geom FROM county'<br> STATUS on<br> TYPE POLYGON<br> LABELITEM 'CountyName'<br> LABELMAXSCALE 6000000<br> <br><br> CLASS<br> NAME 'county' <br>
STYLE<br> WIDTH 0.5 <br> OUTLINECOLOR 0 0 0<br> END<br> LABEL<br> TYPE TRUETYPE<br> FONT vera_sans<br> SIZE 5<br> ANTIALIAS TRUE<br>
COLOR 0 0 0<br> OUTLINECOLOR 254 254 200<br> BUFFER 1<br> MINFEATURESIZE auto<br> PARTIALS FALSE<br> POSITION cc<br> END <br>
<br> <br> END<br><br><br><br> METADATA<br> 'ows_title' 'county'<br> # drill-down identify service record.<br> 'identify_record' 'templates/identify.html'<br>
<br> <br><br> <br><br> END<br> TOLERANCE 0<br> END<br>........<br><br>for the identify.html:<br><!-- MapServer Template --><br><tr bgcolor="#DEE5EB"><td colspan="2"><b><u>county</u></b></tr><br>
<tr><br><td align="right"><b>CountyName:</b></td><br><td>[CountyName]</td><br></tr><br><tr><br><td align="right"><b>BasinName:</b></td><br>
<td>[BasinName]</td><br></tr><tr><br><td> </td><br><td> </td><br></tr><br>