gdal_viewshed
gdal_viewshed -md 10000 -ox 12509311 -oy 4769484 -a_nodata 0 srtm_59_05_3857.tif viewshed.tif
gdal. ViewshedGenerate
from osgeo import gdal
ds = gdal.Open('srtm_59_05_3857.tif')
band = ds.GetRasterBand(1)
gdal.ViewshedGenerate(srcBand=band, driverName='GTiff', targetRasterName='viewshed.tif', creationOptions=None, observerX=12509311, observerY=4769484, observerHeight=2, targetHeight=0, visibleVal=255, invisibleVal=0, outOfRangeVal=0, noDataVal=0, dfCurvCoeff=0.85714, mode=2, maxDistance=10000)
effect
Read More:
- Python import GDAL failed: DLL load failed. The specified module cannot be found.
- Python – writing visual interface (Python + pycharm + pyqt)
- Domain error in object XXX “other” domain “other” rejected values and atm913
- Python data analysis dataframe converts dates to weeks
- There is a problem with Microsoft Visual C + + 14.0 about Python installation package
- Error from Python installation Library: Microsoft Visual C + + 14.0 is required
- Ajax error reporting cross domain, AJAX cross domain access error 501 solution
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C + + build tools” problem
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C”++
- 【ValueError: math domain error】
- Can’t find Python executable “D:\python3\python.exe”, you can set the PYTHON env variable.
- Error:kCFStreamErrorCodeKey=-2102 Domain=kCFErrorDomainCFNetwork Code=-1001 – iOS
- Springboot plus cross domain annotation @crossorigin startup error
- Solved: No’Access-Control-Allow-Origin’ cross-domain issue
- Solution to cross domain sharing problem of session
- Could not launch “” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Rea
- Nginx configures different domain names to access different projects
- [MacOS] brew install 404:Bottle missing, falling back to the default domain…
- [Error report] PSpice frequency domain simulation AC Sweep “ERROR(ORPSIM-16103): Invalid value”
- Analysis of “RSL error 1 of 1”