[GRASS-dev] Re: [GRASS GIS] #1470: v.out.ascii with sql where option exports only centroids and not areas

GRASS GIS trac at osgeo.org
Fri Oct 21 04:17:07 EDT 2011


#1470: v.out.ascii with sql where option exports only centroids and not areas
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  svn-trunk                
 Keywords:  v.out.ascii  |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:6 martinl]:
 > Replying to [comment:5 mmetz]:
 > > There is enough code in GRASS (other modules, libs) that takes care of
 such cases, boundaries would not be written twice. Basically a boundary
 would be written out if the centroid of any of its two areas has a cat
 value which is in the list. I would like to see that option/functionality
 in `v.out.ascii` because most of the time the vector objects a user works
 with are points, lines, areas. Modules/libs then take care of appropriate
 handling of boundaries and centroids.
 >
 > right, please try out r48886 and r48887 (trunk).

 I have modified r48886 to avoid segfaults and r48887 to open vectors with
 topology only when needed (partially restoring original behaviour to
 support fast export of massive point vectors).

 Markus M

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



More information about the grass-dev mailing list