jgrass {
v.to.rast
--ishapefile-in "/Users/moovida/data/hydrocareworkspace/featuredata/utm/bacino_brenta.shp"
--ograss-out brenta_polygons
--fieldname "netnum"
}
Executing that converts from:

to that:

In this case conversion is based on the value in a field of the shape and on polygons. Obviously it works for all the geometry types.
No comments:
Post a Comment