Skip to content

Formats

Data Where in the console Files Becomes
GeoTIFF / BigTIFF Data Stores → GeoTIFF One .tif or .tiff with an EPSG coordinate system; no ZIP A raster layer
GeoPackage Data Stores → GeoPackage .gpkg or a ZIP A vector layer per table; with several tables you choose which to publish
Shapefile Data Stores → Shapefile A ZIP, or the parts (.shp, .shx, .dbf, .prj, .cpg, .sbn, .sbx; at most 12) A vector layer; include the .prj
PostGIS Data Stores → PostGIS (administrators) A connection Layers read live on every request, or copied as a snapshot
Remote WFS Data Stores → WFS service (administrators) A WFS 1.0, 1.1 or 2.0 address, without a user name or password A vector layer read live on every request
CADRG/CIB, ADRG, ASRP/USRP, NITF Data Stores → Military map product One ZIP (CADRG/CIB with A.TOC), or one .ntf, .nitf or .nsf Up to 16 raster layers, as Cloud Optimized GeoTIFF; palette charts are expanded to RGB
VPF (VMap0/1, DNC) Data Stores → Military map product A ZIP of the VPF database A GeoPackage store with one table per feature class
AIXM 5.1 Data Stores → Aeronautical (AIXM) .xml, .aixm or a ZIP Up to three vector layers: airspaces, points and routes
GRIB 1 and 2 Data Stores → Weather (GRIB) .grb, .grb2, .grib, .grib2 or a ZIP One raster layer per parameter, with a WMS TIME dimension
S-57 ENC ENC Charts → Import cells An exchange set ZIP, or cell files (.000) with their updates and CATALOG.031 One chart, drawn with S-52
S-63 encrypted ENC ENC Charts → Import cells An exchange set ZIP with PERMIT.TXT; the server needs LOKA_S63_HW_ID One chart; see S-63 encrypted ENC
DTED, elevation GeoTIFF Elevation → Import A ZIP, .dt0–.dt2 files, a DTED folder, or one-band GeoTIFFs (converted to DTED) An elevation layer for terrain services and analysis
3D Tiles 1.0 / 1.1 3D Tiles → import One ZIP with tileset.json at its top (or in one top folder) A hosted tileset, served as delivered
Aeronautical chart of the Jakarta area with airspaces, routes, aerodromes and navaids
AIXM 5.1 → airspaces, points and routes.
Nautical chart of San Francisco Bay in S-52 colours
S-57 cells → one ENC chart.
Wind speed over Java with wind arrows
GRIB → one raster layer per parameter.
Oblique view of thousands of light 3D buildings around Sudirman, Jakarta
Building footprints → 3D Tiles.

GeoJSON, KML/KMZ, CSV and MBTiles cannot be imported. Convert them to GeoPackage first, for example with ogr2ogr.

ENC charts need the S-52 presentation files on the server (enc-presentation/ in the data directory); without them the import answers 503 ENC_NOT_CONFIGURED.

A polygon layer with height attributes can be turned into a 3D Tiles 1.1 tileset of buildings; apart from that, Loka does not build or convert tilesets.

LOKA_MAX_UPLOAD_BYTES sets the largest upload. It is not set by default, which means no limit of its own; a larger upload answers 413 UPLOAD_TOO_LARGE. Each importer also has a ceiling:

Import Largest upload
AIXM 512 MiB
GRIB 2 GiB
GeoPackage, Shapefile 4 GiB (a ZIP entry at most 2 GiB)
ENC 4 GiB, at most 2,000 cells and 400 files
Elevation 20 GiB, at most 20,000 cells
Military map products 40 GiB, 4 GiB per file
3D Tiles 50 GiB, 1 GiB per file
GeoTIFF Only LOKA_MAX_UPLOAD_BYTES
Service Formats
WMS (layers, groups, ENC charts, elevation) PNG, at most 2048 × 2048 pixels; SRS native, EPSG:4326 or EPSG:3857
WMTS, XYZ, TMS PNG tiles from MapCache
WFS GeoJSON (application/geo+json, one layer per response), GML 2, GML 3, GML 3.2
WCS GeoTIFF with the raster’s own values, not the styled picture
Vector tiles Mapbox Vector Tiles (.pbf), zoom 0–22, TileJSON up to zoom 14
Elevation Terrain-RGB (Terrarium) PNG tiles, Quantized Mesh, DTED cells, WCS GeoTIFF, hillshade WMS
3D Tiles The tileset’s own files

DTED cells are always served with heights above sea level; Terrain-RGB can be ellipsoid or EGM96, chosen at import (3D heights).