I would do as follows: (Notice that each street type will become a *separate* raster)
On 11/9/18 1:49 PM, Alessandro
Sebastiani wrote:
where_str = ("type = %s" % typ) outrast = "_".join(["type", typ]) gscript.run_command("v.to.rast", input = "road_clip", type = "line", where = where_str, output = outrast, use="attr", attribute_column =
"cat" )
-- Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab cell: +972-523-665918 |
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user