Closed justRishi closed 2 years ago
Will I deleted my comment, without having to change the code , RASTER_BATCH_STEP_SIZE can be set to a value in Django settings file, will make the batch that is written to db bulk_create in tiles\parser.py smaller.
Problem when adding raster layer, when processing a Large raster file(2.4GB) with max zoom level 14 the creation of tiles runs into an error at level 13 with:
(see complete stack at the end)
So code where it goes wrong is here at line 412: /raster/tiles/parser.py
last line is 412. Batch string is to long, to many objects.
Complete error log: