What would be the neccessary prerequisites to run a map/tile-server (serving raster tiles) using an exported vector source and tm2z-styleset?
Has anyone set up a working environment for that?
Is Tessera a possible package for such a case?
What would be the neccessary prerequisites to run a map/tile-server (serving raster tiles) using an exported vector source and tm2z-styleset?
Has anyone set up a working environment for that?
Is Tessera a possible package for such a case?
Yes. tessera was built for exactly this use-case. See tilelive-tmstyle.
To run, first make sure that your tm2
project.yml
file points at a local source (e.g. mbtiles:///path/to/archive.mbtiles
), then:
npm install tessera tilelive-tmstyle mbtiles
node_modules/.bin/tessera tmstyle:///path/to/project.tm2
Not sure if that fits to your use case, but I managed to self-host my exported vector tile source with tilelive and consume the vector tiles with Mapbox GL JS. See my answer to my related question. Styling is done in Mapbox GL format not with tm2z.
.tm2z
file). Instead you should export a source. To do that, in menu point Styles & Sources
(lower left corner) switch to Sources
. Create or load a source and in menu Settings
do Export to MBTiles
.
Commented
Oct 29, 2015 at 20:04
.shp
format that can be used with Mapbox Studio.
Commented
Nov 1, 2015 at 14:30