Skip to main content
100%

Gist 80f99a186a44e6fa1930f2a08618d498

✓ Published0🌍 Public
TThomasG77
Last edited Jul 23, 2021
Created on Jul 23, 2021

This visualization displays a QGIS project containing world map layers—countries, states, provinces, and disputed borders—from the bundled `world_map.gpkg` GeoPackage, alongside JSON-derived point layers for contributors, hackfests, and user groups. Using the QGIS Python API, the script loads each vector layer via `QgsVectorLayer` with OGR drivers, adds them to the project through `QgsProject.instance().addMapLayers`, and enables a retro canvas style by setting `iface.mapCanvas().setProperty("retro", True)` before refreshing. The example demonstrates procedural map composition from built-in geodata files.

AI-generated description

Similar vizzes