[GRASS-user] v.to.rast with empty vector-file

Achim Kisseler ak7 at jupiter.uni-freiburg.de
Sat Oct 17 10:25:53 EDT 2009


Dear grass users,

has anyone an idea how to handle v.to.rast, if vector-file is empty? ->
it produces an error and no map is created:

Loading data...
ERROR: Database connection not defined for layer 2

I want an null-raster-map instead.

I created the empty vector map with v.extract (in an script)

Thanks,
Achim








More information about the grass-user mailing list