roblabs / gdal2tilesp

Enhancements to tile cutter for parallelism and image format support
Other
20 stars 9 forks source link

Enhancements from Stack Overflow #1

Open roblabs opened 8 years ago

roblabs commented 8 years ago

http://gis.stackexchange.com/questions/207166/how-to-add-alpha-chanel-to-mbtiles-in-gdal-translate/207368?noredirect=1#comment315138_207368

I've edited some lines: 
* I changed tileSize from 512 to 256. 
* In worker_base_tiles i removed zoom_limits.put(gdal2tiles.tminz) and tmaxz, because in main at 2601 line queue became empty and thrown me an error. 
* I've changed tminz\tmaxz = gdal2tiles.tminz\tmaxz. i didn't find reason to use put method, because in main you initiate GDAL2Tiles class which has tminz and tmaxz parameters.