Hi Andreas,
 
> when using ogr2ogr I can fix the geometry type for cases where I use SQL
> statements.
> 
> Can I use nlt multiple times?

No, only one will be taken into account (likely the last one, but I'd say this 
is unspecified 
behaviour)

> In my case I would like to specify -nlt
> CONVERT_TO_LINEAR to convert from CompounCurve to Polygon and then use
> -nlt POLYGON to tell it you are really a POLYGON. Is this possible to
> use the -nlt parameter twice?

You just need to use -nlt POLYGON. This will both force each feature geometry 
to Polygon 
(doing linear approximation if needed) and declare the layer type as Polygon

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to