<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
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.&nbsp; What is the best
way to do this?&nbsp; 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 generate the ascii
poly file first but I'm wondering if there is a better way?&nbsp; Seems like
there should be a single command to do this.<br>
<br>
My vector map has 45 polygons with cat values 1..45,&nbsp; so I would like
to get a section from my raster map corresponding to one of the
polygons specified by cat value.<br>
<br>
appreciate any help!<br>
thanks,<br>
ken<br>
</font>
</body>
</html>