Skip to main content
Question

Create GeoPackage tiles

  • November 7, 2025
  • 2 replies
  • 44 views

magnus
Contributor
Forum|alt.badge.img+6

I'm trying to use FME 2025.0 to create a GeoPackage tiles file. It should contain a few Norwegian raster products, such as N50, N100 and N250. The idea is to mimic the properties of the Swedish product “Topografisk webbkarta Nedladdning, raster”, in the sense that the Swedish product contains a single table in the gpkg file and it shows different raster data at different scales. I am having trouble recreating this with the Norwegian products. I´m stuck at creating a separate tables for each data set or a single table that only contains a single data set. This use case is not discussed at, for example, https://support.safe.com/hc/en-us/articles/37417604217357-Creating-OGC-Compliant-GeoPackage-Files#h_01JXXGG7338W04GD0DRBY7VJCV. Any help appreciated.

 

Norwegian products: https://www.kartverket.no/en/on-land/kart/kartbilder

Swedish product: https://www.lantmateriet.se/sv/geodata/vara-produkter/produktlista/topografisk-webbkarta-nedladdning-raster/

 

Magnus

2 replies

jamatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • November 13, 2025

Hi ​@magnus ,

Just to clarify, are you aiming for one seamless GeoPackage/table that switches between between raster datasets (N50/N100/N250) at different zoom levels, similar to how an online web map adjusts content as you zoom? Or do you just want to store all raster layers into a single geopackage table?

If so, this functionality isn't supported by the OGC GeoPackage Tile writer which can only build a single tile table per input raster feature. If you're following the tutorial, this means each mosaicked raster is treated as its own tile table, so the writer will create a separate table for every input rather than combining them. In your case, since the N50, N100, and N250 are distinct raster layers, the writer doesn't support merging multiple inputs into one table, nor can it assign specific rasters to particular zoom ranges. With that said, you can still store all the raster layers into separate tables within the same file as you already observed.

Sorry for the bad news, but I hope this helps explain the limitations!


magnus
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • November 21, 2025

Hi

I´m aiming for one seamless GeoPackage/table that switches between between raster datasets (N50/N100/N250) at different zoom levels. I´ll see if I can get GDAL to solve this for me.