[GRASS-dev] Re: [GRASS GIS] #1527: vector projection over wrapping boundary is split

GRASS GIS trac at osgeo.org
Fri Dec 30 07:36:56 EST 2011


#1527: vector projection over wrapping boundary is split
----------------------+-----------------------------------------------------
 Reporter:  pertusus  |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  7.0.0                    
Component:  Vector    |     Version:  svn-trunk                
 Keywords:            |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by mmetz):

 Please try attached patch for v.proj. The bug is in the proj4 library
 which automatically wraps to -180 - 180 if the output location is latlon.
 This does not work with topological vectors and causes the observed error
 messages. The attached patch tries to automatically figure out if wrapping
 coordinates to the range 0-360 is needed and wraps if needed (should be
 made a user option I guess). BTW, this bug appears also in GRASS 6.4, only
 that 6.4 does less thorough topological error checking.

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1527#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list