[gdal-dev] ogr2ogr PROMOTE_TO_MULTI with linestrings?

Stephen Woodbridge woodbri at swoodbridge.com
Mon May 15 15:15:01 PDT 2017


Hi,

I'm trying to load both polygons and linestrings and would like 
PROMOTE_TO_MULTI to work for both, but it appears to define Multipolygon 
type and does not work for linestrings/multilinestrings.

Maybe it would make more sense to have:

PROMOTE_TO_MULTI - work for either polygon or linestring depending on 
what the first object is

or have two options like:

PROMOTE_POLY_TO_MULTI
PROMOTE_LINE_TO_MULTI

Or maybe, I'm totally missing something in the docs.

-Steve

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the gdal-dev mailing list