Vect_get_map_box() and level1
|Reported by:||martinl||Owned by:|
|Keywords:||vlib, map bbox, level1||Cc:|
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 opinion?