Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update interlis io doc #230

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions en/admin-guide/interlis-io/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To install : before launching QGIS, open OSGeo4W Shell

and type::

>>> pip3 install "sqlalchemy~=1.3.22" "geoalchemy2>=0.9.0"
>>> pip3 install "sqlalchemy~=1.4" "geoalchemy2>=0.9.0"

If the command fails, try::

Expand All @@ -57,12 +57,12 @@ The same `--target` flag can be added to install `sqlalchemy` and `geoalchemy2`

Modelbaker
-----------
The QGEP plugin will propose to install the Modelbaker plugin automatically. If that did not work, install the QGIS plugin `Modelbaker` manually from the QGIS plugin manager (version 6.4 or newer but older than 7.1).
The QGEP plugin will propose to install the Modelbaker plugin automatically. If that did not work, install the QGIS plugin `Modelbaker` manually from the QGIS plugin manager.


QGEP Version
-------------
The export only supports up-to-date QGEP datamodel (1.6.1 at the time of writing). Ensure your datamodel is fully updated before trying to import/export.
The export only supports up-to-date QGEP datamodel (1.6.2 at the time of writing). Ensure your datamodel is fully updated before trying to import/export.


Usage (GUI)
Expand Down Expand Up @@ -96,6 +96,11 @@ If you have an active selection in the nodes and/or reaches layer, you can choos

.. figure:: images/selection_export.png

When exporting a selection, there are not all records in all tables reduced to the selection. Wastewater structures, structure parts, wastewater networkelements, catchments, overflows are reduced, but other tables as pipe profiles or organisations are not reduced due to special cases, where it would be very difficult to select all necessary records.
If there are reaches with foregin keys to other reaches, that are not in the selection, then the selection will be expanded with this connected reach.

.. note:: Exporting to SIA405 and there are wwtp_structure in the database: because wwtp_structure is not part of the SIA405 datamodel, the wastewater_structure (and the corresponding structure_parts) will not be exported. But the wastewater_networkelement will be exported without entry in fk_wastewater_structure. Like this, the hydraulic network stays correct.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@urskaufmann Suggested change:
.. note:: Special case if there are wwtp_structure in the database or in the selection: Because wwtp_structure is not part of the SIA405 datamodel, the wastewater_structure (and the corresponding structure_parts) will not be exported. But the wastewater_networkelement will be exported without entry in fk_wastewater_structure. Like this, the hydraulic network stays correct.


The export tool is capable of exporting label positions for different scales. You can choose which scales you are interested in exporting by selected/deselecting them.

You can also change the angle for horizontal text in INTERLIS if your target system has another convention than INTERLIS.
Expand Down