Open rhewitt22 opened 10 years ago
Haven't checked into this, but I think you have to load your own data in order to export mbtiles. Need to verify this, but with studio automating the osm data piece, this might be their way to sustain the new feature.
On Wed, Oct 15, 2014 at 1:04 PM, Roy Hewitt notifications@github.com wrote:
Will look more into this when I get some time. Sounds like TM1 .mbtiles is completely raster, and since MapBox Studio is working with vector tiles some conversion needs to take place.
Some discussion from mapbox studio issues:
- mapbox/mapbox-studio#405 https://github.com/mapbox/mapbox-studio/issues/405
- mapbox/mapbox-studio#373 https://github.com/mapbox/mapbox-studio/issues/373
- springmeyer/vtiles-jamming-econo#1 https://github.com/springmeyer/vtiles-jamming-econo/issues/1
— Reply to this email directly or view it on GitHub https://github.com/MaptimePHL/making-tiles/issues/4.
Patrick Hammons @hamhandedly
I am looking into this right now as well. I have a couple different projects that depend on pre-rendered .mbtiles and I really wish I didnt have to use tilemill for those projects.
This issue could use a comprehensive overview with solutions
There are some notes on how to do this at the link below http://www.azavea.com/blogs/labs/2015/05/converting-mapbox-studio-vector-tiles-to-rasters/
Would the methods on the azavea example violate MapBox's TOS?
I did this just yesterday with https://github.com/twpayne/tilecloud
URI="http://localhost:3000/style/%(z)d/%(x)d/%(y)d.png?id=tmstyle:///Users/fil/myproject.tm2&koam8kth"
./tc-copy -v -o --bounding-pyramid 0/0/0:5/1/1 $URI myproject.mbtiles
to get the value for URI I opened the “debug” panel in Mapbox Studio and copied the address of one of the tiles. The bounding-pyramid
option says that I'm copying the whole world, zooms z0 to z5.
Will look more into this when I get some time. Sounds like TM1
.mbtiles
is completely raster, and since MapBox Studio is working with vector tiles some conversion needs to take place.Some discussion from mapbox studio issues: