|
|
|
|
@ -1,30 +1,69 @@
|
|
|
|
|
Connect to GeoServer
|
|
|
|
|
QWC2_Tools
|
|
|
|
|
======================
|
|
|
|
|
|
|
|
|
|
This section shows how to connect map layer(s) to GeoServer.
|
|
|
|
|
This section shows how to use the QWC2_Tools QGIS Plugin for publishing your maps.
|
|
|
|
|
|
|
|
|
|
Note that the plugin is not required. You can publish your QGIS Projects by uploading them via your control panel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Create or Edit Map
|
|
|
|
|
1. Install
|
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
Add a new map or edit an existing map.
|
|
|
|
|
|
|
|
|
|
.. image:: images/data-source-4.png
|
|
|
|
|
The QWC2_Tools plugin can be installed using the QGIS Plugins Repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Set Layer to GeoServer
|
|
|
|
|
2. Settings
|
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
Click layer(s) and set to GeoServer layer you wish to use.
|
|
|
|
|
|
|
|
|
|
.. image:: images/geoserver-1.png
|
|
|
|
|
Click the Settings icon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_tools_1.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For Auth Type, select Basic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click the create new Configuration:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_tools_3.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enter your qwc_admin username and password. Click Save
|
|
|
|
|
|
|
|
|
|
In the Instance Publish URL field, enter:
|
|
|
|
|
|
|
|
|
|
https://yourdomain.com/default/publish
|
|
|
|
|
|
|
|
|
|
Where 'yourdomain.com' is your QWC2 domain (or sub domain)
|
|
|
|
|
|
|
|
|
|
In the Authentication URL field, enter:
|
|
|
|
|
|
|
|
|
|
https://yourdomain.com/default/auth/login/
|
|
|
|
|
|
|
|
|
|
Where 'yourdomain.com' is your QWC2 domain (or sub domain)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_tools_2.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
If you have created mutliple Tenants, be sure to connect as the correct Tenant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Select the scan directory and click "Upload Project" as shown below
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_tools_0.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
If you have created mutliple Tenants, be sure to connect as the correct Tenant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click the Update button.
|
|
|
|
|
|
|
|
|
|
Your map is now connected to your GeoServer and will update when GeoServer updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/Quick-Start-Login-22-min.png
|
|
|
|
|
|
|
|
|
|
|