[Geomoose-users] Problem with query, GM 2.6

Eli Adam eadam at co.lincoln.or.us
Mon Jun 25 15:56:37 PDT 2012


Bob,

On Mon, Jun 25, 2012 at 1:39 PM, Bistrais, Bob <Bob.Bistrais at maine.gov> wrote:
> I’m trying to get the query service working with my own data.  It works with
> the demo data, but when I try it with my own data I get an error- “no
> results found”.  As far as I can tell, the configuration is good.  Looking
> at the error log I see this message:
>
>
>
> [Mon Jun 25 16:31:37 2012].816000 getSymbol(): Symbol definition error.
> Parsing error near (Town):(line 228)

One of your .map files probably references a symbol that is not in
/maps/symbols/symbol.sym

>
> [Mon Jun 25 16:31:37 2012].972000 msQueryByRect(): Search returned no
> results. No matching record(s) found.

This is QueryByPoint with a similar error,
http://www.mapserver.org/errors.html#msquerybypoint-search-returned-no-results.
 Not sure if it is applicable to QueryByRect.

>
> [Mon Jun 25 16:31:37 2012].987000 msEvalExpression(): General error message.
> Cannot evaluate expression, no item index defined.

There may be some hints for the "Cannot evaluate expression, no item
index defined." message in this thread,
http://lists.osgeo.org/pipermail/mapserver-users/2010-February/064572.html

> The layer is a personal Geodatabase and it works well otherwise, including
> with Identify.

You may also want to up the level of debug output to 5 to get more
detail, and look at the actual query sent to the datasource.
Sometimes seeing what is actually sent shows something obviously
incorrect and then you can focus on why that parameter is incorrect.

HTH, Eli

>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list