Skip to main content
Question

Output WebMapTiles to one MBTiles database

  • February 21, 2023
  • 2 replies
  • 24 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
  • 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
  • February 22, 2023

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

Thanks for your help!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings