[gdal-dev] export 3D shapefile to 2D (-lco dim=2 not is not used by the shp driver)

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Jul 8 09:47:55 EDT 2011


Giovanni,

If your shapefile contains only one type of geometry, you can use the -nlt
option in ogr2ogr. Using a geometry type without the '25D' postfix should
remove the Z values.

On Fri, Jul 8, 2011 at 6:19 PM, G. Allegri <giohappy at gmail.com> wrote:

> Looking at the shp driver I see that the -lco dim option is not used.
> Is there another way to tranform a 3D polygon to 2D thorugh ogr2ogr?
>
> thanks,
> giovanni
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110708/13f68408/attachment.html


More information about the gdal-dev mailing list