|
On 16/08/2012 22:09, Janet Choate
wrote:
Hi all,
i have a raster that i simply want to split in two along a
line designated by me, thereby creating two separate rasters. i
have attempted to digitize using v.digit, displaying the raster
and drawing a line around the area of interest. i go through
the motions of what i think is closing the line, then save and
exit. but v.info
shows no data attached to this new vector, and when i try to
display, nothing shows up.
can anyone tell me how to make 2 rasters out of my 1 along a
user specified line, or how to successfully digitize this?
I think the easiest would be to set your region, temporarily, to
cover just the area of interest up to the cut line. THen do
r.mapcalc new_rast=old_rast. Now, if necessary go back to the old
region.
g.region save=original_region
g.region -p n=... s=... e=... w=... # set up to the cut line
r.mapcalc new_rast=old_rast
g.region region=original_region
If the area of interest is not rectangulalr, then follow L.Previtt's
suggestion.
thank you,
Janet
This mail was received via Mail-SeCure System.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
This mail was received via Mail-SeCure System.
--
Micha Silver
052-3665918
|
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user