[gdal-dev] ogr2ogr ESRI Shapefile only outputs 55.384 instead of 55.38361

james pruett gpscruise at gmail.com
Mon Aug 23 16:56:54 EDT 2010


Q: Is there any kind of    -f %.6f     type option for ogr2ogr like there is
for cs2cs ?

I don't seem to get all the precision... My lat shows 55.384 where it should
be 55.38361936

Thanks for continued help!
-jim

--------------------------------------
Using Meridan 2 UK file:

C\:>   ogr2ogr -s_srs epsg:27700 -t_srs epsg:4326 -f "ESRI Shapefile" ogr
minor_rd_polyline.shp

This converts:
#
  381514.000,  610000.000
  381273.000,  609813.000
  380935.000,  609701.000
  380819.000,  609727.000
  380671.000,  609665.000
  380542.000,  609515.000
  380215.000,  609240.000
  380000.000,  608939.000
#

into

#
      -2.293,      55.384
      -2.297,      55.382
      -2.302,      55.381
      -2.304,      55.381
      -2.307,      55.381
      -2.309,      55.379
      -2.314,      55.377
      -2.317,      55.374
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100823/ec940d6a/attachment.html


More information about the gdal-dev mailing list