<div dir="ltr">Hello all, I've been trying trying to use the newest gdal_viewshed in gdal-dev release, and I've run into an error I can't quite understand.<div><br></div><div>The input I've been using is:</div><div><br></div><div>    gdal_viewshed -md 1000 -ox "691868.511" -oy "3492031.487" <input tiff> <output tiff></div><div><br></div><div>And I get the response:</div><div><br></div>    ERROR 5: C:\temp\files\out.tif, band 1: Access window out of range in RasterIO().  Requested<br>    (0,-1) of size 67x1 on raster of 67x67.<br><div>    ERROR 1: RasterIO error when writing target raster</div><div><br></div><div>I get a similar error if I try to use the GDALViewshedGenerate C-API function. The input us a valid WGS84-UTM tiff file, and the output is a valid path, but the file does not actually exist until I run the command. After I run the command, the output file is created but only filled halfway. Any help at wall would be appreciated.</div><div><br></div><div>regards, Ben</div></div>