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

GRASS GIS trac at osgeo.org
Thu May 22 13:11:18 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):

 Yes, from a big part it is a documentation issue because it not clear how
 to do it and I would say that it is quite basic functionality if you
 consider patching several maps together.

 I would say that `v.category`'s `option=add` should say

 {{{
 add a category to features without category
 }}}

 because the ''new'' is strange when there is no ''old''. Maybe `missing
 category` would be good too. If this is what it is doing, I can commit it
 later.

 Where do you get data with layer but no category anyway?


 Summary update:

  * it is not clear how to select all features in v.edit
   * there is the `-r` trick but it is not clear if it it supported
   * it is possible to get bbox and pass it (comment:2), this seems
 inconvenient to me
   * perhaps `-a` (Select all) flag to explicitly select all would be good
  * some parameters/options in v.edit have guisection Selection but they
 can be used also as an input
  * v.edit builds topology when there is nothing to edit
   * seems to be fixed by recent r60392
  * v.edit breaks the topology/spatial index when the selection of features
 was empty, ends with assert sometimes
   * whatever it was, it is hidden/disabled by r60392
  * there is a space after map name in v.what output
  * v.category has a parameter/option option while v.edit has a parameter
 tool
  * v.category builds topology when there was no change
  * v.category does nothing for `option=step` and `option=add`; using
 option=sum under the same conditions gives a result if there is something
 else to add, it is not in the example in manual
   * the issue with `option=add` is just unclear documentation
  * v.category says 0 features modified. when it finished report or print
 but it seems redundant I wouldn't expect something else when using report
 or print and not providing output
  * if you will try to explore it using GUI query tool, you will see that
 it shows only one layer and one category (it seems that underlying
 vector_what(map="...", coord=...) and v.what works)
   * this needs separate ticket

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



More information about the grass-dev mailing list