Opened 9 years ago

Last modified 9 years ago

#5816 closed defect

Create consistent Layer creation options for geometry column name — at Initial Version

Reported by: jpalmer Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Various OGR vector drivers provide the option to define the name of the geometry field/column when creating a layer. When scripting for multiple output formats at runtime this is an annoyance.

GDAL should have one consistent layer creation option for this option across all drivers. It should also be possible to retain the older LCO values for compatibility reasons, but not advertise them in the documentation any more. Could be a good idea to address this before GDAL 2.0 is released :)

Below is a list of the different LCO for each driver:

DriverLayer creation option
MSSQLSpatialGEOM_NAME
PostgreSQLGEOMETRY_NAME
GPKGGEOMETRY_COLUMN
FileGDBGEOMETRY_NAME

Change History (0)

Note: See TracTickets for help on using tickets.