[GRASS-dev] [GRASS GIS] #2304: Problems with add category to all features workflow

GRASS GIS trac at osgeo.org
Wed May 21 10:44:27 PDT 2014


#2304: Problems with add category to all features workflow
--------------------------------+-------------------------------------------
 Reporter:  wenzeslaus          |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  normal              |   Milestone:  7.1.0                    
Component:  Default             |     Version:  unspecified              
 Keywords:  v.edit, v.category  |    Platform:  Unspecified              
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by wenzeslaus):

 I would say that the underlying issue is still present but since topology
 is not build `v.edit` anymore thanks to r60392, the issue with broken
 spatial index when no features were selected is gone. My GRASS was not
 fresh enough when filling the ticket.

 {{{
 v.in.ascii input=- output=test separator=comma <<EOF
 913240.0,250614.0
 913250.0,250628.0
 EOF
 }}}
 {{{
 v.edit map=test tool=catadd layer=2 cats=10
 }}}
 {{{
 Selecting features...
 0 of 2 features selected from vector map <test_6 at jr_sts_contours>
 WARNING: No features selected, nothing to edit
 v.edit complete.
 }}}

 {{{
 v.what map=test coordinates=913240.0,250614.0
 }}}
 This was `Unable to open spatial index file for vector map` before r60392.
 {{{
 East: 913240
 North: 250614
 ------------------------------------------------------------------
 Map: test
 Mapset: jr_contours
 Type: Point
 Id: 1
 Layer: 1
 Category: 1
 }}}

 {{{
 v.category input=test option=report
 }}}
 {{{
 Layer: 1
 type       count        min        max
 point          2          1          2
 ...
 all            2          1          2
 v.category complete. 0 features modified.
 }}}

 The trick with `-r` flag still works.

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



More information about the grass-dev mailing list