2024-03-25 22:50:41 +00:00
|
|
|
|
2024-05-09 14:03:20 +00:00
|
|
|
Connect to PostGIS
|
2024-03-25 22:50:41 +00:00
|
|
|
======================
|
|
|
|
|
|
|
|
This section is a Quick Start to connecting your published maps to their original Data Source to make them dynamic.
|
|
|
|
|
|
|
|
You can connect to a PostGIS Data Source or GeoServer Data Source.
|
|
|
|
|
2024-03-28 11:06:45 +00:00
|
|
|
1. Go to Connections
|
2024-05-09 14:03:20 +00:00
|
|
|
---------------------------
|
2024-03-28 11:06:45 +00:00
|
|
|
|
|
|
|
On the Connections page, enter the connection details for your PostGIS or Server connection(s)
|
|
|
|
|
2024-03-28 11:09:43 +00:00
|
|
|
.. image:: images/PostGIS-Add-Connection.png
|
2024-03-28 11:06:45 +00:00
|
|
|
|
|
|
|
|
2024-03-25 22:50:41 +00:00
|
|
|
|
2024-03-28 11:06:45 +00:00
|
|
|
2. Go to Maps and click the edit link
|
2024-05-09 14:03:20 +00:00
|
|
|
---------------------------
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
.. image:: images/Dynamic-1.png
|
|
|
|
|
|
|
|
|
2024-03-28 11:10:12 +00:00
|
|
|
3. In Data section click on layer
|
2024-05-09 14:03:20 +00:00
|
|
|
---------------------------
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
.. image:: images/Dynamic-2.png
|
|
|
|
|
|
|
|
|
2024-03-28 11:10:12 +00:00
|
|
|
4. Select Connection, Schema, and Table
|
2024-05-09 14:03:20 +00:00
|
|
|
---------------------------
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
|
2024-03-28 11:06:45 +00:00
|
|
|
.. image:: images/PostGIS-Select.png
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. note::
|
2024-03-25 22:59:17 +00:00
|
|
|
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.
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
|
2024-03-25 22:59:17 +00:00
|
|
|
Click the Update button.
|
2024-03-25 22:50:41 +00:00
|
|
|
|
2024-03-25 22:59:17 +00:00
|
|
|
That's it!
|
|
|
|
~~~~~~~~~~~~~
|
2024-03-25 22:50:41 +00:00
|
|
|
|
2024-03-25 22:59:17 +00:00
|
|
|
Your map is now connected to your original Data Source and is fully dynamic.
|
2024-03-25 22:50:41 +00:00
|
|
|
|
|
|
|
|
2024-03-25 22:59:17 +00:00
|
|
|
.. image:: images/Quick-Start-Login-22.png
|
2024-03-25 22:50:41 +00:00
|
|
|
|
2024-03-25 23:17:33 +00:00
|
|
|
|
|
|
|
To test, try editing or udpating some data
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/Quick-Start-Login-23.png
|
|
|
|
|