[GRASS-dev] [GRASS GIS] #2122: v.to.db: new variables to add

#2122: v.to.db: new variables to add
--------------------------+--------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.4.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.to.db eigenvalues bbox
       CPU: All | Platform: All
--------------------------+--------------------------------------

Comment (by hellik):

Replying to [comment:11 mlennert]:
> I finally decided to just go ahead and commit to facilitate testing
(r70451). In the case of multiple features by category the module now
calculates the total bounding box for all features with same category.

now tested with a wgs84 ll testcase:

{{{
v.db.select map=testcalculate@hkmyr columns=l,lg,r,rg,t,tg,b,bg
l|lg|r|rg|t|tg|b|bg
9.0801356183|9.08013561826955|10.6452349706|10.6452349706296|47.6779179411|47.6779179411464|46.4101061965|46.4101061964608
11.0347074901|11.0347074900713|12.7965928607|12.7965928607123|47.8068606443|47.8068606443141|46.1987432153|46.198743215305
9.0475885875|9.04758858753172|10.3944050709|10.3944050709074|46.4383355922|46.4383355921998|45.9348643802|45.9348643802451
}}}

l,r,t,b calculated by qgis
lg,rg,tg,bg calculated by the new v.to.db functionality

looks good also in ll locations.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2122#comment:13&gt;
GRASS GIS <https://grass.osgeo.org>