[GRASS-user] create raster from line vector

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Mon Feb 16 09:32:52 EST 2009


On Mon, 2009-02-16 at 15:17 +0100, G. Allegri wrote:
> Hello everyone.
> A simple question, but I'm getting mad with it!
> I simply have to convert a vector line to raster. I've done it many
> times in the past, but this time I can't make it work:
> 
> v.to.rast input=border output=border use=val type=line layer=1 value=1
> 
> The output is simply blank (MAX and MIN values are NULL)
> What stupid error am I doing?
> 
> Giovanni

The first thing that fall into my mind:

MASK?
Perhaps it's a irrelevant thought, but I remember some "strange"
behaviour with floating point values (in your case the pixels that
compose your raster line). Could it be they are rounded down to 0?

Regards, Nikos



More information about the grass-user mailing list