I would like to refresh this tutorial for my purposes - background vector map in one file - just to load in QGIS.

My idea is a script doing this:

  1. Import directly downloaded Openstreetmap PBF file (country PBF from Geofabrik) or cropped (selected region etc.) using ogr2ogr directly to GeoPackage or some temporary working file.
  2. simplify the attribute data - if I need just a basic background map with labels I do not need many attribute data fields and can merge others.

Should I use some temporary file (like Sqlite) for the attribute data manipulation or can I do this with Geopackage directly using set of CLI commands?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.