Skip to content

Commit 62a364e

Browse files
committed
move to lanczos from deprecated antialias setting
1 parent a377027 commit 62a364e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

topo_map_processor/tools/retile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def create_base_tiles(self, sheets, max_zoom):
183183
print('start creating base tiles')
184184
cmd = [
185185
'gdal2tiles.py',
186-
'-r', 'antialias',
186+
'-r', 'lanczos',
187187
'--verbose',
188188
'-w', 'none',
189189
# N.B. if transperent tiles are excluded, the old data might show through
@@ -210,7 +210,7 @@ def create_upper_tiles(self, z, tiles_to_create):
210210
# N.B. if transperent tiles are excluded, the old data might show through
211211
#'exclude_transparent': True,
212212
'profile': 'mercator',
213-
'resampling': 'antialias',
213+
'resampling': 'lanczos',
214214
'tiledriver': tile_driver,
215215
}
216216
options_dict.update(self.get_tiler_options())

topo_map_processor/tools/tile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def cli():
136136
#os.environ['GTIFF_VIRTUAL_MEM_IO'] = 'TRUE'
137137
cmd = [
138138
'gdal2tiles.py',
139-
'-r', 'antialias',
139+
'-r', 'lanczos',
140140
'--verbose',
141141
'--exclude',
142142
'--resume',

0 commit comments

Comments
 (0)