<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV>Thanks Brent,</DIV>
<DIV>&nbsp;</DIV>
<DIV>My experience with GM 1.6 is that white spaces in layer names kills the Identify process, even if the names in the XML file match the layer map file and the Identify.map layer name. My workaround has been to use underscores for any layers that provide feedback with the Identify tool. It's been a useful way to cue the users that the layer is "Identifiable".</DIV>
<DIV>&nbsp;</DIV>
<DIV>Since I have many layers in my Identify. map file I've pasted just the two that correspond to the parcels and the colleges (see below message text). Note that both refer to the same shapefile that contains all of the parcels for the region. I don't want to eliminate the college parcels in the generic parcel file since the college layer is one that is off by default (and it's off the Identify tool returns only results for the generic parcel layer). Likewise I wouldn't want to eliminate the college parcels from the generic parcel Identify.map layer since that would still return parcel-specific information.</DIV>
<DIV>&nbsp;</DIV>
<DIV>My goal is to allow interested users to turn on the college layer and then be able to click college-owned parcels to see additional information related to the college. I don't mind that both the college and generic parcel information shows up in the Information tab (that's actually a good thing!). I just don't want the college data to show up for the non-college parcels, even if the college layer is turned on.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I had hoped that it would be possible to utilize the underlying generic parcel data for both, but it looks like I'll have to export a separate shapefile for the college overlay in order to get the Identify to differentiate between the underlying parcels and the college parcels. Unless anyone has a new suggestion...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brian</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;LAYER # Rice Co. Parcels Polygon Layer<BR>&nbsp;&nbsp;NAME 'RiceCo_Parcels'<BR>&nbsp;&nbsp;DATA 'landrecords/RiceCo_parcelsUTM.shp'<BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;&nbsp;TYPE POLYGON<BR>&nbsp;&nbsp;METADATA<BR>&nbsp;&nbsp;qstring_validation_pattern '.'<BR>&nbsp;&nbsp;END<BR>&nbsp;&nbsp;TEMPLATE 'landrecords/identify_RCparcel.html'<BR>&nbsp;&nbsp;TOLERANCE 0<BR>&nbsp;END</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;LAYER # Colleges Polygon Layer<BR>&nbsp;&nbsp;NAME 'Colleges'<BR>&nbsp;&nbsp;DATA './landrecords/RiceCo_parcelsUTM.shp'<BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;&nbsp;TYPE POLYGON<BR>&nbsp;&nbsp;METADATA<BR>&nbsp;&nbsp;&nbsp;qstring_validation_pattern '.'<BR>&nbsp;&nbsp;END<BR>&nbsp;&nbsp;CLASSITEM 'DEEDHOLD'<BR>&nbsp;&nbsp;TEMPLATE './landrecords/identify_Colleges.html'<BR>&nbsp;&nbsp;TOLERANCE 0<BR>&nbsp;&nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;EXPRESSION /*COLLEGE/<BR>&nbsp;&nbsp;END<BR>&nbsp;END</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT color=#808080>--------</FONT></DIV>
<DIV><FONT color=#808080>Brian Welch, GIS Technician</FONT></DIV>
<DIV><FONT color=#808080>City of Northfield</FONT></DIV>
<DIV><FONT color=#808080>Northfield, MN 55057</FONT></DIV>
<DIV><FONT color=#808080>507-645-3027</FONT></DIV><BR><BR>&gt;&gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; 12/1/2010 2:37 PM &gt;&gt;&gt;<BR>I think GM 1.6 strips the spaces before passing the layer names to mapserver.&nbsp; So in theory you could have a map title of "My Colleges" in the mapbook and a layer with a name of MyColleges in the mapserver map file.<BR><BR>As for the results problem, it's difficult to say without seeing the entire identify.map (and the &lt;map&gt; defs in the mapbook), but I'd guess you have two layers in your indentify.map: one for college parcels and one for other parcels.&nbsp; You need to have a class in the the other parcels layer that does not include colleges (basically negate the expression in the college layer)<BR><BR></DIV><PRE class=moz-signature cols="72">Best Regards,
Brent Fraser</PRE><BR>On 12/1/2010 1:18 PM, Brian Welch wrote: 
<BLOCKQUOTE cite=mid:4CF65937.E3B5.00C1.0@CI.NORTHFIELD.MN.US type="cite">
<DIV>Some bug-checking did catch a white space in my layer name in the XML file. That's now been fixed with an underscore so all the layer references match: XML file, layer map file and Identify.map file. I get the appropriate Identify results to appear, but they appear for ALL parcels, not just the college parcels. The attempt to add an expression that I pasted in my previous post had no effect on the results: the college data appears for Identify queries of ANY parcel.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is there a way to get the Identify query to mirror the expression used to create the layer?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brian</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT color=#808080>--------</FONT></DIV>
<DIV><FONT color=#808080>Brian Welch, GIS Technician</FONT></DIV>
<DIV><FONT color=#808080>City of Northfield</FONT></DIV>
<DIV><FONT color=#808080>Northfield, MN 55057</FONT></DIV>
<DIV><FONT color=#808080>507-645-3027</FONT></DIV><BR><BR>&gt;&gt;&gt; Brent Fraser <A class=moz-txt-link-rfc2396E href="mailto:bfraser@geoanalytic.com">&lt;bfraser@geoanalytic.com&gt;</A> 12/1/2010 11:31 AM &gt;&gt;&gt;<BR>Brian,<BR><BR>&nbsp; Couldn't you just use the same layer definition in your identify.map as you use in your display layer?<BR></DIV><PRE class=moz-signature cols="72">Best Regards,
Brent Fraser</PRE><BR>On 12/1/2010 8:53 AM, Brian Welch wrote: 
<BLOCKQUOTE cite=mid:4CF61B1A.E3B5.00C1.0@CI.NORTHFIELD.MN.US type="cite">
<DIV>I'm using Geomoose v1.6</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have a layer in my application that shows a subset of parcels (local college-owned land). The mapping layer in GM uses a simple expression based on the property owner's name to map just those properties owned by the colleges.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'd like to create an appropriate layer in the Identify.map file that will act only on that subset in order to&nbsp;display specific information related to the colleges. However, I don't want the college information to show up for all parcels in town. Is there some way to replicate the expression that I use in the CLASS call of the mapping file to get the LAYER in the Identify.map file to act only the college-owned parcels? I can't figure out whether the qstring_validation_pattern is where I should focus, and if so, what is the appropriate query syntax? The field name is [DEEDHOLD] and the query value would be "*COLLEGE" (note the need for a wildcard to pick up both colleges in town).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'd like to know if this is possible by modifying the Identify.map layer with an appropriate query or whether I should just take the easy way out and create a separate shapefile of college-owned parcels.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brian</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#808080>--------</FONT></DIV>
<DIV><FONT color=#808080>Brian Welch, GIS Technician</FONT></DIV>
<DIV><FONT color=#808080>City of Northfield</FONT></DIV>
<DIV><FONT color=#808080>Northfield, MN 55057</FONT></DIV>
<DIV><FONT color=#808080>507-645-3027</FONT></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App &amp; Earn a Chance To Win $500!
Tap into the largest installed PC base &amp; get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
<A class=moz-txt-link-freetext href="http://p.sf.net/sfu/intelisp-dev2dev" moz-do-not-send="true">http://p.sf.net/sfu/intelisp-dev2dev</A></PRE><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
Geomoose-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Geomoose-users@lists.sourceforge.net" moz-do-not-send="true">Geomoose-users@lists.sourceforge.net</A>
<A class=moz-txt-link-freetext href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/geomoose-users</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>