0

won't render tiles that would otherwise be blank.

This cuts down on the number of files outputted and the total size.
This commit is contained in:
Andrew Brown
2010-09-05 13:58:50 -04:00
parent e5edfcbac8
commit ed8ea421fc
3 changed files with 36 additions and 12 deletions

View File

@@ -39,6 +39,9 @@ def main():
print "Generating quad tree. This may take a while and has no progress bar right now, so sit tight."
if not os.path.exists(destdir):
os.mkdir(destdir)
zoom = world.generate_quadtree(results, mincol, maxcol, minrow, maxrow, destdir)
print "DONE"