QWC2-Docs/docs/source/createdb.rst

41 lines
756 B
ReStructuredText

Create Database
======================
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
2. Check the "Only create PostGIS database" checkbox
.. image:: images/PostGIS-21-Create-Empty-DB.png
3. Enter the name of your new database.
Set your map layer(s) to use your new Data Source
.. image:: images/PostGIS-22-Create-Empty-DB.png
4. Click Create
You can retrieve the database connection information at any time by clicking the Connection link.