Skip to content

Commit

Permalink
Added back the removal of temporary file in parser. Added fix for Win…
Browse files Browse the repository at this point in the history
…dows/GDAL file locking issue
  • Loading branch information
carderm authored and yellowcap committed May 18, 2021
1 parent 7f14060 commit 1af39a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion raster/tiles/parser.py
Expand Up @@ -412,7 +412,8 @@ def process_quadrant(self, indexrange, zoom):
RasterTile.objects.bulk_create(batch)

# Remove quadrant raster tempfile.
# os.remove(dest_file_name)
snapped_dataset = None
os.remove(dest_file_name)

def push_histogram(self, data):
"""
Expand Down

0 comments on commit 1af39a3

Please sign in to comment.