OGR ODBC spatial query has invalid resultset

Delfos, Jacob Jacob.Delfos at MAUNSELL.COM
Tue Sep 26 03:56:35 EDT 2006


Hi List,

Sorry about all the questions I have been sending. I'm hoping someone can shed light on this one.

After a QueryByPoint or QueryByRect operation in PHP, the number of results is correct, but the resultCacheMemberObj always points to the first "getNumResults()" objects. If there are 4 results, it holds references to objects 1-4. For one result, it always points to the 1st object. 

This is -not- the case for QueryByAttributes, though. The resultCacheMemberObj is correct for this type of query.

This only occurs for OGR ODBC layers. I have tried MDB and CSV, with the same problem...

If anyone knows why, please let me know. If someone thinks this is a bug, I'll file it.

Regards,

Jacob


JACOB DELFOS
GIS ANALYST
Maunsell Australia Pty Ltd
629 Newcastle Street, Leederville, WA 6007
PO Box 81, Leederville, WA 6902
Western Australia
ABN 20 093 846 925

Tel     + 61 8 9281 6185
Fax    + 61 8 9281 6297
jacob.delfos at maunsell.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060926/0ac218ac/attachment.html


More information about the mapserver-users mailing list