Thursday 30 July 2015

dem - Simulate sun movement


Are there any software packages/solutions that allow me to simulate the movement of sun or direction of sunlight over a period of time (e.g. 24 hours)?



My purpose is to determine the regions cast in shadow for different times of day, when used in combination with a DEM.



Answer



There are some tools that will meet your needs:



  1. GRASS GIS r.sunmask tool - which will perform fully automatic shadow cast computation based on DEM. It is based on SOLPOS 2.0 sun position algorithm. Please refer to detailed description on GRASS manual webpage.

  2. SAGA-GIS Analytical Hillshading module - this tool will also derive shadow cast but it's not as automatic as GRASS one. Apart from delivering DEM to SAGA you will also need to input detailed sun position information. To do so: extract WGS84 coordinates of DEM center point, use this solar position calculator pass computed solar azimuth and elevation angle as inputs in Analytical Hillshading module. Attention: only northern hemisphere positions are supported.

  3. ESRI's ArcGIS Sun Shadow Volume (3d Analyst) - as far as I remember this tool is also provided with sun position calculation algorithm. Haven't been using this one in a while so I will refer to official instructions.


Using those enlisted modules you can create rasters for any time interval an then create an animation if needed.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...