mapbox / mapbox-studio-classic

https://www.mapbox.com/mapbox-studio/
BSD 3-Clause "New" or "Revised" License
1.14k stars 229 forks source link

why can't I export tiles to local disk? #1453

Closed wsf1990 closed 9 years ago

wsf1990 commented 9 years ago

I use the Mapbox Studio on windows, But I can't export the tile data to local disk?Dose it must work on the server?

wilhelmberg commented 9 years ago

@wsf1990 any error message?

wsf1990 commented 9 years ago

I cant find the function or the menu to export,Do you have the usage of studio?Many Thanks!

wilhelmberg commented 9 years ago

Links to tutorials are on the main page of this repository: https://github.com/mapbox/mapbox-studio#getting-started

You can export vector tiles from a Source Project (after saving):

image

wsf1990 commented 9 years ago

Thanks!I'll try it next day!Thanks

wsf1990 commented 9 years ago

Dear BergWerkGIS: I have tried to export,It's success,but why this mbtiles just have raster tile not vector tile?the table of grid_data is empty.Dose it need any settings?

wilhelmberg commented 9 years ago

why this mbtiles just have raster tile not vector tile?

I'm not quite sure I understand correctly, but are you saying that there are raster tiles in the exported mbtiles?

There shouldn't. It should contain vector tiles only, as you exported from the Source Project.

If you want to get raster tiles, you might want to look into @mojodna 's tl.

You can pass an Mapbox Studio Style Project to it and get raster tiles: https://github.com/mojodna/tl#usage

wsf1990 commented 9 years ago

Thanks! I means when I exprot mbtiles and download to local disk,I open the mbtiles by sqlite program,But I found that the view of grid_data is empty,Is this view stored vector tiles?the view of tiles have the data of raster tiles,So I suppose that can it export vector tiles! Thanks!