I need to create image-raster with shadow of relief and shadow of buildings in one. I know how to create shadow of relief but how i can create shadow of buildings with r.sunmask? I dont know how from 2D polygon layer of buildings create shadow of complete buildings.
Answer
You need to run r.sun, not r.sunmask for this task. There are also convenient GRASS GIS addons to run it in hourly or daily mode.
You first need to extrude your buildings with v.extrude, then run the solar computation. See for extrusion "Extrude 2D polygons to 3D" and for a shadow example here.
(image courtesy: Markus Neteler)
(image courtesy: Vaclav Petras)
No comments:
Post a Comment