How to convert a GeoJSON to GeoPackage using QGIS

From Tygron Support wiki
Jump to navigation Jump to search

For large vector data files, GeoPackage is more efficient and performant than a GeoJSON, especially when exposed using a Viewer on the GeoShare.

How to convert a GeoJSON to GeoPackage using QGIS:
  1. Open QGIS
  2. Click on Layer in the ribbon bar and select Data Source Manager
  3. Set source type to file
  4. Under Source, click on the Browse button (indicated by ...), navigate to your file and select it.
  5. Click on the Add button to add it to QGIS. The view should zoom in to your features. (unless more layers are active in your QGIS session)
  6. Right click on the added layer, hover over Export and select Save Features As.
  7. In the Save Vector Layer As panel, adjust the format to GeoPackage
  8. Click on the Browse button (indicated by ...), select a destination file and click on OK.