[gdal-dev] Unable to read in GML file via OGRINFO / OGR2OGR (attempt 2)

Even Rouault even.rouault at spatialys.com
Mon Jul 18 07:27:07 PDT 2016


> 
> I've tried adding -dim 2 to ogr2ogr, but that doesn't seem to work. Is
> there any way to force ogr to treat these objects as 2D? Forcing object
> type isn't possible, unfortunately, since the GML file contains mixed
> types (linestrings, polygons, even curved polygons).

No, there must be something in the GML that indicates that it is 3D, but some 
inconsistency afterwards.

> 
> I can provide a 200KB testfile if that helps.

That would be helpful to confirm.

> 
> Regards,
> Jelmer Baas
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list