[Cartoweb-users] Identify fails on second time

Alex Kuznetsov nexikan at gmail.com
Fri Jul 14 09:56:58 EDT 2006


Hi list,

I already asked this question but didn't get any suggestions, please HELP
ME!!!

In my school Cartoweb project, if my data come from the shapefile, it
is possible to
identify the objects as many times as I want - application returns
attributes for each polygon according to METADATA object in the mapfile,
no problem, but if I try to identify the same data coming from PostGIS
database,
application returns query successfully just first time and for the
next try it fails:



Class : SoapFaultWrapper
Message : Attribute query returned no results. Layer: cons_auth,
idAttribute: gid, query: gid in ('2')
Backtrace:

file: 254 -
C:\wamp\www\cartoweb3\coreplugins\mapquery\server\ServerMapquery.php
call: ServerMapquery->queryLayerByAttributes(Object(ServerContext),
"cons_auth", "gid", "gid in ('2')", False)




gid 2 here is gid for my first polygon, which returned attributes
successfully, but why it looks for this
strange attribute "gid in ('2')" when I try to identify somethig second
time???



Any idea will be greatly appreciated

Thank you

Alex Kuznetsov
SSFC GIS student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060714/b1f36c01/attachment.html


More information about the Cartoweb-users mailing list