[Gdal-dev] Override geom column name in ogr PostgreSQL driver

Frank Warmerdam warmerdam at pobox.com
Wed Mar 1 14:37:56 EST 2006


rob at dataflowdesign.com wrote:
> In OGR, is there a way to override the name of the wkb_geometry column
> in the PostgreSQL driver? Bug 769 addresses a similar issue for
> the oracle driver. But there doesn't appear to be a way in pg from
> looking at the code. 
> 
> If there is a way, please let me know and I will use it. If not, I
> will gladly submit a simple patch that I wrote which accepts the
> following argument:
> 
>     -lco GEOM_FNAME=the_geom

Rob,

Such a thing does not yet exist.  Please submit the request with the
layer creation option name GEOMETRY_NAME to match what the OCI driver
calls it.  I will modify the MySQL to also use this name.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list