[GRASS-dev] [GRASS GIS] #2765: added "_1" to attribute table's name when working with v.overlay
GRASS GIS
trac at osgeo.org
Thu Aug 25 11:06:17 PDT 2016
#2765: added "_1" to attribute table's name when working with v.overlay
----------------------------+---------------------------------
Reporter: lfurtkevicova | Owner: martinl
Type: defect | Status: closed
Priority: normal | Milestone: 7.2.0
Component: Database | Version: 7.0.1
Resolution: fixed | Keywords: database, v.overlay
CPU: x86-64 | Platform: Linux
----------------------------+---------------------------------
Comment (by mmetz):
Replying to [comment:7 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.
>
What are the results now with `v.overlay olayer=0,1,2` and with with
`v.overlay olayer=1,2,3`?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2765#comment:10>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list