|
|
|
| Lisez-moi | ReadMe |
With this plugin, you can create your own layers tree from multiple versions and multiple sources.
Go to plugin Settings
N.B. : a setting can contain many catalogs but during development, it seemed easier to have only one catalog per setting. So one setting = one catalog.
- Click to
Addbutton - Define a
Name.⚠️ ️ Required ! - Choose setting
Type: json, PostgreSQL or SQLite- With
json- you can open or create a new json file. You can also define an URL but it's read-only,Editbutton will be disabled. - With
PostgreSQL- clickconnectbutton and a new dialog window opens. Select the table which contains catalogs. SelectNEW TABLEto create a new table in database. The table name will becatalogs. Be careful, the setting name must exist otherwise a new record withName, defined in settings dialog, will be created in table. - With
SQLite- idem PostgreSQL
- With
- Choose an
Auth Idto connect to database (Only for PostgreSQL and SQLite). Connection dialog don't send username and password, or authentication id, when you use existing connection.
You can add or create as many settings as you want.
- Select one record in settings dialog
- Click to
Editbutton. - A new dialog opens:
- Right-click on the catalog name to create a
nodeor alayer - A
nodeis a folder which contains sub-node(s) or layer(s). Double-click on the name to edit them. - A
layercontains at least one version. Double-click on the name to edit them and select the geometry type (Geom type).- A
versioncontains at least one format. Default name isNew versionbut you can double-click to edit them. The Name column is automaticaly modified with the Version column, it's only to read easily the tree.- A
formatis defined by layer link. Choose a format in combobox and click to the browse button (...). The Name column is automaticaly modified with the Format column, it's only to read easily the tree.WFS,WMS,WMTS: Add url with version value in Link column. Then, click on browse button (...). Plugin try to find layers. Select layer and the full url will be send in Link column. Example :https://wxs.ign.fr/administratif/geoportail/wfs?version=2.0.0Spatialite,Oracle,PostGIS: You don't need to edit Link column. Click on browse button (...) to open connection dialog. Connection dialog don't send username and password, or authentication id, when you use existing connection. So, choose anAuth Idwhich will be saved otherwise user will have to define username and password in prompt dialog. You can also define username and password in Link column.⚠️ ️ QGIS 3.18+ needed to open Oracle database withcreateConnectionmethod (commit).- Example 1 :
dbname='mydb' host=db.mydomain.eu port=5432 table="myschema"."mytable" (geom) - Example 2 :
service='myservice' table="myschema"."mytable" (geom) - Example 3 :
dbname='mydb' host=db.mydomain.eu port=5432 user='myusername' password='mypassword' table="myschema"."mytable" (geom)
- Example 1 :
QLR,GPKG,SHP: You don't need to edit Link column. Click on browse button (...) to open the OpenFileDialog. WithGPKGformat, plugin try to find layers. Select one.
- A
- A
- Right-click on the catalog name to create a



