I have used mbutil on Ubuntu. It's a very handy tool. I am curious if there is any way to use it on a Windows 64 bit machine. If there is a way please help me to do so.
Per the answer by BradHards, yes it is a Python script so it will work in Windows. I was able to use it in Windows 7 after installing ActivePython.
(I first tried using IronPython but ran into problems with getting the required sqlite module to work)
- Install ActivePython or another python that has sqlite.
- Install mbutil (I just downloaded the zip archive and extracted to c:\)
- From command line, run "setup.py install" to install mbutils
- From command line, I copied mb-util > mb-util.py for convenience. So you can use "mb-util.py" instead of "python mb-util"
- Run "mb-util.py -h", you should see the help information and now be able to use mbutil!
Its a python script, so it should run anywhere. If you don't have python for Windows, you may like to download and install ActiveState python.
Rather trying to use git on windows, the easiest way to get the python script is via a .zip download provided by github. The direct URL: https://github.com/mapbox/mbutil/archive/master.zip
Unzip that, and you should be able to run it on a command line window.
You can try cygwin software :
1.Copy the .mbtiles file to cygwin. Assuming that you installed "cygwin" at it's default directory the user home is mapped to c:\cygwin\home\
2.Run the following command: mb-util --scheme=osm Freguesias.mbtiles Freguesias
hope it will help you..
Nice explanation available on following Pedros'blog