[GRASS-dev] [GRASS GIS] #2765: added "_1" to attribute table's name when working with v.overlay

GRASS GIS trac at osgeo.org
Sun Aug 21 13:28:29 PDT 2016


#2765: added "_1" to attribute table's name when working with v.overlay
----------------------------+---------------------------------
  Reporter:  lfurtkevicova  |      Owner:  grass-dev@…
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  7.2.0
 Component:  Database       |    Version:  7.0.1
Resolution:                 |   Keywords:  database, v.overlay
       CPU:  x86-64         |   Platform:  Linux
----------------------------+---------------------------------

Comment (by martinl):

 Currently `v.overlay` chooses table name based on `olayer` parameter. Eg.

 1)

 {{{
 v.overlay ainput=boundary_state binput=geology operator=or output=AB --o
 olayer=1,0,0
 }}}

 will create table with name `AB_1`.

 2)

 {{{
 v.overlay ainput=boundary_state binput=geology operator=or output=AB --o
 olayer=0,1,0
 }}}

 will create table with name `AB_boundary_state`.

 3)

 {{{
 v.overlay ainput=boundary_state binput=geology operator=or output=AB --o
 olayer=0,0,1
 }}}

 will create table with name `AB_geology`.

 I changed `v.overlay` in r69194 to create always table with the same name
 as output, so in the example above always table `AB`. I am planning to
 backport this change to relbr72 if no objections.

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



More information about the grass-dev mailing list