geopkg.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .. _data_geopkg_vector:
  2. GeoPackage
  3. ==========
  4. `GeoPackage <http://www.geopackage.org>`__ is an SQLite based standard format that is able to hold multiple vector and raster data layers in a single file.
  5. GeoPackage files can be used both as Raster Data Stores as well as Vector Data Stores (so that both kinds of layers can published).
  6. Adding a GeoPackage Vector Data Store
  7. -------------------------------------
  8. When the extension has been installed, :guilabel:`GeoPackage` will be an option in the :guilabel:`Vector Data Sources` list when creating a new data store.
  9. .. figure:: images/geopackagecreate.png
  10. :align: center
  11. *GeoPackage in the list of vector data stores*
  12. .. figure:: images/geopackageconfigure.png
  13. :align: center
  14. *Configuring a GeoPackage Vector data store*
  15. .. list-table::
  16. :widths: 20 80
  17. * - **Option**
  18. - **Description**
  19. * - :guilabel:`database`
  20. - URI specifying geopackage file.
  21. * - :guilabel:`user`
  22. - User to access database.
  23. * - :guilabel:`passwd`
  24. - Password to access database.
  25. * - :guilabel:`namespace`
  26. - Namespace to be associated with the database. This field is altered by changing the workspace name.
  27. * - :guilabel:`max connections`
  28. - Maximum amount of open connections to the database.
  29. * - :guilabel:`min connections`
  30. - Minimum number of pooled connections.
  31. * - :guilabel:`fetch size`
  32. - Number of records read with each interaction with the database.
  33. * - :guilabel:`Connection timeout`
  34. - Time (in seconds) the connection pool will wait before timing out.
  35. * - :guilabel:`validate connections`
  36. - Checks the connection is alive before using it.
  37. When finished, click :guilabel:`Save`.