[gdal-dev] GML / NAS code redundancy

Martin Landa landa.martin at gmail.com
Sun Apr 6 04:00:33 PDT 2014


Hi,

2014-04-06 12:52 GMT+02:00 Even Rouault <even.rouault at mines-paris.org>:

> The "fix" would be more in ogr2ogr that currently has the following logic :
>   does the output driver support multiple geometry fields ?
>         - yes : does the source layer has several geometry fields ?
>                 - yes : use CreateGeomField() API, and pass wkbNone to CreateLayer()
>                 - no: pass the geometry type to CreateLayer()
>         - no : pass the geometry type of the first geometry column to
> CreateLayer()

yes, but it will not influence user scripts, eg. python code which is
using CopyLayer()...

Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the gdal-dev mailing list