[GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

Daniel Victoria daniel.victoria at gmail.com
Thu Oct 24 05:39:35 PDT 2019

Hi list,

I have a vector polygon map that I'm converting to raster. The attribute
column that I process has some empty rows (no data / null). When I run
v.to.rast, these empty rows become 0 (zero) on my resulting raster map.

Shouldn't v.to.rast respect the empty attribute table and create null
values for those polygons?

For now I'll use r.null to fix this problem. But what if 0 is a valid


PS - Running Grass 7.6.1 on Ubuntu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20191024/af7e42c9/attachment.html>

More information about the grass-user mailing list