Preparing FKB data to MBTiles

From Maria GDK Wiki
Revision as of 14:45, 8 March 2022 by Mbu (talk | contribs)
Jump to navigation Jump to search

This guide shows how to process FKB and related data into vector MBTiles datasets using FME 2021 or newer. The result are split into counties. Each county will consist of 3 MBTiles datasets:

  • FKB
  • Road names (elveg)
  • adresses (vegadresse)

FKB

Source data must be downloaded from Geonorge with a valid BAAT user. The large amount of data makes it neccessary to use the tool MassivNedlasting from Kartverket. The following map themes should be downloaded into a single folder. Each theme should consist of one zipped ESRI file geodatabase for each county except for N5 Presentasjonsdata, which as of 2022 is only available split into municipalities.

  • FKB-AR5 FGDB-format
  • FKB-Arealbruk FGDB-format
  • FKB-Bane FGDB-format
  • FKB-BygnAnlegg FGDB-format
  • FKB-Bygning FGDB-format
  • FKB-Ledning FGDB-format
  • FKB-LedningVA FGDB-format
  • FKB-Lufthavn FGDB-format
  • FKB-Naturinfo FGDB-format
  • FKB-Servitutt FGDB-format
  • FKB-Tiltak FGDB-format
  • FKB-TraktorvegSti FGDB-format
  • FKB-Vann FGDB-format
  • FKB-Veg FGDB-format
  • Matrikkelen - Eiendomskart Teig FGDB-format
  • N5 Høydekurve FGDB-format
  • N5 Presentasjonsdata FGDB-format

When all files have been downloaded, use the FME workspace workspacerunner.fmw. Fill in the user parameters input and output. It is also possible to select which counties to process using the parameters Fylker. Runtime will vary, but all of Norway will be at least 12 hours.

When all counties are finished, the Maria GDK products NorwayTopoDetail can be updated using the new MBTiles datasets. All products should first be set to "Draft" in Maria Map Maker. Then quit the application, and replace the existing MBTiles file in the "FKB" folder in the product. Restart Maria Map Maker, and inspect the overlays.