[Gdal-dev] PGeo and ODBC support in OGR

Eugene Polishchuk ugeni79 at gmail.com
Thu Dec 1 16:02:35 EST 2005


Hi all,

I am currently trying to use OGR for reading and writing spatial data in
different formats.  I have a couple of questions about OGR support for the
following formats:

ODBC:
I've noticed that a new way to create an ODBC datasource:
*tablename(geometrycolname)
*has been added recently which is great since it resolves some of the
performance issues that we have been experiencing, but when creating a
datasource in this way and then subsequently calling ExecuteSQL on it, the
layer that ExecuteSQL() returns does not appear to retain the
geometrycolname and therefore its features do not have any geometry info.
Since I am new to OGR I wasn't sure whether this behavior is by design or is
it still in development or a bug?

PGeo:
With OCI and Shapefile datasources the FID's of the layer returned from
ExecuteSQL() are from 0 to GetFeatureCount()-1, but with PGeo they appear to
correspond to the OBJECTID of the feature.  Is this the intended behavior?

Also do you have any plans on adding spatial reference support to OCI and
ODBC?
And if we decide to make any changes to OGR what would be the appropriate
process to roll our changes into the main source?

Thanks in advance!

Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20051201/1c55e514/attachment.html


More information about the Gdal-dev mailing list