[Geomoose-users] Trouble with select multiple layers

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Feb 14 11:47:40 PST 2013


I think I was able to resolve this one.  I have been working with GM 2.6.0.  I downloaded the 2.6.1 release and copied over the select.php, then put my modifications into a copy of that.  I'm not really sure what the difference in code is, but it no longer seems to mind having multiple select layers.
Of course, now I should do a complete 2.6.1 upgrade "when I get around to it" :)

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Wednesday, February 13, 2013 6:16 PM
To: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Trouble with select multiple layers

Possible clue- in the select.php, when the spatial query is performed on the select layer, at line 238 there is a $layer->open() command.  However, there is no $layer->close() command anywhere beyond it.  Could that be why it hangs on multiple layer select?

From: geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Wednesday, February 13, 2013 5:52 PM
To: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: [Geomoose-users] Trouble with select multiple layers

I am making a custom spatial query by modifying the select.php and service.  I want to be able to query two separate layers- either one, the other, or both.  I have been able to get it to work to query either one layer, but if I try to do both the php hangs up until it times out.  I use the $layersToQuery array to determine which layers to query.  This is similar to the default if($layer==all) action, but instead only putting two layers in.  Any ideas?  I could attach code but not sure what would be helpful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130214/3f4dcd67/attachment-0001.html>


More information about the Geomoose-users mailing list