[GRASS-dev] [GRASS GIS] #1928: after v.transform v.to.db gives incorrect length

GRASS GIS trac at osgeo.org
Sat Apr 13 00:00:45 PDT 2013


#1928: after v.transform v.to.db gives incorrect length
-------------------------+--------------------------------------------------
 Reporter:  pertusus     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  svn-releasebranch64      
 Keywords:               |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I import a dxf without georeferenced information, then scale it with
 v.transform. After that the line length obtained through v.to.db is wrong.
 If I export the line with v.out.ascii and reimport it, the length is
 correct.

 A tarball to reproduce is attached.


 {{{
 tar xzvf bug_grass.tar.gz
 cd bug_grass
 ./reproduce.sh
 }}}

 The script will show the lengths that are much lower than the correct
 length (should be like 3300 for the first line, for instance).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1928>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list