Skip to content

Commit 1af39a3

Browse files
cardermyellowcap
authored andcommitted
Added back the removal of temporary file in parser. Added fix for Windows/GDAL file locking issue
1 parent 7f14060 commit 1af39a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

raster/tiles/parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ def process_quadrant(self, indexrange, zoom):
412412
RasterTile.objects.bulk_create(batch)
413413

414414
# Remove quadrant raster tempfile.
415-
# os.remove(dest_file_name)
415+
snapped_dataset = None
416+
os.remove(dest_file_name)
416417

417418
def push_histogram(self, data):
418419
"""

0 commit comments

Comments
 (0)