Skip to content
EN

Upload a GeoPackage

A GeoPackage (.gpkg) is a single-file database that can hold many layers at once — points, lines, and polygons together. It’s the format CollMap itself uses for room export, so it round-trips cleanly.

  1. Open the Upload Layer tab and choose your .gpkg file.
  2. Name it and upload. Every table in the GeoPackage is imported as its own layer; point tables become markers.

A populated room after importing a multi-layer GeoPackage.

The test suite ships a world-travel-room.gpkg fixture (~1.5 MB) containing 25 world cities as markers plus their boundary polygons, with dates that populate the timeline — a good example of how much a single .gpkg can carry. There’s also a small geopackage-format-example.gpkg if you want to inspect the structure.

Terminal window
curl -X POST "$API/api/layers/upload" -H "Authorization: Bearer $TOKEN" \
-F "roomName=$ROOM" -F "layerName=world-travel" -F "file=@world-travel-room.gpkg"