Hi Even, 2014-11-26 12:43 GMT+01:00 Even Rouault <[email protected]>: > The PostGIS driver doesn't do automatic conversion of geometry types as it can > support all (you would get similar errors if inserting polygons into a > multipolygon layer, or the reverse). This is kind of historic behaviour. > You can fix the error by specifying either -nlt CONVERT_TO_LINEAR (or -nlt > POLYGON), or -nlt CURVEPOLYGON > > Actually digging more, I was convinced that in my work related to curve > geometries, I had make sure that the GML reader does its best to convert each > geometry to the layer declared geometry type. This indeed worked for single > geometry column layers, but not for multiple geometry such as yours. I've just > fixed that.
now it works, thanks a lot for your great job on curves! Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.eu/mentors/landa _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
