Skip to main content
Question

Output WebMapTiles to one MBTiles database

  • February 21, 2023
  • 2 replies
  • 35 views

nedwaterman
Contributor
Forum|alt.badge.img+9

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

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • February 21, 2023

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.


nedwaterman
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • 69 replies
  • February 22, 2023

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

Thanks for your help!