[GRASSLIST:4408] Re: v.to.rast contour map
Eric G. Miller
egm2 at jps.net
Sat Aug 31 17:12:42 EDT 2002
On Sat, Aug 31, 2002 at 11:06:50AM -0000, vaishnav wrote:
>
>
> On Sat, 31 Aug 2002 Eric G. Miller wrote :
> >You need to change your region settings to accomodate the data.
> >I'd probably do this in two step: First, set the extents of
> >the
> >region to match the vector; then, adjust the cell resolution
> >such that cells are small enough to reflect input data.
> >
> >Almost all GRASS commands that create rasters use whatever the
> >current region defines for extents and resolution. The most
> >notable exceptions are import routines.
>
> Sir ,
> this is how i interpreted what you said,
>
> 1. Before rasterization of vector file,
> Run g.region vect=myrast
> d.zoom and select the desired contour area in the vector
> file.
d.zoom if you want...
You missed: g.region nsres=? ewres=?
> 2. convert the vector contour map to raster.
>
> 3. g.region raster=myrast zoom=myrast
>
> 4 . d.rast myrast
>
> But even then the same problem persists.
--
Eric G. Miller <egm2 at jps.net>
More information about the grass-user
mailing list