[Geomoose-users] Geomoose-users Digest, Vol 47, Issue 13

Clinton Olsen clinton at co.emery.ut.us
Thu Aug 11 12:03:15 EDT 2011


Dan, 

I added projection to the mapfile, but I still get the same result. Below
are the contents of the mapfile.  Thanks for your help so far.

MAP
NAME			'PRECINCTS'
SIZE			800 650
STATUS		ON
EXTENT		1426801 6519737 2267577 7175357
UNITS			FEET
FONTSET		'../fonts/fontset.list'
SYMBOLSET		'../symbols/symbol.sym'
TRANSPARENT		TRUE
IMAGETYPE		PNG

QUERYMAP
	STATUS	ON
	STYLE		SELECTED
END

LEGEND
	STATUS 	ON
END

LAYER
	NAME			"PRECINCTS"	
	DATA			"./PRECINCTS.shp"
	STATUS		DEFAULT
	TYPE			POLYGON
	TOLERANCE		3
	CLASSITEM		"NAME"
	LABELITEM		"NAME"
	
	PROJECTION	
			"init=esri:102743"
	END
	
	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
	TOLERANCE 0
END
END

-----Original Message-----
From: geomoose-users-request at lists.sourceforge.net
[mailto:geomoose-users-request at lists.sourceforge.net] 
Sent: Thursday, August 11, 2011 9:22 AM
To: geomoose-users at lists.sourceforge.net
Subject: Geomoose-users Digest, Vol 47, Issue 13


Send Geomoose-users mailing list submissions to
	geomoose-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/geomoose-users
or, via email, send a message with subject or body 'help' to
	geomoose-users-request at lists.sourceforge.net

You can reach the person managing the list at
	geomoose-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Geomoose-users digest..."


Today's Topics:

   1. Re: Identify Feture not working on layers (Dan Little)
   2. Re: Identify Feture not working on layers (Clinton Olsen)


----------------------------------------------------------------------

Message: 1
Date: Thu, 11 Aug 2011 08:15:13 -0700 (PDT)
From: Dan Little <danlittle at yahoo.com>
Subject: Re: [Geomoose-users] Identify Feture not working on layers
To: Clinton Olsen <clinton at co.emery.ut.us>,	'Brian Fischer'
	<bfischer at houstoneng.com>,
"geomoose-users at lists.sourceforge.net"
	<geomoose-users at lists.sourceforge.net>
Message-ID:
	<1313075713.13516.YahooMailNeo at web161212.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

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>&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 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-la
yers-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...

------------------------------

Message: 2
Date: Thu, 11 Aug 2011 08:58:22 -0600
From: "Clinton Olsen" <clinton at co.emery.ut.us>
Subject: Re: [Geomoose-users] Identify Feture not working on layers
To: "'Dan Little'" <danlittle at yahoo.com>,	"'Brian Fischer'"
	<bfischer at houstoneng.com>,
<geomoose-users at lists.sourceforge.net>
Message-ID: <A9F4EB55F8104D1783C7F34255ED1B6B at emery9e1eeaf61>
Content-Type: text/plain; charset="us-ascii"

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>&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>
________________________________
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-la
yers-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...

------------------------------

----------------------------------------------------------------------------
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
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


End of Geomoose-users Digest, Vol 47, Issue 13
**********************************************





More information about the Geomoose-users mailing list