[Geomoose-users] Identify tool - How to?

Clinton Olsen clinton at co.emery.ut.us
Wed Mar 28 12:48:54 EDT 2012


I fixed the metadata and it still does not show any information from that
layer.

METADATA
	'identify_record' 'identify_placenames.html'
	"fields" "NAME:NAME"
END

When I try to identify a point in the layer it is visible, turned on, and
within the scale range.  Below are the results when I try to identify that
layer.  Brought to you by firebug.

<results><script/><html><![CDATA[<!-- MapServer Template -->
Detailed information for the area you clicked on the map...
<table border="0">
<tr>
<td colspan="2"><b><u>Ground Coordinates</u></b>
<br>
<b>X: </b>1806589
<br>
<b>Y: </b>6861035</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<table border="0" cellpadding="1" cellspacing="2">
<!-- MapServer Template -->
<tr>
<td colspan="2">Disclaimer: This information is being distributed as
demonstation data only.  You should not use the data for any other
purposes.</td>
</tr>
</table>
]]></html></results>


This is what I have in my template file.

<!-- MapServer Template -->
<tr bgcolor="#DEE5EB"><td colspan="2"><b><u>Place Names</u></b></tr>
<tr>
<td><br></td>
<td>[NAME]</td>
<td><br></td>
</tr>

-----Original Message-----
From: Bistrais, Bob [mailto:Bob.Bistrais at maine.gov] 
Sent: Wednesday, March 28, 2012 10:29 AM
To: Clinton Olsen; Zery
Cc: geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] Identify tool - How to? 

And your identify template should have the items you want to sow up in an
identify...

<tr>
<td colspan="2"><b>E911 Roads</b></td></tr> <tr> <td
align="left"><b>RDNAME:</b></td> <td>[RDNAME]</td> </tr> <td
align="left"><b>Town:</b></td> <td>[TOWN]</td> </tr>


..etc...



-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Clinton Olsen
Sent: Wednesday, March 28, 2012 12:18 PM
To: Bistrais, Bob; 'Zery'
Cc: geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] Identify tool - How to? 

Thanks for the suggestion.  This is what I have in the mapfile metadata
section.  I am not sure if I used it right or not.  It still does not work
after I added fields to my mapfile metadata.

METADATA
	'identify_record' 'identify_placenames.html'
	"fields"
	"NAME:NAME"
END



-----Original Message-----
From: Bistrais, Bob [mailto:Bob.Bistrais at maine.gov]
Sent: Wednesday, March 28, 2012 9:50 AM
To: Clinton Olsen; Zery
Cc: geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] Identify tool - How to? 

You don't have the "fields" item in your metadata section.  Example (belongs
in Metadata section of map file):

"fields"
"FID:FID,RDNAME:RDNAME,L_ADD_FROM:L_ADD_FROM,R_ADD_FROM:R_ADD_FROM"


-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Clinton Olsen
Sent: Wednesday, March 28, 2012 11:16 AM
To: 'Zery'
Cc: geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] Identify tool - How to? 

I checked and my template file is in the same folder as the mapfile.
Thanks
for the suggestion.

-----Original Message-----
From: Zery [mailto:zery.sp at gmail.com]
Sent: Tuesday, March 27, 2012 4:07 PM
To: neslonotnilc
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Identify tool - How to?

  Hi,

I have the same issue before, first thing i would asked to you is : 
(this is my stupid mistake) are your identify template file
"identify_placenames.html" in the same folder with your  mapfile?

Then, make sure there is no missed typed names, attribute column, etc.

Regards,
Zery

On 3/28/2012 12:04 AM, neslonotnilc wrote:
> I have been troubleshooting the identify feature for my geomoose
application.
> I can get some of the layers to identify, and other layers won't show 
> up when I try to identify them.  I have looked on geomoose.org for a 
> How To for the identify tool so I could make sure I was doing 
> everything required for my mapfile, mapbook.xml, and my template but
there
doesn't seem to be one.
> Where can I go to get more information on this feature?  I think if I 
> can get some pointers on what I need to do then I can make all the 
> other layers be identifiable.
>
> This is one of the layers that will not identify.  I have a layer 
> named placenames.  In the mapbook.xml I have it referenced as:
>
> ESRI:102743
>
> <map-source name="placenames" type="mapserver" reference="true"> 
> <file>./interactive_maps/placenames/placenames.map</file>
> <layer name="placenames"/>
> </map-source>
>
> <layer title="Place Names" src="placenames/placenames" status="on"
> popups="false" minscale="0" maxscale="150000" metadata="false"> 
> </layer>
>
> ---Mapfile ---
> MAP
> NAME 'placenames'
> SIZE 800 650
> STATUS ON
> EXTENT  1426801 6519737 2267577 7175357 UNITS FEET #FONTSET 
> '../fonts/fontset.list'
> #SYMBOLSET '../symbols/symbol.sym'
> TRANSPARENT TRUE
> IMAGETYPE PNG
>
> INCLUDE "../../geomoose_globals.map"
>
> WEB
> INCLUDE "../../temp_directory.map"
> END
> 	
> PROJECTION
> 'init=esri:102743'
> end
>
> LEGEND
> STATUS ON
> END
>
> LAYER
> NAME "placenames"
> DATA "placenames.shp"
> STATUS DEFAULT
> TYPE POINT
> LABELITEM 'NAME'
> LABELCACHE ON
> LABELMAXSCALE 100000
> PROJECTION
> 'init=esri:102743'
> end
>
> CLASS
> NAME 'Attractions'
> STYLE
> SYMBOL 'STAR'
> COLOR 255 102 51
> OUTLINECOLOR 0 0 0
> SIZE 8
> END
> LABEL
> TYPE TRUETYPE
> FONT vera_sans-bold
> SIZE 8
> ANTIALIAS TRUE
> COLOR 0 0 0
> OUTLINECOLOR 254 254 254
> BUFFER 4
> PARTIALS FALSE
> POSITION auto
> SIZE 7
> END
> END
>    	
> METADATA
> 'identify_record' 'identify_placenames.html'
> END
>
> END
> END
>
> ---Identify results---
> <results><script/><html></html></results>
>
> --
> View this message in context: 
> http://geomoose-users.964460.n3.nabble.com/Identify-tool-How-to-tp3861
> 865p3861865.html Sent from the Geomoose-users mailing list archive at 
> Nabble.com.
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users


_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users




More information about the Geomoose-users mailing list