[gdal-dev] Converting 3D Polygons to 2D Polygons?

Eli Adam eadam at co.lincoln.or.us
Tue Oct 15 19:14:10 PDT 2019


On Tue, Oct 15, 2019 at 6:12 PM Brandon Biggs <brandon.biggs at ski.org> wrote:

> Hello,
>
> Is there some way to convert 3D objects to 2D polygons using ogr2ogr?
>
>
Did you already try, -dim XY

More details here,
https://gdal.org/programs/ogr2ogr.html#ogr2ogr

What happened if you tried -dim XY?

Best regards, Eli

I have a large file with lots of polygons with 0 as the z coordinate. So
> the point would look like [1,2,0].
>
> I would like it to be: [1,2].
>
> Thanks,
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191015/79294943/attachment.html>


More information about the gdal-dev mailing list