[GRASS-dev] Re: [GRASS GIS] #354: v.out.ogr: bad DB read for format=GPX

GRASS GIS trac at osgeo.org
Sun Nov 2 05:36:23 EST 2008


#354: v.out.ogr: bad DB read for format=GPX
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  major   |   Milestone:  6.4.0                    
 Component:  Vector  |     Version:  svn-develbranch6         
Resolution:          |    Keywords:  v.out.ogr GPX            
  Platform:  Linux   |         Cpu:  x86-32                   
---------------------+------------------------------------------------------
Comment (by hamish):

 Replying to [comment:1 hamish]:
 > also to note diff in lat/lon in above two examples:
 > {{{
 > <wpt lat="44.381771718385657" lon="-103.826359511024279">
 > <wpt lat="44.381755779999999" lon="-103.826838609999996">
 > }}}
 >
 > I don't really know why that is different. Both ogr2ogr and
 > m.proj (cs2cs frontend script) should be using +nadgrids conus
 > and identical setup method..? strange.


 v.out.gps[babel] -> m.proj -> cs2cs is called with "-f %.8f", which
 explains the FP quant in the second set, but the top one (ogr2ogr) changes
 at ~ %.4f or .5 (>1m)

 ??
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/354#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list