diff --git a/docs/en/user-guide/editing/images/advanced_digitizing_tools.jpg b/docs/en/user-guide/editing/images/advanced_digitizing_tools.jpg index a3c95c661..d3d689b9c 100644 Binary files a/docs/en/user-guide/editing/images/advanced_digitizing_tools.jpg and b/docs/en/user-guide/editing/images/advanced_digitizing_tools.jpg differ diff --git a/docs/en/user-guide/editing/images/moving_wws_before.jpg b/docs/en/user-guide/editing/images/moving_wws_before.jpg index 0b8bd2cf7..e999ab0ca 100644 Binary files a/docs/en/user-guide/editing/images/moving_wws_before.jpg and b/docs/en/user-guide/editing/images/moving_wws_before.jpg differ diff --git a/docs/en/user-guide/editing/images/moving_wws_manhole1.jpg b/docs/en/user-guide/editing/images/moving_wws_manhole1.jpg index c3db59e8e..3854d3795 100644 Binary files a/docs/en/user-guide/editing/images/moving_wws_manhole1.jpg and b/docs/en/user-guide/editing/images/moving_wws_manhole1.jpg differ diff --git a/docs/en/user-guide/editing/images/moving_wws_manhole1topology.jpg b/docs/en/user-guide/editing/images/moving_wws_manhole1topology.jpg new file mode 100644 index 000000000..2e0b97747 Binary files /dev/null and b/docs/en/user-guide/editing/images/moving_wws_manhole1topology.jpg differ diff --git a/docs/en/user-guide/editing/images/moving_wws_manhole1topologynew.jpg b/docs/en/user-guide/editing/images/moving_wws_manhole1topologynew.jpg new file mode 100644 index 000000000..e74b74fc8 Binary files /dev/null and b/docs/en/user-guide/editing/images/moving_wws_manhole1topologynew.jpg differ diff --git a/docs/en/user-guide/editing/images/tools_moving.jpg b/docs/en/user-guide/editing/images/tools_moving.jpg new file mode 100644 index 000000000..947e0c22c Binary files /dev/null and b/docs/en/user-guide/editing/images/tools_moving.jpg differ diff --git a/docs/en/user-guide/editing/moving.rst b/docs/en/user-guide/editing/moving.rst index 9f7e198c3..e99f19cd8 100644 --- a/docs/en/user-guide/editing/moving.rst +++ b/docs/en/user-guide/editing/moving.rst @@ -8,46 +8,83 @@ This represents a guide on how to move wastewater structures with reaches and wa General ------------ -It's not unusual, that manholes are digitized the first time with low precision. Later the manholes are measured, and there is the need, to move the whole wastewater structure (means cover, node and reachpoints of all reaches) to the measured point. +It's not unusual, that manholes are digitized the first time with low precision. Later the manholes are measured, and there is the need, to move the whole wastewater structure (means cover(s), node(s) and reachpoints of all reaches) to the measured point. + +There are two tools to move a manhole: **Vertex Tool** and **Move Feature** Tool. And there is a very important option in the **Snapping Toolbar**: **Enable Topological Editing**. + +.. figure:: images/tools_moving.jpg + +**Vertex Tool** and **Move Feature** work similar for (single)-point layers. + +Because with DSS-datamodel, cover, wastewater node and reachpoints are connected not by location, but by foreign keys in the database, TWW is prepared to move cover(s), node(s) and reachpoints (and therefore also reaches) together by the same distance. This means, it's better not to enable topological editing in several cases. + .. note:: You need to turn on the advanced digitizing toolbar in your project to be able to select the **Move Feature** tool. .. figure:: images/advanced_digitizing_tools.jpg + :scale: 50 % -How to +Moving a manhole ------------ - * Select the **vw_tww_wastewater_structure** layer * Set the layer to edit mode -* Select the **Move Feature** tool (standard QGIS tool in the advanced digitizing toolbar) +* Select the **Move Feature** tool (standard QGIS tool in the advanced digitizing toolbar) or the **Vertex Tool** +* Deselect the button **Enable Topological Editing** .. figure:: images/moving_wws_before.jpg -* Left Click one the wastewater_structure you want to move and left click again at the new place. +In this example, the manhole has one cover, two wastewater nodes, four reaches that end/start at the nodes places and one reach with a gap to the connected node. There is also a detail geometry. -In the figure below, there is the 'ZB1' manhole moved. Cover, node and all tree reachpoints are moved to the new place. +* Left Click one the wastewater_structure point you want to move and left click again at the new place. .. figure:: images/moving_wws_manhole1.jpg +'1.070' manhole moved. Cover, 2 nodes and all 5 reachpoints (reaches) are moved to a new place. The distance between the points is still the same. +The detail geometry does not move (layer wastewater_structure in layergroup Wastewater Structures). The detail geometry must be moved extra with the **Move Feature** tool. There is in the moment no good help, to do this automatically. + +* To show the move, it's a good way to set the **Topology** layers visible: + +.. figure:: images/moving_wws_manhole1topology.jpg + + + +* To update the topology, click on the TWW - **SQL** Button + +.. figure:: images/moving_wws_manhole1topologynew.jpg + .. note:: Reaches, that are connected to one of the moved reaches, are still connected with the foreign key, but did not move. You have to corrected manually if necessary. -* In the next figure, the special structure 'ZRAE' is also moved by clicking on the cover and clicking at the new place. -.. figure:: images/moving_wws_manhole2.jpg +Moving a cover / a node +------------ +To move just a cover or just a node, you work with the specific layer: +Cover: Layergroup Wastewater Structures / Structure Parts, layer vw_cover +Nodes: Layergroup Hydraulic, layer vw_wastewater_node -.. note:: The 2 nodes of the special structure and the 3 connected reachpoints (reaches) are also move with the same distance and in the same direction as the cover is moved. The wastewater structure area (polygon) is not moved. You have to correct manually if necessary. +* Select the specific layer +* Set the layer to edit mode +* Select the **Move Feature** tool (standard QGIS tool in the advanced digitizing toolbar) or the **Vertex Tool** +* Deselect the button **Enable Topological Editing** +* Left Click one the cover/node point you want to move and left click again at the new place. +* To update the topology, click on the TWW - **SQL** Button (not necessary when moved just covers). -* If you want to move just the cover or a node of a wastewater structure, then select the **vw_cover** or **vw_wastewater_node** layer, set the layer to edit mode and move the cover / the node with the **Move Feature** tool. +Moving a reachpoint +------------ +There is no reachpoint layer in the TWW-project. You edit reachpoints as part of the reach in layer **vw_tww_reach**. -See the figure below: just the cover of manhole 'ZRAM' is moved. +* Select the **vw_tww_rach** layer +* Set the layer to edit mode +* Select the **Vertex Tool** (the Move Feature Tool moves the whole reach) +* Deselect the button **Enable Topological Editing** +* Left Click one the start- or endpoint of the reach you want to move and left click again at the new place. +* To update the topology, click on the TWW - **SQL** Button -.. figure:: images/moving_wws_manhole3.jpg +.. note:: Set the layer **Topology**/**vw_network_node** visible to see the reachpoints location (not there attributes). -.. attention:: You can also move the wastewater structure with the **Vertex Tool**. The vertex tool moves all layers, that have objects at the same place, where you click. You can move the manhole 'ZB1' with this tool as shown in the first example. But you can not move the nodes and reachpoints, because they are not at the same place. And you can not move only covers in vw_cover. If there are nodes or reachpoints at the same place, they will move to. -Video Tutorial +Video Tutorial (outdated) -------------- * See `this video tutorial (version QGIS 2) `_