Hi Hamish,
I like your r.reclass solution. Just wondering, you say it is a
"virtual" map, and easy to remove. How is it virtual? When I use it I
get a new map in my raster list that doesn't seem to go away so it
seems permanent to me. Although I don't understand the underlying
storage struc
Thanks Hamish, I will give
this a try.
cheers,
ken
On 06/17/2010 07:52 PM, Hamish wrote:
Marcello wrote:
There is probably a better way to do that (and I would like to
"hear" it very much, specially if there is a single command
to do this), but for now, I think the code below does
Hi Marcello,
Thanks for this response! After my post I also figured out exactly
this method for doing it as well, although as you say would be great to
have a one-liner.
I will probably just write a little script that performs all these
steps and takes in the relevant vector, cat, and raster v
Marcello wrote:
> There is probably a better way to do that (and I would like to
> "hear" it very much, specially if there is a single command
> to do this), but for now, I think the code below does the job:
>
> g.region vect=your_vector
> v.extract input=your_vector output=selected_polygon type=a
Kwas wrote:
>
>
> Hello,
> I have a raster map (dem) and I want to select a region of the raster
> corresponding to a polygon that is in a vector map. What is the best
> way to do this? It looks like r.in.poly might be along the lines of
> what I need but in that case I think I would need to