[Geomoose-users] problem with Identify on Groups

Anderson, Dean anderson.dean at co.polk.or.us
Tue Jan 29 09:22:28 PST 2013


Bob

I know this does not quite do it but I have an "IdentifyAll" service that
just calls the identify.php.  This allows me to identify specific layers
from a "hard wired" button. Seems to work OK. Below is how I call the
identify.php from my mapbook.xml


<service name="identifyall" title="IdentifyAll" display="false">
<url>php/identify.php</url>
<step type="spatial" name="shape" show-tools="false" line="false"
polygon="false" jump-start="true" default="point">
<!-- <input type="visiblelayers" name="layers"/> -->
<input type="hidden" name="layers"
value="taxlot2012/taxlot2012:taxlot/PolkTaxlots:cityugb/all:compplan/all:taxcode/all:zoning/all:roads/Roads:fire/all:school/Schools:precinct/all:garbage/all:waterut/all:powerut/all:soils/all:flood/all:wetland/wetland:elevation/all"
/>
</step>
</service>

I did this in 2.4 and have not tested it in 2.6.

Dean



On Tue, Jan 29, 2013 at 9:01 AM, Eli Adam <eadam at co.lincoln.or.us> wrote:

> On Tue, Jan 29, 2013 at 8:16 AM, Bistrais, Bob <Bob.Bistrais at maine.gov>
> wrote:
> > I have a few map layers which I want to turn on/off by using the Group
> > parameter in the map file.  In Mapbook.xml I can use the Group name and
> all
> > the layers in the group turn on and off without problems.  The problem
> is,
> > when I want to Identify layers in the group, Identify doesn’t work (the
> > error file says “query returned no results”).  If I use the layer name of
> > just one layer, the Identify will work, so there’s nothing wrong with the
> > layer definition.  But Identify doesn’t seem to pay attention to Groups.
>  Is
> > there a way I can get this to work?
> >
>
> There are docs on how to identify one or more specific layers,
>
> http://geomoose.org/howto/identify.html#forcing-identify-to-always-identify-a-specific-layer
>
> HTH, Eli
>
>
> >
> > _______________________________________________
> > 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
>



-- 
Dean R Anderson
IT Director
Polk County
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130129/73fbfb5a/attachment.html>


More information about the Geomoose-users mailing list