[GRASS-user] v.to.raster question

Markus Neteler neteler at osgeo.org
Mon Mar 16 08:48:44 PDT 2020


Hi,

On Mon, Mar 16, 2020 at 4:37 PM Valter Albino <valteralbino at gmail.com>
wrote:

> Hi,
>
> When converting from lines to raster using v.to.rast, the result is good
> when still a temporary file, but when i saved it, the lines are know
> disconnected:
>

... what are your steps in detail?
v.to.rast generates directly a raster map, which temporary file do you
refer to?
And when you export this raster map to e.g. GeoTIFF with r.out.gdal, it is
done at the resolution and extent of the computational region.

Pseudo-code

1. g.region .... set to desired raster resolution and extent (bounding box)
2. v.to.rast ....
3. r.out.gdal ...

Best,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200316/14c920ab/attachment.html>


More information about the grass-user mailing list