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

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to