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

GRASS GIS trac at osgeo.org
Sun Aug 19 03:15:20 PDT 2012


#1470: v.out.ascii with sql where option exports only centroids and not areas
--------------------------+-------------------------------------------------
  Reporter:  marisn       |       Owner:  martinl    
      Type:  defect       |      Status:  closed     
  Priority:  blocker      |   Milestone:  6.4.3      
 Component:  Vector       |     Version:  svn-trunk  
Resolution:  fixed        |    Keywords:  v.out.ascii
  Platform:  Unspecified  |         Cpu:  Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 The export is now:
 {{{
 v.out.ascii input=lakes output=vbuffer_area where=cat=5109 format=standard
 grep 'B  \|C  ' vbuffer_area
 B  93
 B  152
 B  162
 B  3
 B  3
 C  1 1
 }}}

 Reimport:
 {{{
 v.in.ascii vbuffer_area out=myarea format=standard
 Building topology for vector map <myarea>...
 Registering primitives...
 6 primitives registered
 414 vertices registered
 Building areas...
  100%
 1 areas built
 1 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 6
 Number of primitives: 6
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 5
 Number of centroids: 1
 Number of areas: 1
 Number of isles: 1
 v.in.ascii complete.
 }}}

 Looks correct. Closing since it appears to be fixed. Reopen if needed.

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



More information about the grass-dev mailing list