How to correct weir, pump, or culvert drawn as point: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:


If the data cannot be redrawn as [[line-based construction (Water Overlay)|line]]s as a preparatory step, and no angle attribute can be added as a preparatory step, the following options exist to correct the data in the {{software}}:
If the data cannot be redrawn as [[line-based construction (Water Overlay)|line]]s as a preparatory step, and no angle attribute can be added as a preparatory step, the following options exist to correct the data in the {{software}}:
==Generate angles automatically==
If there are many constructions of the same type which require an angle, but do not have one set yet, it is possible to have the {{software}} generate angles automatically. Note that this is a best-effort algorithm, with which approximately 90 of structures will be oriented appropriately. However, for some situations the resulting angle may be incorrect.
{{howto|title=move Inlets into the nearest waterway
|Open the [[Water Overlay Wizard|configuration wizard of the water overlay]].
| Continue to the step of the cosntruction type for which you wish to generate angles.
| Select "Generate angles".
| All constructions of that type now have an angle. Reselect the Water Overlay in the 3D world to see it visually.
| After recalculating the overlay, the effects of the angle have been taken into account for the results.
}}


==Manually configure an angle==
==Manually configure an angle==
{{howto|title=move Inlets into the nearest waterway
{{howto|title=move Inlets into the nearest waterway
| Select the Inlet in the [[Water Overlay Wizard|configuration wizard of the water overlay]].
| Select the construction in the [[Water Overlay Wizard|configuration wizard of the water overlay]].
| At the bottom of the [[right panel]], select "Draw area".
| Select "Show in editor". The 3D world will zoom to the selected structure.
| Set the brush to "Remove" mode.
| Determine in the 3D world at what [[geo angle]] water should flow.
| Draw a selection overlapping with the Inlet's current polygon
| Reselect the window of the configuration wizard (or reopen it and reselect the desired structure).
| Select "Apply selection" in the [[bottom panel]]. The polygon of the Inlet is now removed.
| Find the angle attribute of the structure. For example, the "weir angle" when the structure is a weir".
| Select "Draw area" again.
| Make sure the checkbox for the angle is checked, and enter the required angle determined by looking at the 3D world.
| Set the brush to "Add" mode.
| The construction now has an angle. Reselect the Water Overlay in the 3D world to see it visually.
| Draw a polygon in the 3D world in the location where the Inlet should be. Ensure the centre of the polygon is in the waterway.
| After recalculating the overlay, the effects of the angle have been taken into account for the results.
| Select "Apply selection". The Inlet is now moved to the correct location.
}}
}}
==Generate angles automatically==


==Manually redraw as line==
==Manually redraw as line==

Revision as of 07:22, 29 May 2020

This article is a stub.

The Water Overlay models a number of constructions as line-based constructions, which might be stored as points in your own data. This can be constructions such as pumps and weirs. If those constructions are loaded in as a point, the Tygron Platform cannot determine directly which cells should be connected by the indicated structure.

Resolving this would require either redrawing the structure as a line rather than a point, or adding an angle attribute (such as the weir angle for weirs). Adding an angle has an added benefit of interrupting the waterway the structure is located in, so that water can only flow through the construction and not pass by it.

If the data cannot be redrawn as lines as a preparatory step, and no angle attribute can be added as a preparatory step, the following options exist to correct the data in the Tygron Platform:

Generate angles automatically

If there are many constructions of the same type which require an angle, but do not have one set yet, it is possible to have the Tygron Platform generate angles automatically. Note that this is a best-effort algorithm, with which approximately 90 of structures will be oriented appropriately. However, for some situations the resulting angle may be incorrect.

How to move Inlets into the nearest waterway:
  1. Open the configuration wizard of the water overlay.
  2. Continue to the step of the cosntruction type for which you wish to generate angles.
  3. Select "Generate angles".
  4. All constructions of that type now have an angle. Reselect the Water Overlay in the 3D world to see it visually.
  5. After recalculating the overlay, the effects of the angle have been taken into account for the results.

Manually configure an angle

How to move Inlets into the nearest waterway:
  1. Select the construction in the configuration wizard of the water overlay.
  2. Select "Show in editor". The 3D world will zoom to the selected structure.
  3. Determine in the 3D world at what geo angle water should flow.
  4. Reselect the window of the configuration wizard (or reopen it and reselect the desired structure).
  5. Find the angle attribute of the structure. For example, the "weir angle" when the structure is a weir".
  6. Make sure the checkbox for the angle is checked, and enter the required angle determined by looking at the 3D world.
  7. The construction now has an angle. Reselect the Water Overlay in the 3D world to see it visually.
  8. After recalculating the overlay, the effects of the angle have been taken into account for the results.

Manually redraw as line

Editor → Current Situation (Ribbon tab) → Buildings (Ribbon bar) → The Inlet to move (Left panel)
How to redraw a structure as a line:
  1. Open the .
  2. At the bottom of the right panel, select "Draw area".
  3. Set the brush to "Remove" mode.
  4. Draw a selection overlapping with the Inlet's current polygon
  5. Select "Apply selection" in the bottom panel. The polygon of the Inlet is now removed.
  6. Select "Draw area" again.
  7. Set the brush to "Add" mode.
  8. Draw a line-shaped polygon in the 3D world in the location where the construction should be. Ensure the end-points are in the waterways which are to be connected.
  9. Select "Apply selection". The Inlet is now moved to the correct location.


Notes

  • Via the configuration wizard of the water overlay, it is easy to access a list of all hydraulic structures of a certain type in the project. Open the wizard, continue to the step regarding the constructions you are looking for, select a specific structure, and select "Show in Editor". The construction will be selected in the Editor.
  • To inspect whether the construction is oriented correctly in the waterway after setting or generating angles, you can select the construction in the Water Overlay, and then click "Show in Editor" to zoom to the construction in the 3D world. You will see a barrier to represent the interruption in the waterway. The flow direction is perpendicular to it.