[GRASS-user] Help with r.to.vect

Hi,

first of all, sorry about my english, and about this message. I hope this
was the correct place. I'm trying to vectorize the areas from a image map,
and I'm a rookie with GRASS. If anyone could help me a little, it would be
great.

An example of the map i'm trying to vectorize is this:

http://n2.nabble.com/file/n3274836/recorte.jpg

I've tried using r.mapcalc, r.color, and other to preprocess the map befor
using r.to.vect and i can't get the areas (not the green, the others). I
don't know how to do it.

Again, sorry if this isn't the place.

Andres
--
View this message in context: http://n2.nabble.com/Help-with-r.to.vect-tp3274836p3274836.html
Sent from the Grass - Users mailing list archive at Nabble.com.

incanus wrote:

...I'm trying to vectorize the areas from a image map,
and I'm a rookie with GRASS. If anyone could help me a little, it would be
great.

Hi Andres!

Did you specify the "feature=area" parameter? E.g.:
r.to.vect in=RasterMap out=VectorMap feature=area

Also, check the manual of r.to.vect [1].
Kind regards, Nikos
---

[1] http://grass.osgeo.org/grass64/manuals/html64_user/r.to.vect.html
or just type "r.to.vect help" in the command line.

Maybe it would be useful (for others) to keep posts "on" the list as
well.

Cheers, Nikos

...

On Mon, 2009-07-20 at 12:08 +0200, andresfr wrote:
...

I've already get it. I've used:

r.mapcalc
paso1=b#original
end
r.colors map=paso1 color=rules
0 white
234 white
235 black
end
r.neighbors input=paso1 output=paso2 method=minimum size=3
r.null map=paso2 setnull=0-234
r.to.vect input=paso2 output=paso3 feature=area

and that's what finally worked for me.
:smiley:

great! Thanks for the feedback.
Nikos

here it is,
Andres

--
View this message in context: http://n2.nabble.com/Help-with-r.to.vect-tp3274836p3288090.html
Sent from the Grass - Users mailing list archive at Nabble.com.