<div dir="ltr">Hi all,<div><br></div><div>I'm new to QGIS, teaching myself mostly via YouTube University lol.  I'm trying to run r.sunmask.datetime on a 3D building dataset, over an OpenStreetMap raster layer, but it looks to me like the XYZ tile fetch via GDAL is failing and I'm not sure how to correct the issue.  Am I missing something obvious in the log?  Thanks in advance.</div><div><br></div><div><i>QGIS version: 3.32.1-Lima<br>QGIS code revision: 4a078ecf63<br>Qt version: 5.15.3<br>Python version: 3.9.5<br>GDAL version: 3.7.1<br>GEOS version: 3.12.0-CAPI-1.18.0<br>PROJ version: Rel. 9.2.1, June 1st, 2023<br>PDAL version: 2.5.5 (git-version: a7569c)<br>Algorithm started at: 2023-08-07T16:35:37<br>Algorithm 'r.sunmask.datetime' starting…<br>Input parameters:<br>{ '-s' : False, '-z' : True, 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : '-122.511888567,-119.841299649,37.620294204,37.887902553 [EPSG:4326]', 'day' : 21, 'east' : '-122.419224', 'elevation' : 'crs=EPSG:3857&format&type=xyz&url=<a href="https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0&http-header:referer=">https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0&http-header:referer=</a>', 'hour' : 12, 'minute' : 0, 'month' : 12, 'north' : '37.773120', 'output' : 'TEMPORARY_OUTPUT', 'second' : 0, 'timezone' : -8, 'year' : 2023 }<br><br>g.proj -c wkt="C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/b033abdfa37d4fb1b21aadf4794af42e/crs.prj"<br>r.in.gdal input="crs=EPSG:3857&format&type=xyz&url=https:\<a href="http://tile.openstreetmap.org">tile.openstreetmap.org</a>\%7Bz%7D\%7Bx%7D\%7By%7D.png&zmax=19&zmin=0&http-header:referer=" band=1 output="rast_64d17fc952aca2" --overwrite -o<br>g.region n=37.887902553 s=37.620294204 e=-119.841299649 w=-122.511888567 res=1.0<br>r.sunmask elevation=rast_64d17fc952aca2 year=2023 month=12 day=21 hour=12 minute=0 second=0 timezone=-8 east="-122.419224" north="37.773120" -z output=outputdb7a57ec0eaa48d08058a88cc1ba4166 --overwrite<br>g.region raster=outputdb7a57ec0eaa48d08058a88cc1ba4166<br>r.out.gdal -t -m input="outputdb7a57ec0eaa48d08058a88cc1ba4166" output="C:\Users\dtwit\AppData\Local\Temp\processing_ulcvyS\272688360bfa469981b0f220db60fb5f\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite<br><font color="#ff0000">WARNING: Concurrent mapset locking is not supported on Windows<br></font>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>chcp 1252 1>NUL<br>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>g.proj -c wkt="C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/b033abdfa37d4fb1b21aadf4794af42e/crs.prj"<br><font color="#ff0000">WARNING: Updating spatial reference with embedded proj4 definition<br>Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default<br></font>Projection information updated<br>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>r.in.gdal input="crs=EPSG:3857&format&type=xyz&url=https:\<a href="http://tile.openstreetmap.org">tile.openstreetmap.org</a>\BzD\BxD\ByD.png&zmax=19&zmin=0&http-header:referer=" band=1 output="rast_64d17fc952aca2" --overwrite -o<br><font color="#ff0000">ERROR: Unable to open datasource <crs=EPSG:3857&format&type=xyz&url=https:\<a href="http://tile.openstreetmap.org">tile.openstreetmap.org</a>\BzD\BxD\ByD.png&zmax=19&zmin=0&http-header:referer=><br></font>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>g.region n=37.887902553 s=37.620294204 e=-119.841299649 w=-122.511888567 res=1.0<br>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>r.sunmask elevation=rast_64d17fc952aca2 year=2023 month=12 day=21 hour=12 minute=0 second=0 timezone=-8 east="-122.419224" north="37.773120" -z output=outputdb7a57ec0eaa48d08058a88cc1ba4166 --overwrite<br>Calculating sun position... (using solpos (V. 11 April 2001) from NREL)<br>Time (12:00:00) is after sunset (09:58:56)<br><font color="#ff0000">WARNING: Nothing to calculate. Please verify settings.<br>ERROR: Raster map <rast_64d17fc952aca2> not found<br>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>g.region raster=outputdb7a57ec0eaa48d08058a88cc1ba4166<br>ERROR: Raster map <outputdb7a57ec0eaa48d08058a88cc1ba4166> not found<br></font>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>r.out.gdal -t -m input="outputdb7a57ec0eaa48d08058a88cc1ba4166" output="C:\Users\dtwit\AppData\Local\Temp\processing_ulcvyS\272688360bfa469981b0f220db60fb5f\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite<br><font color="#ff0000">ERROR: Raster map or group <outputdb7a57ec0eaa48d08058a88cc1ba4166> not found<br></font>C:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco CA>exit<br>Press any key to continue . . .<br>Execution completed in 1.10 seconds<br>Results:<br>{'output': 'C:\\Users\\dtwit\\AppData\\Local\\Temp\\processing_ulcvyS\\272688360bfa469981b0f220db60fb5f\\output.tif'}<br><br>Loading resulting layers<br>The following layers were not correctly generated.<br>• C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/272688360bfa469981b0f220db60fb5f/output.tif</i><br><br></div><div><br></div></div>