Skip to main content

Is there anyone here already converted esri file gdb or shapefiles to mbtiles? I tried but it's giving me this errors:

MBTILES writer: Failed to obtain raster from feature. Only features with raster geometry are expected

A fatal error has occurred. Check the logfile above for details

Thanks for the help.

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.


Reply