Method: GeoConcerns::Processors::Raster::Dem.hillshade
- Defined in:
- app/processors/geo_concerns/processors/raster/dem.rb
.hillshade(in_path, out_path, _options) ⇒ Object
Executes a gdal hillshade command. Calculates hillshade on a raster that contains elevation data.
22 23 24 25 |
# File 'app/processors/geo_concerns/processors/raster/dem.rb', line 22 def self.hillshade(in_path, out_path, ) execute "gdaldem hillshade -q "\ "-of GTiff \"#{in_path}\" #{out_path}" end |