Hi, GDAL version 2.4.0 is not supported any more. I had a try with 3857.pdf with GDAL 3.1.7 and Python 3.7 by running gdal2tiles -r average -z 12-18 3857.pdf
Process took 15 seconds with my Windows laptop. I guessed you meant -r average because -t antialias does not exist to my knowledge. -Jukka Rahkonen- Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org> Puolesta pepijn.sze...@tractebel.engie.com Lähetetty: maanantai 15. marraskuuta 2021 10.44 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] gdal2tiles EPSG:3857 Out of Memory Dear all, I assume this belongs to this mailing list instead of the GitHub Issues. Find attached 2 pdf (plots from QGIS) of the same area, but plotted in EPSG:3857 and EPSG: 31370. (if attachments are not allowed: there is nothing special about what is on the pdf: it's simply 1 styled vector line and 1 labelled vector point). The pdf were checked with gdalinfo. Except for the CRS, I don't notice anything peculiar. Notice this is still gdal 2.4.0. Due to company restrictions gdal 3 tiling runs awfully slow. Maybe the problem is however known to any of you. Windows 10, python 2.7 Task: * Running gdal2tiles on the pdf, with parameters: * -r antialias * -z 12-18 * -processes=30 Problem: * EPSG 31370 runs fine, but due to reprojection labels are slightly rotated * EPSG 3857 plot would fix the above, but for some reason gdal2tiles will not run on this. It barely starts. After waiting long enough error codes start showing in the CMD. The errors contain easily hundreds of line. See below a small excerpt: Out of memory Out of memory 0Out of memory Out of memory Out of memory Out of memory Out of memory Out of memory ERROR 2: Cannot allocate result buffer ERROR 2: memdataset.cpp, 1541: cannot allocate 1x1048576 bytes Out of memory Out of memory Out of memory ERROR 1: Bitmap decoded size (1x1) doesn't match raster size (1024x1024) ERROR 1: C:\Users\MyUser\AppData\Local\Temp\tmpj7_ghurm\e4a8f99b-98d8-4425-b6d1-6540ff951385.vrt, band 2: IReadBlock failed at X offset 5, Y offset 2: Bitmap decoded size (1x1) doesn't match raster size (1024x1024) .Out of memory Out of memory Out of memory Out of memory Out of memory Out of memory Out of memory ERROR 1: C:\Users\MyUser\AppData\Local\Temp\tmpj7_ghurm\e4a8f99b-98d8-4425-b6d1-6540ff951385.vrt, band 1: IReadBlock failed at X offset 1, Y offset 4 10Out of memory Out of memory Out of memory Out of memory Out of memory Out of memory Any pointers? Met vriendelijke groeten, Pepijn SZEKÉR Engineer - Transport Infrastructure pepijn.sze...@tractebel.engie.com <mailto:pepijn.sze...@tractebel.engie.com>M +32 499 61 25 58 [cid:image001.png@01D7DA16.53955430] tractebel-engie.com <http://tractebel-engie.com/> TRACTEBEL ENGINEERING S.A. Ilgatlaan 23 3500 Hasselt - BELGIUM VAT BE 0412 639 681 RPR/RPM Brussels Please consider the environment before printing this document. [cid:image003.png@01D7DA16.53955430]<https://www.linkedin.com/company/tractebel-engie-group> [cid:image004.png@01D7DA16.53955430] <https://twitter.com/Tractebel> [cid:image005.png@01D7DA16.53955430] <https://www.instagram.com/tractebel_company> [cid:image006.png@01D7DA16.53955430] <https://www.youtube.com/tractebelengie> TRACTEBEL Privacy Statement: https://tractebel-engie.com/en/data-privacy ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev