[GRASSLIST:4945] v.to.rast with area fills

Hi there,

Just digitized on screen a bunch of areas with v.digit and would like to convert those
polygons into a raster map.

v.to.rast did the trick of digitizing the borders of the polygon. But how do I get it to
rasterize the inside too? I'd like to use those polygons as mask before running
r.describe on some raster coverage. Am I missing something?

Thanks for your help

Thomas

Thomas Dewez
PhD Student
Dept Geography & Earth Sciences
Brunel University (West London)
Uxbridge UB8 3PH, Mddx
United Kingdom

Phone: +44-(0)1895-203215
Fax: +44-(0)1895-203217

e-mail: thomas.dewez@brunel.ac.uk

Hi Thomas,

r.in.poly?

Malte

Thomas Dewez schrieb:

Hi there,

Just digitized on screen a bunch of areas with v.digit and would like to convert those polygons into a raster map.

v.to.rast did the trick of digitizing the borders of the polygon. But how do I get it to rasterize the inside too? I'd like to use those polygons as mask before running r.describe on some raster coverage. Am I missing something?

Thanks for your help

Thomas

Thomas Dewez
PhD Student
Dept Geography & Earth Sciences
Brunel University (West London)
Uxbridge UB8 3PH, Mddx
United Kingdom

Phone: +44-(0)1895-203215
Fax: +44-(0)1895-203217

e-mail: thomas.dewez@brunel.ac.uk

Hi Malte,

is it a silly question to ask how the best ascii input for r.in.poly would
be generated? My attempt with v.out.ascii doesn't seem to work.
Where on earth is the output of v.out.ascii sent to?

Cheers,

Thomas

Hi Thomas,

r.in.poly?

Malte

Thomas Dewez schrieb:

>Hi there,
>
>Just digitized on screen a bunch of areas with v.digit and would like
>to convert those polygons into a raster map.
>
>v.to.rast did the trick of digitizing the borders of the polygon. But
>how do I get it to rasterize the inside too? I'd like to use those
>polygons as mask before running r.describe on some raster coverage.
>Am I missing something?
>
>Thanks for your help
>
>Thomas
>
>
>Thomas Dewez
>PhD Student
>Dept Geography & Earth Sciences
>Brunel University (West London)
>Uxbridge UB8 3PH, Mddx
>United Kingdom
>
>Phone: +44-(0)1895-203215
>Fax: +44-(0)1895-203217
>
>e-mail: thomas.dewez@brunel.ac.uk
>
>
>
>
>

Thomas Dewez
PhD Student
Dept Geography & Earth Sciences
Brunel University (West London)
Uxbridge UB8 3PH, Mddx
United Kingdom

Phone: +44-(0)1895-203215
Fax: +44-(0)1895-203217

e-mail: thomas.dewez@brunel.ac.uk

I am pretty sure that the output of v.out.ascii goes to the
(newly created if it did not previously exist) dig_ascii
subdirectory in the current mapset.

Best regards,
Michael

Michael Ash, Assistant Professor
  of Economics and Public Policy
Department of Economics and CPPA
University of Massachusetts
Amherst, MA 01003
Tel 413-545-6329 Fax 413-545-2921
Email mash@econs.umass.edu
http://www-unix.oit.umass.edu/~maash

On Thu, 14 Nov 2002, Thomas Dewez wrote:

Hi Malte,

is it a silly question to ask how the best ascii input for r.in.poly would
be generated? My attempt with v.out.ascii doesn't seem to work.
Where on earth is the output of v.out.ascii sent to?

Cheers,

Thomas

> Hi Thomas,
>
> r.in.poly?
>
> Malte
>
> Thomas Dewez schrieb:
>
> >Hi there,
> >
> >Just digitized on screen a bunch of areas with v.digit and would like
> >to convert those polygons into a raster map.
> >
> >v.to.rast did the trick of digitizing the borders of the polygon. But
> >how do I get it to rasterize the inside too? I'd like to use those
> >polygons as mask before running r.describe on some raster coverage.
> >Am I missing something?
> >
> >Thanks for your help
> >
> >Thomas
> >
> >
> >Thomas Dewez
> >PhD Student
> >Dept Geography & Earth Sciences
> >Brunel University (West London)
> >Uxbridge UB8 3PH, Mddx
> >United Kingdom
> >
> >Phone: +44-(0)1895-203215
> >Fax: +44-(0)1895-203217
> >
> >e-mail: thomas.dewez@brunel.ac.uk
> >
> >
> >
> >
> >
>

Thomas Dewez
PhD Student
Dept Geography & Earth Sciences
Brunel University (West London)
Uxbridge UB8 3PH, Mddx
United Kingdom

Phone: +44-(0)1895-203215
Fax: +44-(0)1895-203217

e-mail: thomas.dewez@brunel.ac.uk

On Thu, Nov 14, 2002 at 12:46:23PM -0000, Thomas Dewez wrote:

Hi there,

Just digitized on screen a bunch of areas with v.digit and would like
to convert those polygons into a raster map.

v.to.rast did the trick of digitizing the borders of the polygon. But
how do I get it to rasterize the inside too? I'd like to use those
polygons as mask before running r.describe on some raster coverage. Am
I missing something?

Are the vector polygons built as areas?

--
static const char signature =
  "Copyright (c) 2002 Eric G. Miller <egm2@jps.net>";

Hi Eric and others,

I repeated the v.to.rast operation with the same parameters and this
time I obtained a raster coverage of solid polygons. Not sure what
happened, the history log doesn't show that I did anything different
than the first time... Mystery, but it worked!

Thanks to all for your help

Thomas

On Thu, Nov 14, 2002 at 12:46:23PM -0000, Thomas Dewez wrote:
> Hi there,
>
> Just digitized on screen a bunch of areas with v.digit and would
> like to convert those polygons into a raster map.
>
> v.to.rast did the trick of digitizing the borders of the polygon.
> But how do I get it to rasterize the inside too? I'd like to use
> those polygons as mask before running r.describe on some raster
> coverage. Am I missing something?

Are the vector polygons built as areas?

--
static const char signature =
"Copyright (c) 2002 Eric G. Miller <egm2@jps.net>";

Thomas Dewez
PhD Student
Dept Geography & Earth Sciences
Brunel University (West London)
Uxbridge UB8 3PH, Mddx
United Kingdom

Phone: +44-(0)1895-203215
Fax: +44-(0)1895-203217

e-mail: thomas.dewez@brunel.ac.uk