[GIS] Create the own MapBox Vector tile and self hosting

mapboxmapbox-gl-jsmbtilespostgisvector-tiles

I understood hosting mbtiles is possible and some solutions are available. I not sure that I can find the answer;
How can I create my own vector tiles (mapbox vector tile format) which from my data stored in postgis or geojson etc.

Should I download mbtiles from mapbox?

Best Answer

As stated by other people, mbtiles were just raster format stored in a sqlite database using a particular specification.

Nowadays, it's seems that it's reuse to store vector tiles using the same scheme.

For vector tiles generation to mapbox vector tile format, you have choices listed at https://github.com/mapbox/awesome-vector-tiles#servers

You can also look at the recent osm2vectortiles project to directly download vector tiles stored in mbtiles. You can serve them following this recipe.