Re: [gdal-dev] use gdal_viewshed

2022-08-30 Thread Even Rouault
Hi, The -cc parameter is only taken into account if there's a CRS associated to the DEM, as the sphere diameter isn't hardcoded to be the one of Earth. So you should first check that there's a lunar one associated to yours If you use PROJ >= 8.1, you can use IAU:30100 or otherwise the PROJ4

[gdal-dev] use gdal_viewshed

2022-08-29 Thread Bradner, Kevin M. (ARC-TI) via gdal-dev
Hello, I'm interested in using gdal_viewshed to calculate a viewshed for a point on the surface of the Moon. My DEM stores heights relative to a reference sphere approximately the size of the Moon. Could I calculate a valid viewshed f