QWC2-Docs/docs/source/createdb.rst

41 lines
774 B
ReStructuredText
Raw Permalink Normal View History

2024-05-26 18:00:47 +00:00
Create Database
======================
If you do not have an existing PostGIS database, you can create one from your QGIS Project.
1. Export your layer(s)
------------------------
Right click on layer > Export > Save As > GeoPackage
.. image:: images/create-db-1.png
2. Upload GeoPackages
-------------------------
Go to Data Sources > Create and upload your GeoPackage(s).
.. image:: images/create-db-2.png
2024-05-27 09:26:12 +00:00
3. Data Source is Created
2024-05-26 18:00:47 +00:00
-------------------------------
Set your map layer(s) to use your new Data Source
2024-05-27 09:26:12 +00:00
.. image:: images/qwc_conn_info_0.png
2024-05-26 18:00:47 +00:00
2024-05-27 09:26:12 +00:00
4. Connection Information
2024-05-26 18:00:47 +00:00
-------------------------------
2024-05-27 09:26:12 +00:00
You can retrieve the database connection information at any time by clicking the Connection link.
2024-05-26 18:00:47 +00:00
2024-05-27 09:26:12 +00:00
.. image:: images/qwc_conn_info.png
2024-05-26 18:00:47 +00:00