[Cartoweb-users] Identify fails on second time

Alex Kuznetsov nexikan at gmail.com
Thu Jul 13 16:51:20 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


More information about the Cartoweb-users mailing list