On Wed, Aug 10, 2016 at 2:01 PM, Helmut Kudrnovsky <[email protected]> wrote:
> hi devs,
>
> is there a way to get bboxes of vector geometries (polygones) in a vector
> layer by pygrass/python grassscript and to loop through the bboxes?


I would say, loop through the geometries and use .bbox():

https://grass.osgeo.org/grass70/manuals/libpython/pygrass.vector.html#pygrass.vector.geometry.Line.bbox

>
> thanks
>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/bbox-of-a-vector-geometry-tp5280283.html
> Sent from the Grass - Dev mailing list archive at Nabble.com.
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to