[Qgis-us-user] Help with OSM tile fetch error
David Witkowski
dtwitkowski at okusolutions.com
Mon Aug 7 16:53:07 PDT 2023
Hi all,
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.
*QGIS version: 3.32.1-LimaQGIS code revision: 4a078ecf63Qt version:
5.15.3Python version: 3.9.5GDAL version: 3.7.1GEOS version:
3.12.0-CAPI-1.18.0PROJ version: Rel. 9.2.1, June 1st, 2023PDAL version:
2.5.5 (git-version: a7569c)Algorithm started at:
2023-08-07T16:35:37Algorithm 'r.sunmask.datetime' starting…Input
parameters:{ '-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=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=>',
'hour' : 12, 'minute' : 0, 'month' : 12, 'north' : '37.773120', 'output' :
'TEMPORARY_OUTPUT', 'second' : 0, 'timezone' : -8, 'year' : 2023 }g.proj -c
wkt="C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/b033abdfa37d4fb1b21aadf4794af42e/crs.prj"r.in.gdal
input="crs=EPSG:3857&format&type=xyz&url=https:\tile.openstreetmap.org
<http://tile.openstreetmap.org>\%7Bz%7D\%7Bx%7D\%7By%7D.png&zmax=19&zmin=0&http-header:referer="
band=1 output="rast_64d17fc952aca2" --overwrite -og.region n=37.887902553
s=37.620294204 e=-119.841299649 w=-122.511888567 res=1.0r.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 --overwriteg.region
raster=outputdb7a57ec0eaa48d08058a88cc1ba4166r.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" --overwriteWARNING:
Concurrent mapset locking is not supported on
WindowsC:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco
CA>chcp 1252 1>NULC:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San
Francisco CA>g.proj -c
wkt="C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/b033abdfa37d4fb1b21aadf4794af42e/crs.prj"WARNING:
Updating spatial reference with embedded proj4 definitionDefault 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 defaultProjection
information updatedC:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San
Francisco CA>r.in.gdal
input="crs=EPSG:3857&format&type=xyz&url=https:\tile.openstreetmap.org
<http://tile.openstreetmap.org>\BzD\BxD\ByD.png&zmax=19&zmin=0&http-header:referer="
band=1 output="rast_64d17fc952aca2" --overwrite -oERROR: Unable to open
datasource <crs=EPSG:3857&format&type=xyz&url=https:\tile.openstreetmap.org
<http://tile.openstreetmap.org>\BzD\BxD\ByD.png&zmax=19&zmin=0&http-header:referer=>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.0C:\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 --overwriteCalculating sun
position... (using solpos (V. 11 April 2001) from NREL)Time (12:00:00) is
after sunset (09:58:56)WARNING: Nothing to calculate. Please verify
settings.ERROR: Raster map <rast_64d17fc952aca2> not
foundC:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco
CA>g.region raster=outputdb7a57ec0eaa48d08058a88cc1ba4166ERROR: Raster map
<outputdb7a57ec0eaa48d08058a88cc1ba4166> not
foundC:\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" --overwriteERROR: Raster
map or group <outputdb7a57ec0eaa48d08058a88cc1ba4166> not
foundC:\Users\dtwit\Dropbox\Consulting\EBI Consulting\San Francisco
CA>exitPress any key to continue . . .Execution completed in 1.10
secondsResults:{'output':
'C:\\Users\\dtwit\\AppData\\Local\\Temp\\processing_ulcvyS\\272688360bfa469981b0f220db60fb5f\\output.tif'}Loading
resulting layersThe following layers were not correctly generated.•
C:/Users/dtwit/AppData/Local/Temp/processing_ulcvyS/272688360bfa469981b0f220db60fb5f/output.tif*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-us-user/attachments/20230807/4bb9a396/attachment.htm>
More information about the Qgis-us-user
mailing list