[GRASS-dev] [GRASS GIS] #3244: Vect_get_map_box() and level1

GRASS GIS trac at osgeo.org
Sun Jan 8 09:42:32 PST 2017

#3244: Vect_get_map_box() and level1
 Reporter:  martinl                 |      Owner:  grass-dev@…
     Type:  task                    |     Status:  new
 Priority:  normal                  |  Milestone:  7.2.1
Component:  Vector                  |    Version:  unspecified
 Keywords:  vlib, map bbox, level1  |        CPU:  Unspecified
 Platform:  Unspecified             |
 Recently I discovered that `g.region vector` does not work with vectors
 with no topology (level 1). I fixed this issue similarly as `v.info` do
 (level1.c) in r70302. Then I found similar issue when trying to colorize
 points based on z-coord (`d.vect zcolor=elevation`). It uses
 Vect_map_get_box() source:grass/trunk/display/d.vect/shape.c#L180 which
 requires topology (1).

 My suggestion would be to modify Vect_get_map_box() to work also on level
 1 (fill bbox by reading features). I am not sure about consequences, any


Ticket URL: <https://trac.osgeo.org/grass/ticket/3244>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list