Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
frasanz committed Sep 22, 2024
1 parent f4baa3d commit 4062a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/templates/task2.html
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ <h3>Lost at night</h3>

map = L.map('map').setView(latLng, 10);
const osmLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
maxZoom: 17,
attribution: '© OpenStreetMap contributors'
});

Expand Down
2 changes: 1 addition & 1 deletion georeferencing/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def patch(self, request, pk=None):
print(command)
os.system(command)
# Now, we create the tiles
command = 'gdal2tiles.py -z 7-12 -r bilinear -s EPSG:4326'
command = 'gdal2tiles.py -z 7-15 -r bilinear -s EPSG:4326'
command += ' georeferenced/'+geoattemp.image.name + geoattemp.hash+'.tif'
command += ' georeferenced/'+geoattemp.image.name + geoattemp.hash
print(command)
Expand Down

0 comments on commit 4062a10

Please sign in to comment.