[GRASS-user] Re: r.to.vect Produces Too Many Areas

Hi Rich,

Message: 4
Date: Mon, 22 Feb 2010 12:14:03 -0800 (PST)
From: Rich Shepard <rshepard@appl-ecosys.com>
Subject: [GRASS-user] r.to.vect Produces Too Many Areas
To: grass-users@lists.osgeo.org
Message-ID:
  <alpine.LNX.2.00.1002221213470.20601@salmo.appl-ecosys.com>
Content-Type: text/plain; charset="us-ascii"

   I've done something incorrectly but cannot find what that is.

   Ran r.water.outlet and produced the output basin map. Then I applied
r.null to that map setting nulls to zeros.

r,water.outlet produces a map with zeros instead of nulls, so you better must apply r.null to set zeros _to_ nulls

Next I applied r.to.vect to that
map (with the '-s' option) setting feature to area.
  

Also, try without '-s'

HTH

Margherita

--
Eng. Margherita Di Leo
Ph.D. Candidate
Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)

University of Basilicata Campus Macchia Romana
85100 - Potenza Italy

Office: +39-0971205363
Fax: +39-0971205160

On Mon, 22 Feb 2010, Margherita Di Leo wrote:

r,water.outlet produces a map with zeros instead of nulls, so you better
must apply r.null to set zeros _to_ nulls

Margherita,

   I stated it backwards. I understand that the setnull command does just
that.

Rich