This post will demonstrate how to deploy layers created in QGIS Desktop as PostGIS tables in QGIS Cloud. The GI Analyst can access spatial data on the cloud and download for use on desktop GIS.
An account in QGIS Cloud will be required to follow this demonstration.
Download a sample shapefile to practice along with:
1. First, we load the shapefile comprising point features
2. Click on the ‘Cloud Settings’ icon button to launch the QGIS Cloud Plugin
3. Login into the QGIS Cloud using the plugin
4. On the screenshot, the account is open. The QGIS Cloud account contains one
database – Jovizo_dwasov.
5. Click on ‘Upload Data’ tab to open the Upload Data dialog window of the QGIS Cloud plugin.
6. The vector layer in the Layers window is automatically converted to a Spatially indexed table
7. Click on the ‘Upload data’ button( boxed in red)
8. You will be prompted to save the project.
Once this is done, the layer becomes stored as a spatially indexed table in QGIS Cloud database.
9. Let us retrieve the layer from the database as PostGIS layers and add to the map canvas on theQGIS Desktop. Click on the ‘Add PostGIS Layers’ icon button as shown on the screenshot below.
10. Click ‘New’ in the dialog window to make a fresh connection to the QGIS Cloud database
11. Fill in the parameters as it meets with the configuration in your QGIS Cloud account.
Parameters for Host is standard while SSL mode may be disabled not preferred.
12. Connect to the QGIS Cloud database connection you just created.
Note that the QGIS Cloud database is now working like a PostGIS connection.
13. Select the Table we just uploaded. See it highlighted and red boxed in the screenshot below. Click Add.
14. The Table is added as a vector layer on the QGIS map canvas.
Thank you for following the blog.