should still make the tiledir even if destdir exists
This commit is contained in:
6
gmap.py
6
gmap.py
@@ -41,9 +41,9 @@ def main():
|
|||||||
|
|
||||||
if not os.path.exists(destdir):
|
if not os.path.exists(destdir):
|
||||||
os.mkdir(destdir)
|
os.mkdir(destdir)
|
||||||
tiledir = os.path.join(destdir, "tiles");
|
tiledir = os.path.join(destdir, "tiles");
|
||||||
if not os.path.exists(tiledir):
|
if not os.path.exists(tiledir):
|
||||||
os.mkdir(tiledir)
|
os.mkdir(tiledir)
|
||||||
|
|
||||||
zoom = world.generate_quadtree(results, mincol, maxcol, minrow, maxrow, tiledir)
|
zoom = world.generate_quadtree(results, mincol, maxcol, minrow, maxrow, tiledir)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user