Question

Output WebMapTiles to one MBTiles database

  • 21 February 2023
  • 2 replies
  • 6 views

Badge +3

I have been asked to convert network vector data to raster tiles using the MBTiles writer. For my specified dataset zoom levels 5 - 10 have been requested

Producing this hasn't been an issue but the problem is that the requestor wants a single MBTiles file and my workspace outputs 313, the number of rasters generated.

How can output a single MBTiles file that still contains all the zoom_level, tile_column and tile_row attribution required to use the raster files in a leaflet map?

 

Capture 

 


2 replies

Userlevel 2
Badge +17

Hi @nedwaterman​,

I don't think you need the WebMapTiler transformer - the MBTiles writer will automatically tile and create the zoom levels for you, based on the settings in the Zoom Levels section of the output feature type Properties.

Badge +3

Thanks Dave - this has been driving me nuts! I marvel at the power of FME...

Thanks for your help!

Reply