[Geomoose-users] More problems setting up query- GM 2.6
Bistrais, Bob
Bob.Bistrais at maine.gov
Fri Jul 20 08:16:00 PDT 2012
I have found out a little more regarding this problem- it seems that the query string is not being formatted correctly when doing multiple selection criteria. Here is an excerpt from my error log:
msEvalExpression: Expression parser error. Failed to parse expression: "[TOWN]" == "Winthrop") OR ("[TOWN]" == "Wales"
-Please notice that the opening and closing parentheses are missing from the statement. It's also worth noting that I get similar errors when using the GM demo app and data.
As far as I can tell, the problem is occurring within query.php. But I can't trace exactly where. Any suggestions?
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, July 19, 2012 5:21 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] More problems setting up query- GM 2.6
I'm having some problems with the query service. In short, it works, but with problems. I have it set up to query a point layer (shapefile). When I search using a valid criteria, I get results in the result window. But the selected features won't highlight. In addition, if I have only one result, it does not zoom to that one result.
Another issue- I'm trying to modify the query window so I can enter several parameters for the same layer, for a total of 3 possible query items. If I enter only the first query item, it works fine, but it I enter more, it returns no results when I know it should. It looks like my input parameters are going in correctly. Any suggestions on how to check the expression?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120720/d29992b9/attachment.html>
More information about the Geomoose-users
mailing list