[Geomoose-users] Identify Feture not working on layers
Dan Little
danlittle at yahoo.com
Thu Aug 11 11:15:13 EDT 2011
I'm thinking you'll need to specify the projection in the layer entry.
LAYER
...
PROJECTION
'init=esri:102743'
END
...
END
>________________________________
>From: Clinton Olsen <clinton at co.emery.ut.us>
>To: 'Dan Little' <danlittle at yahoo.com>; 'Brian Fischer' <bfischer at houstoneng.com>; geomoose-users at lists.sourceforge.net
>Sent: Thursday, August 11, 2011 9:58 AM
>Subject: RE: [Geomoose-users] Identify Feture not working on layers
>
>
>Message
>Dan Little,
>Here are the contents of the identify tool using firebug and firefox.I hope this is what you wanted to look at.
><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>1751465 <br> <b>Y: </b>6901114.5</td> </tr> <tr> <td> </td> <td> </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 shouldnot use the data for any other purposes.</td> </tr> </table> ]]></html></results>
>________________________________
>Brian Fischer,
>The projection in my mapbook.xml is EPSG:2281. The ESRI projection I am using for the shape files is ESRI:102743.
>Not sure what the EPSG equivalent is for that ESRI projection. Maybe that is why when I use the print feature it only prints a blank page.
>-----Original Message-----
>>From: Dan Little [mailto:danlittle at yahoo.com]
>>Sent: Wednesday, August 10, 2011 7:43 PM
>>To: neslonotnilc; geomoose-users at lists.sourceforge.net
>>Subject: Re: [Geomoose-users] Identify Feture not working on layers
>>
>>
>>Do you happen to have Firefox with Firebug installed?
>>
>>
>>I'd like to see the actual contents being sent back. I'm not 100% sure what's going wrong yet...
>>
>>
>>
>>>________________________________
>>> From: neslonotnilc <clinton at co.emery.ut.us>
>>>To: geomoose-users at lists.sourceforge.net
>>>Sent: Wednesday, August 10, 2011 2:45 PM
>>>Subject: [Geomoose-users] Identify Feture not working on layers
>>>
>>>Hi,
>>>
>>>I am doing an upgrade from a 1.x geomoose
install. I have my esri layers
>>>showing up in geomoose, but when I
try to do an identify on the layers I
>>>only return the default X and Y
coordinate template. I have looked through
>>>the wiki, the online
forum, and online searches and tried to make my data
>>>fit with what is
presented but I still can't get identify to work. Also a
>>>wierd
thing that happens when I try to do a identify I get 1kb PNG files
>>>that
populate the folder that contains the layer mapbook file. Please
point
>>>me in the right direction. The identify tool is great for
what we are
>>>trying to do with Geomoose, but if it is temperamental then
maybe I should
>>>stick with the working 1.x install. Only problem
with that is some of the
>>>features don't work in the newer browsers.
Thanks. Clinton
>>>
>>>This is what I have in the mapbook.xml
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"/>
>>></step>
>>></service>
>>>__________
>>>
>>><tool
name="identify" title="Identify" type="service"
service="identify"/>
>>>
>>>__________
>>>
>>>In the layer mapbook I
have:
>>>
>>>LAYER
>>>NAME
"PRECINCTS"
>>>
DATA
"./PRECINCTS.shp"
>>> STATUS
DEFAULT
>>> TYPE
POLYGON
>>>
TOLERANCE 3
>>>
CLASSITEM "NAME"
>>>
LABELITEM "NAME"
>>>
>>> CLASS
>>>
EXPRESSION 'Orangeville #5.09'
>>>
NAME 'Orangeville
#5.09'
>>>
STYLE
>>>
COLOR 255 102 0
>>>
OUTLINECOLOR 0 0
255
>>>
SIZE 2
>>>
END
>>>
LABEL
>>>
TYPE TRUETYPE
>>>
FONT
vera_sans-bold
>>>
SIZE 8
>>>
ANTIALIAS
true
>>>
COLOR 153 0 153
>>>
OUTLINECOLOR 254 254
254
>>>
BUFFER 3
>>>
MINFEATURESIZE
auto
>>>
PARTIALS FALSE
>>>
POSITION ul
>>>
END
>>>
END
>>>
>>>METADATA
>>>
'identify_record'
'identify_precincts.html'
>>>END
>>>
>>>END
>>>
>>>
>>>
>>>--
>>>View this
message in context: http://geomoose-users.964460.n3.nabble.com/Identify-Feture-not-working-on-layers-tp3243706p3243706.html
>>>Sent
from the Geomoose-users mailing list archive at
Nabble.com.
>>>
>>>------------------------------------------------------------------------------
>>>uberSVN's
rich system and user administration capabilities and model
>>>configuration
take the hassle out of deploying and managing Subversion and
>>>the tools
developers use with it. Learn more about uberSVN and get a free
>>>download
at: http://p.sf.net/sfu/wandisco-dev2dev
>>>_______________________________________________
>>>Geomoose-users
mailing list
>>>Geomoose-users at lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>>
>>>
>>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110811/bd4264bc/attachment.html
More information about the Geomoose-users
mailing list