The MBTiles writer creates raster tileset, you cannot create vector tileset with the MBTiles writer.
If you are using FME 2019.2+, you can use the Mapbox Vector Tile (MVT) Tileset Writer instead.
Hi Takashi,
Thanks for the prompt reply. Is this Mapbox Vector Tile (MVT) can I use in Mapbox? I didn't see the extension for this is .mbtiles.
Hi Takashi,
Thanks for the prompt reply. Is this Mapbox Vector Tile (MVT) can I use in Mapbox? I didn't see the extension for this is .mbtiles.
A file with the extension .mbtiles is for a raster tileset, not for vector tileset.
A Mapbox Vector tileset consists of a metadata.json file and folders corresponding to zoom levels, each folder contains subfolders storing .mvt files for each tile.
See also the help to learn more: Mapbox Vector Tile (MVT) and MVT Tileset Reader/Writer (Technology Preview)
If you are attempting to create a raster tileset (mbtiles dataset) from vector geometries stored in a GIS dataset such as File Geodatabase or Shaperile, you will have to convert the vector geometries (point, line, polygon etc.) into an image raster before writing with the MBTiles writer. In order to create a raster from vector geometries, consider using an appropriate transformer - e.g. ImageRasterier or the MapnikRasterizer.
Hi Takashi,
Thanks for the prompt reply. Is this Mapbox Vector Tile (MVT) can I use in Mapbox? I didn't see the extension for this is .mbtiles.
If you are attempting to create a raster tileset (mbtiles dataset) from vector geometries stored in a GIS dataset such as File Geodatabase or Shaperile, you will have to convert the vector geometries (point, line, polygon etc.) into an image raster before writing with the MBTiles writer. In order to create a raster from vector geometries, consider using an appropriate transformer - e.g. ImageRasterier or the MapnikRasterizer.
Any new updates of this question? From my understanding vector data is now possible to produce with FME MapBox MBTiles Vector Tiles (MVT) Reader/Writer. Is there some documentation or typical workflow to read more about usage? I want to convert symbolized vector data, preferably Esri, to a MBTile vector package.
Hi @olofsmitt, you can find the MapBox MBTiles Vector Tiles Reader/Writer documentation here. I don’t believe we have any tutorials on transforming vector data to MBTiles at the moment but please feel free to post a new question on the Community if you run into any issues!