Skip to content

krrishj2000/dem_rotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

dem_rotate(input_geotiff, output_geotiff, rotation_angle)

Use case: For GIS based processes where rotation of a digital elevation model/any other geotiff is required. Example: For flood modelling, it doesnt matter what the orientation of the valley is. If you could rotate the DEM, it can be cropped more tightly (orienting the valley along the diagonal of a rectangle, for example). This helps reduce the size of the input tif file, which directly controls how fast the model can run.

Credits: https://gis.stackexchange.com/questions/131465/gdal-rotate-dem

Logic: It converts the file first into transverse mercator for the given longitude. then it reprojects into a oblique mercator projection, whose azimuthal angle is alpha. so it is like rotating the earth below

image

About

Rotates a digital elevation model by a user-specified angle in degrees (using crs transform)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages