Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

gdal2tiles generating nosensical data

$
0
0

I’m trying to convert a global irradiance map – generated by r.sun – into tiles to be layered onto OpenLayers using gdal2tiles. However, every single one of my outputs is turning into white noise and I can’t seem to find the issue.

The output images all look something along the lines of this, no matter the resolution:

gdal2tiles 0 output

The command QGIS is running is

gdal2tiles.bat -p raster -w openlayers "D:\Google Drive\Tucson_Sol\14S14E07_3ft\global\monthly\total_sun_apr_sum.tif" "D:\Google Drive\Tucson Solar Map\OpenStreetMap Tiles\14S14E07_3ft\January\dem"

and the output has no issues:

Algorithm gdal2tiles starting...
GDAL command:
cmd.exe /C gdal2tiles.bat -p raster -w openlayers "D:\Google Drive\Tucson_Sol\14S14E07_3ft\global\monthly\total_sun_apr_sum.tif" "D:\Google Drive\Tucson Solar Map\OpenStreetMap Tiles\14S14E07_3ft\January\dem" 
GDAL command output:
0...10...20...30...40...50...60...70...80...90...100 - done. 
0...10...20...30...40...50...60...70...80...90..Generating Base Tiles: 
Generating Overview Tiles: 
.100 - done. 
Converting outputs
Loading resulting layers
Algorithm gdal2tiles finished

Has anyone run into an issue like this?


Viewing all articles
Browse latest Browse all 397

Trending Articles