[gdal-dev] ogr2ogr: shp > kml,coordinate precision and related kml file size

Hermann Peifer peifer at gmx.eu
Mon Mar 9 14:12:07 EDT 2009


Christopher Condit wrote:
> See http://trac.osgeo.org/gdal/ticket/2461 for information about this...
>   

 I can only confirm with what is stated at the end of this page:
 > We should attempt to preserve the original precision by default,
 > and potentially offer an option to reduce the precision.


> I think you can use the nlt option to at least make the input 2.5 D and
> then strip the Z value off, effectively removing the height. It may be
> related to the CS transformation but I'm not sure without seeing your
> actual input file.
>   

Thanks for the hint. I will give it a try. For an input file, you could 
take any shapefile at: http://tinyurl.com/c56uch

Hermann


More information about the gdal-dev mailing list