QMS_SURFACEDB(1) QMS_SURFACEDB(1) NAME qms_surfacedb - build a QMapShack surface database from an OpenStreetMap extract SYNOPSIS qms_surfacedb [-n|--name ] [-q|--quiet] source target DESCRIPTION Reads the roads and paths of an OpenStreetMap extract (.osm.pbf) and writes them with their surface and way type into a surface database (.surface.sqlite). Put the database into one of the paths set up in QMapShack's "Create Surface Database" tool. QMapShack then shows the surfaces and way types of every track it covers. This is the same as the "Create Surface Database" tool of qmapshack(1), without the GUI, e.g. for a script that also builds the Routino databases. OPTIONS -h, --help Displays the help. -v, --version Displays the version. -n, --name The name of the region shown in QMapShack. Default: the target file name up to the first dot. -q, --quiet No progress output. ARGUMENTS source The OpenStreetMap extract, e.g. belgium-latest.osm.pbf from download.geofabrik.de. target The database file to write, e.g. Belgium.surface.sqlite. An existing file is replaced only when the new database is complete. EXIT STATUS 0 on success, 1 on an error, which is printed to standard error. SEE ALSO qmapshack(1) AUTHOR qms_surfacedb was written by Gert Pellin . Oct 2026 QMS_SURFACEDB(1)