[Geomoose-users] Identifying layers problem

awhitley at charter.net awhitley at charter.net
Sun Jun 28 13:20:42 EDT 2009


Hi all, 

Another beginner's question; this one regarding identifying layers on the map.

Per the How-to at GeoMoose site.

Layer to identify Firestations

1. Created my map file
   Although I am confused by this insert: 
   WEB
    INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map"
  END
I dont see this config.map in statedemo folder 

2. Added layer to config.xml ( i disregarded the metadata info for now)
    <map title="Fire stations" default="true" reference="false" tip="Clearinghouse data">
          <file>./countydata/ga_firestations2.map</file>
  </map>

3. Support Identify

Header and footer and 
identify_fire.ht<tr>
<td colspan="2"><b>Fire Stations Layer</b></td>
</tr>
<tr>
<td align="right">Name:</td>
<td>[NAME]</td>
</tr>
<tr><td colspan="2"><hr></td></tr>ml

4. Modify identify.map

LAYER
            NAME 'ga_firestations2'
            DATA 'countydata/ga_firestations2.shp'
            STATUS ON
            TYPE POINT
            TOLERANCE 0
            TEMPLATE 'countydata/identify_fire.html'
      END

My reoccuring error when clicking firestation to identify:
msQueryByPoint(): Search returned no results. No matching record(s) found. 

shp2img = valid map file

Sorry for long post.

Tfaustino





More information about the Geomoose-users mailing list