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.
- Flutter SocketException: OS Error: No route to host, errno = 113, address = XXX
- Tomcat starts front-end engineering error [How to Solve]
- Linux edit save file command
- Error lnk2038 occurred during PCL code compilation: detected “error” during PCL code compilation_ ITERATOR_ DEBUG_ Mismatch of level: value ‘0’ does not match value ‘2’ solution
- Latex wave line~
- Top background execution: Top: failed TTY get error
- phpstudy Error while setting value ‘STRICT_TRANS_TABLES, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION
- FTP 550 Failed to change directory
- Typeerror: write() argument must be STR, not bytes and the method of writing binary file in Python 3
- Solve the problem of MySQL database report 1055 error
- Typeerror: write() argument must be STR, not bytes and the method of writing binary file in Python 3
- Installation user interface mode not supported solution
- failed to open usb interface: 0, error: RS2_USB_STATUS_ACCESS
- Package pdftex.def Error: PDF mode expected, but DVI mode detected!_ mdpi_ Templatex compilation error in winedt
- Redis: (error) MOVED 8352 192.168.145.128:6380 [How to Solve]
- MySQL:ERROR 1067 (42000): Invalid default value for ‘end_time’
- “class“ object is not subscriptable
- How to Fix RTL8188 “Set Mode” (8B06) Error
- pathspec commit did not match any files known to git