[mapguide-internals] ogr postgis layer problems
Traian Stanev
traian.stanev at autodesk.com
Tue Jan 30 22:13:53 EST 2007
What you are describing seems to me to lead to a bug in the OGR provider in the case where a filter is used that is a combination of a spatial filter and FID filter, which is what the selection rendering code uses to get the features that have to draw as selected overlay. Since the selection itself seems to work for you, my guess is that the provider messes something up during such a query that results in a confusion during subsequent queries.
My guess could be wrong though... To narrow it down, I can look over the code and check for obvious flaws (I don't have the time to install PostGIS right now), and you can try connecting to an SHP file with the OGR provider to see if selection works for that. Another thing you can try is run the server in interactive mode and check for any console output. The provider (and OGR itself) will sometimes printf stuff to the console.
Traian
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org on behalf of Paul Spencer (External)
Sent: Tue 1/30/2007 9:18 PM
To: MapGuide Internals Mail List
Cc:
Subject: [mapguide-internals] ogr postgis layer problems
Hi all,
I am looking into an issue regarding postgis layers loaded via the
OGR provider for a client. The postgis layer is functioning normally
when the map loads (it is initially off but it can be toggled on/off
no problem). It can be queried using the select. However, when the
layer has had features selected on it, the next action causes the
layer to be turned off and the layer cannot be turned back on without
restarting the service and web browser.
Any ideas what might be going on? Bug in the OGR provider? AJAX
Viewer? Bad data?
Cheers
Paul
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-internals/attachments/20070130/0af58d97/attachment.html
More information about the mapguide-internals
mailing list