mbutil
mbutil copied to clipboard
Importer and Exporter of MBTiles
I would like to generate tiles only from zoom level 1 to 11 It would be very practical if it was possible to set two parameters for mbutil. Something like:...
please fix this problem,thanks! Traceback (most recent call last): File "H:\mbutil-master\mbutil-master\mbutil-master\mb-util", line 89, in disk_to_mbtiles(directory_path, mbtiles_file, **options.__dict__) File "H:\mbutil-master\mbutil-master\mbutil-master\mbutil\util.py", line 277, in disk_to_mbtiles optimize_database(con, silent) File "H:\mbutil-master\mbutil-master\mbutil-master\mbutil\util.py", line 78, in...
I am pretty sure that the line of code in mb-util that is now ` if os.path.isdir(args[0]) and not os.path.isfile(args[0]): ` should be: ` if os.path.isdir(args[0]) and not os.path.isfile(args[1]): `...
When try to create a pbf files from mbtiles , it will create a compressed files. The added code will uncompress the file
I get this package isn't maintained any more, so no worries if this just sits here, but I found this useful, so someone else might too...
add a try-catch statement for cases where the zoom folder name can not be converted to an integer.
If directory tree contains some unexpected files (such as Thumbs,db on Windows stores and other) directory-to-mbtiles crashed on conversion `int(filename)` Commit #103 fixed them
Fix for ignoring unexpected files (non files with defined extension or grid.json) like Thumbs.db (in Windows stores) and other
Hi! I have a problem when installing mbutil via pip. When running disk_to_mbtiles compression=True, I get the following error: `/home/bror/.local/lib/python3.6/site-packages/mbutil/util.py in disk_to_mbtiles(directory_path, mbtiles_file, **kwargs) 257 258 if kwargs.get('compression', False): -->...
Hello There is error DEBUG:mbutil.util:Exporting MBTiles to disk DEBUG:mbutil.util:C:\Program Files\AggreGate\tiles\2017-07-03_russia.mbtiles --> tiles2 Traceback (most recent call last): File "mb-util", line 80, in mbtiles_to_disk(mbtiles_file, directory_path, **options.__dict__) File "D:\_Install\MapRetreive\mbutil-master\mbutil\util.py", line 298, in...