Update docs/source/createdb.rst

This commit is contained in:
AcuGIS 2026-02-04 10:18:41 +00:00
parent f894b9b1c2
commit d5ef914efe
1 changed files with 20 additions and 20 deletions

View File

@ -1,40 +1,40 @@
Create Database
======================
If you do not have an existing PostGIS database, you can create one from your QGIS Project.
You can create PostGIS databases via your QWC2 control panel.
You can create emtpy PostGIS databases or databases from GeoPackages, Shapefiles, or PostgreSQL Dump Files.
Below, we'll create a new, empty PostGIS database.
1. Go to PostGIS
On the PostGIS Menu, click the Import tab
.. image:: images/PostGIS-6-Create-Database.png
1. Export your layer(s)
------------------------
Right click on layer > Export > Save As > GeoPackage
.. image:: images/create-db-1.png
2. Check the "Only create PostGIS database" checkbox
2. Upload GeoPackages
-------------------------
Go to Data Sources > Create and upload your GeoPackage(s).
.. image:: images/create-db-2.png
.. image:: images/PostGIS-21-Create-Empty-DB.png
3. Data Source is Created
-------------------------------
3. Enter the name of your new database.
Set your map layer(s) to use your new Data Source
.. image:: images/qwc_conn_info_0.png
.. image:: images/PostGIS-22-Create-Empty-DB.png
4. Connection Information
-------------------------------
4. Click Create
You can retrieve the database connection information at any time by clicking the Connection link.
.. image:: images/qwc_conn_info.png