This commit is contained in:
AcuGIS 2024-05-27 12:26:31 +03:00
commit 28bb1dce8f
3 changed files with 17 additions and 55 deletions

View File

@ -22,23 +22,19 @@ Go to Data Sources > Create and upload your GeoPackage(s).
.. image:: images/create-db-2.png .. image:: images/create-db-2.png
3. Set Layers to Data Source 3. Data Source is Created
------------------------------- -------------------------------
Set your map layer(s) to use your new Data Source Set your map layer(s) to use your new Data Source
.. image:: images/select-data.png .. image:: images/qwc_conn_info_0.png
4. Change QGIS Data Source 4. Connection Information
------------------------------- -------------------------------
Optionally, you can now also set your QGIS Project to use your new database as well. You can retrieve the database connection information at any time by clicking the Connection link.
Just right click on the layer(s) > Change Data Source
Select the PostGIS data source you created above.
.. image:: images/create-db-3.png .. image:: images/qwc_conn_info.png

View File

@ -2,55 +2,16 @@
Connect to PostGIS Connect to PostGIS
====================== ======================
This section is a Quick Start to connecting your published maps to their original Data Source to make them dynamic. If your QGIS Project uses an existing PostGIS database, you need to enter the Service details.
You can connect to a PostGIS Data Source or GeoServer Data Source. You can connect to a PostGIS Data Source using below.
1. Go to Connections
---------------------------
On the Connections page, enter the connection details for your PostGIS or Server connection(s) On the Connections page, enter the connection details for your PostGIS or Server connection(s)
.. image:: images/PostGIS-Add-Connection.png .. image:: images/qwc_service_name.png
.. warning::
Be sure to enter the Service name. Your QGIS Project uses the Service name for connections.
You can add an unlimited number of Service names.
2. Go to Maps and click the edit link
---------------------------
.. image:: images/Dynamic-1.png
3. In Data section click on layer
---------------------------
.. image:: images/Dynamic-2.png
4. Select Connection, Schema, and Table
---------------------------
.. image:: images/PostGIS-Select.png
.. note::
Optionally, you can set Caching for each layer. Cache can be cleared via the Clear Cache link on the Map page or by disabling Cache.
Click the Update button.
That's it!
~~~~~~~~~~~~~
Your map is now connected to your original Data Source and is fully dynamic.
.. image:: images/Quick-Start-Login-22.png
To test, try editing or udpating some data
.. image:: images/Quick-Start-Login-23.png

View File

@ -2,6 +2,11 @@
Quick Start Quick Start
===== =====
This is a Quick Start Guide for our QWC2 Hosting.
Note that each item is covered in detail in subsequent sections of this documentation.
1. Log in to your control panel. 1. Log in to your control panel.
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -77,7 +82,7 @@ ON the home page, click the link to your new map:
Your map has been published! Your map has been published!
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: images/qwc_publish.png .. image:: images/qwc_published.png