[GRASS-dev] [bug #5326] (grass) g.region vect= shouldn't align to
resolution
Request Tracker
grass-bugs at intevation.de
Sat Nov 25 03:14:53 EST 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=5326
-------------------------------------------------------------------------
Subject: g.region vect= shouldn't align to resolution
#spearfish
> g.region rast=elevation.dem res=1000 -a
> g.region -p
projection: 1 (UTM)
zone: 13
datum: nad27
ellipsoid: clark66
north: 4928000
south: 4914000
west: 590000
east: 609000
nsres: 1000
ewres: 1000
rows: 14
cols: 19
> g.region vect=roads
> g.region -p
projection: 1 (UTM)
zone: 13
datum: nad27
ellipsoid: clark66
north: 4929000
south: 4914000
west: 589000
east: 610000
nsres: 1000
ewres: 1000
rows: 15
cols: 21
> v.info -g roads
north=4928063.39801461
south=4914006.33783702
east=609527.21021496
west=589434.85646865
top=0.000000
bottom=0.000000
> v.in.region roads_box
> d.vect roads_box type=boundary
g.region vect= should ignore resolution setting as it is meaningless for vectors.
(I was trying to use a v.in.region box + v.patch + v.clean to close contour
lines open at the edge of the region [created with r.contour] so I clould
extract closed polygons of e.g. 50-100m elevation)
thanks,
Hamish
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list