https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-04-10T16:18:54ZQGIS Issue TrackingQGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1038862019-04-10T16:18:54ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> changed from <i>GDAL Tools</i> to <i>Processing/GDAL</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Interesting:</p>
<p>same exact command generated in both versions?</p>
<p>can you see any difference in running the command directly from the command line?</p> QGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1039512019-04-12T08:22:22ZKarsten Teblingkarsten.tebling@gmail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Interesting:</p>
<p>same exact command generated in both versions?</p>
<p>can you see any difference in running the command directly from the command line?</p>
</blockquote>
<p>2.18.28:<br />gdal2tiles.bat -s EPSG:25832 -z 10-11 -w leaflet "dop20rgb.tif" "[temporäre Datei]"</p>
<p>3.6.1:<br />python3 -m gdal2tiles -p mercator -z 10-11 -w leaflet -r average -s EPSG:25832 -a 0.0 "dop20rgb.tif" C:/Users/User/AppData/Local/Temp/processing_1dd1e8de74f7470fbdf9aaf10bd70148/a360afbda0ae4404a981ef0a8db4242d/OUTPUT</p>
<p>I have not tried running from the command line, OS is Windows 7 64bit. I don't have python3 installed on the PC, so I think command line won't work unless I set all the environment variables to use the one bundled with QGIS... but I don't know how to do this - can you tell me how I can test this? I installed QGIS via standalone setup, I didn't use osgeo4w.</p> QGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1039582019-04-12T12:42:49ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Karsten Tebling wrote:</p>
<blockquote>
<p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Interesting:</p>
<p>same exact command generated in both versions?</p>
<p>can you see any difference in running the command directly from the command line?</p>
</blockquote>
<p>2.18.28:<br />gdal2tiles.bat -s EPSG:25832 -z 10-11 -w leaflet "dop20rgb.tif" "[temporäre Datei]"</p>
<p>3.6.1:<br />python3 -m gdal2tiles -p mercator -z 10-11 -w leaflet -r average -s EPSG:25832 -a 0.0 "dop20rgb.tif" C:/Users/User/AppData/Local/Temp/processing_1dd1e8de74f7470fbdf9aaf10bd70148/a360afbda0ae4404a981ef0a8db4242d/OUTPUT</p>
</blockquote>
<p>you must compare the <strong>actual</strong> (gdal) commands that are run, you can see them at the top of the Processing/tool log, after you run the tool</p>
<blockquote>
<p>I have not tried running from the command line, OS is Windows 7 64bit. I don't have python3 installed on the PC, so I think command line won't work unless I set all the environment variables to use the one bundled with QGIS... but I don't know how to do this - can you tell me how I can test this? I installed QGIS via standalone setup, I didn't use osgeo4w.</p>
</blockquote>
<p>any QGIS installation comes with an installation of Pyhton.<br />In you QGIS entry in the start menu (assuming you are on Windows) you have a shortcut to a "OSgeo4W shell", from there you can run any gdal utilities program.</p>
<p>If you want to help troubleshoot this you should grab the (gdal) commands as they are created/run by QGIS and try them directly in the shell, and see if the difference of performance is still a thing.</p>
<p>If you are unconortable with all this then please attach a sample project with data and shows us a screenshot of the tool options you are using.</p> QGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1039612019-04-12T13:03:21ZKarsten Teblingkarsten.tebling@gmail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Karsten Tebling wrote:</p>
<blockquote>
<p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Interesting:</p>
<p>same exact command generated in both versions?</p>
<p>can you see any difference in running the command directly from the command line?</p>
</blockquote>
<p>2.18.28:<br />gdal2tiles.bat -s EPSG:25832 -z 10-11 -w leaflet "dop20rgb.tif" "[temporäre Datei]"</p>
<p>3.6.1:<br />python3 -m gdal2tiles -p mercator -z 10-11 -w leaflet -r average -s EPSG:25832 -a 0.0 "dop20rgb.tif" C:/Users/User/AppData/Local/Temp/processing_1dd1e8de74f7470fbdf9aaf10bd70148/a360afbda0ae4404a981ef0a8db4242d/OUTPUT</p>
</blockquote>
<p>you must compare the <strong>actual</strong> (gdal) commands that are run, you can see them at the top of the Processing/tool log, after you run the tool</p>
<blockquote>
<p>I have not tried running from the command line, OS is Windows 7 64bit. I don't have python3 installed on the PC, so I think command line won't work unless I set all the environment variables to use the one bundled with QGIS... but I don't know how to do this - can you tell me how I can test this? I installed QGIS via standalone setup, I didn't use osgeo4w.</p>
</blockquote>
<p>any QGIS installation comes with an installation of Pyhton.<br />In you QGIS entry in the start menu (assuming you are on Windows) you have a shortcut to a "OSgeo4W shell", from there you can run any gdal utilities program.</p>
<p>If you want to help troubleshoot this you should grab the (gdal) commands as they are created/run by QGIS and try them directly in the shell, and see if the difference of performance is still a thing.</p>
<p>If you are unconortable with all this then please attach a sample project with data and shows us a screenshot of the tool options you are using.</p>
</blockquote>
<p>I will try it on monday, but I can't share the files because I don't have the rights to do that.</p> QGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1040612019-04-18T06:10:57ZKarsten Teblingkarsten.tebling@gmail.com
<ul></ul><p>It is displaying the same commands or I'm looking at the wrong windows. I also opened the processing window, but all I could find there was in 2.18:<br />GDAL execution console output<br /> Generating Base Tiles:</p>
<pre><code>0...10...20...30...40...50...60...70...80...90...100</code></pre>
<pre><code>Generating Overview Tiles:</code></pre>
<pre><code>0...10...20...30...40...50...60...70...80...90...100</code></pre> QGIS Application - Bug report #21819: gdal2tiles very slow compared to QGIS 2.18https://issues.qgis.org/issues/21819?journal_id=1040882019-04-18T12:02:55ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Karsten Tebling wrote:</p>
<blockquote>
<p>It is displaying the same commands or I'm looking at the wrong windows. I also opened the processing window, but all I could find there was in 2.18:<br />GDAL execution console output<br />Generating Base Tiles:</p>
<p>0...10...20...30...40...50...60...70...80...90...100</p>
<p>Generating Overview Tiles:</p>
<p>0...10...20...30...40...50...60...70...80...90...100</p>
</blockquote>
<p>have you tried run the commands in the consoles (the osgeo4w console if you are on Windows), and see if there is any difference?</p>