[Geomoose-users] Identify Service Issue

Johnson, Jeremy JJohnson at ci.blaine.mn.us
Wed Dec 22 16:23:06 EST 2010


I have been scouring past emails from the list and can't seem to find a
solution to my issue.  I have added my own parcel layer and have been
succesful in having the identify tool work exactly how I want it.
However, if I add another layer and want to identify that layer, all
that is returned is the ground coordinates of the click.  Below is the
pertinient information.  Any help would be greatly appreciated.
 
MAPFILE

	MAP
	 NAME 'blocks'
	 SIZE 800 650
	 STATUS ON
	 EXTENT  479000 4996100 488810 5006500
	 
	 UNITS METERS
	 
	 INCLUDE "../../geomoose_globals.map"
	 
	 PROJECTION
	  'init=epsg:26915'
	 END
	  
	   LAYER
	         NAME blocks
	         DATA '/ms4w/data/blaine_block_utm.shp'
	         STATUS DEFAULT
	         TYPE POLYGON
	            CLASS
	           NAME 'Census Blocks'
	           STYLE
	             SYMBOL 'plainline'
	             SIZE 2
	             COLOR -1 -1 -1
	             OUTLINECOLOR 255 0 0 
	              END
	         END
	 
	  METADATA
	        'identify_record' 'identify_blocks.html'
	  END
	 
	     END
	  
	END ## end Map

IDENTIFY_BLOCKS.HTML
 

	<!-- MapServer Template -->
	<tr bgcolor="#DEE5EB"><td colspan="2"><b><u>Parcels</u></b></tr>
	<tr>
	<td align="right"><b>STFID:</b></td>
	<td>[STFID]</td>
	</tr>
	<tr>
	<td align="left"><u>Population:</u></td>
	<td>[POP2000]</td>
	</tr>
	 
	<tr><td colspan="2"><hr></td></tr>

MAPBOOK ENTRIES
 

	 <map-source name="blocks" type="mapserver">
	  <file>./blaine/census/blocks.map</file>
	  <layer name="census"/>
	 </map-source>
	
________________________________________________________________________
______
	 <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"/>
	  </step>
	 </service>
	
________________________________________________________________________
______
	  <layer title="Blaine Census Blocks" src="blocks/census"
status="off" popups="true" />
	

Jeremy Johnson, GISP
G.I.S. Coordinator
City of Blaine
10801 Town Square Dr Ne
Blaine, MN  55449
(763) 717-2639
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20101222/91f6c62a/attachment.html


More information about the Geomoose-users mailing list