[GRASS-dev] Re: [GRASS GIS] #1418: v.dissolve not working (was: WinGrass7 - v.dissolve not working)

GRASS GIS trac at osgeo.org
Sun Sep 4 12:09:30 EDT 2011


#1418: v.dissolve not working
--------------------+-------------------------------------------------------
 Reporter:  hellik  |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  major   |   Milestone:  7.0.0                    
Component:  Vector  |     Version:  svn-trunk                
 Keywords:          |    Platform:  All                      
      Cpu:  All     |  
--------------------+-------------------------------------------------------
Changes (by neteler):

  * keywords:  wingrass =>
  * platform:  MSWindows Vista => All
  * cpu:  x86-32 => All


Comment:

 v.dissolve also silently fails on Linux as no effect is taken on the
 resulting map (also, one less area than in GRASS 6.4.svn):

 North Carolina dataset:
 {{{
 GRASS 6.4.2svn (nc_spm_08):~ > v.dissolve zipcodes_wake out=zip_name
 Building topology for vector map <zip_names_10469>...
 Registering primitives...
 206 primitives registered
 14517 vertices registered
 Building areas...
  100%
 48 areas built
 2 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 160
 Number of primitives: 206
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 158
 Number of centroids: 48
 Number of areas: 48
 Number of isles: 2
 v.reclass complete. 48 features reclassed.
 Extracting features...
 Building topology for vector map <zip_names>...
 Registering primitives...
 162 primitives registered
 11115 vertices registered
 Building areas...
  100%
 27 areas built
 2 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 137
 Number of primitives: 162
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 114
 Number of centroids: 48
 Number of areas: 27
 Number of isles: 2
 Number of duplicate centroids: 21
 Writing attributes...
 v.extract complete.
 Removing duplicate centroids...
 Building topology for vector map <zip_names>...
 Registering primitives...
 141 primitives registered
 11094 vertices registered
 Building areas...
  100%
 27 areas built
 2 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 116
 Number of primitives: 141
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 114
 Number of centroids: 27
 Number of areas: 27
 Number of isles: 2
 }}}

 -> 48 areas reduced to 27 areas, look ok but:

 {{{
 GRASS 7.0.svn (nc_spm_08 at grass70):~ > v.dissolve myzipcodes_wake
 out=zip_name
 Extracting features...
  100%
 Building topology for vector map <zip_name at grass70>...
 Registering primitives...
 205 primitives registered
 14515 vertices registered
 Building areas...
  100%
 47 areas built
 2 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 112
 Number of primitives: 205
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 157
 Number of centroids: 48
 Number of areas: 47
 Number of isles: 2
 Number of duplicate centroids: 1
 Writing attributes...
 Removing duplicate centroids...
 Building topology for vector map <zip_name at grass70>...
 Registering primitives...
 204 primitives registered
 14514 vertices registered
 Building areas...
  100%
 47 areas built
 2 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 112
 Number of primitives: 204
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 157
 Number of centroids: 47
 Number of areas: 47
 Number of isles: 2
 }}}

 -> 47 (!) areas remain 47 areas

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



More information about the grass-dev mailing list