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

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The [[Water Overlay]] models a number of Constructions as [[line-based construction (Water Overlay)|line-based construction]]s, which might be stored as points in your own data. This can be Constructions such as [[pump (Water Overlay)|Pump]]s and [[weir (Water Overlay)|Weir]]s. If those Constructions are loaded in as a point, the {{software}} cannot determine directly which cells should be connected by the indicated structure.
The [[Water Overlay]] models a number of Building as [[line-based building (Water Overlay)|line-based building]]s, which might be stored as points in your own data. This can be Buildings such as [[pump (Water Overlay)|Pump]]s and [[weir (Water Overlay)|Weir]]s. If those Buildings are loaded in as a point, the {{software}} 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 (Water Overlay)|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.
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 (Water Overlay)|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 Building and not pass by it.


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 building (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==
==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.
If there are many Building 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.
{{editor location|overlay wizard|Water Overlay}}
{{editor location|overlay wizard|Water Overlay}}
{{howto|title=generate angles
{{howto|title=generate angles
|Open the [[Water Overlay Wizard|configuration wizard of the Water Overlay]].
|Open the [[Water Overlay Wizard|configuration wizard of the Water Overlay]].
| Continue to the step of the Conntruction type for which you wish to generate angles.
| Continue to the step of the Construction type for which you wish to generate angles.
| Select "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.
| All Building of that type now have an angle. Re-select the Water Overlay in the [[navigation panel]] to see it visually.
| After recalculating the Overlay, the effects of the angle have been taken into account for the results.
| After recalculating the Overlay, the effects of the angle have been taken into account for the results.
}}
}}
<gallery mode="nolines">
File:water-overlay-correction-lineaspoint.jpg|A weir loaded in as a point.
File:water-overlay-correction-lineaspoint-action.jpg|The option to generate angles in the wizard.
File:water-overlay-correction-lineaspoint-corrected.jpg|A weir with an angle, allowing the line to be computed.
</gallery>


==Manually configure an angle==
==Manually configure an angle==
If there are only a few Constructions of the same type which require an angle, it is possible to determine the required angle per Construction manually.
If there are only a few Building of the same type which require an angle, it is possible to determine the required angle per Building manually.
{{editor location|overlay wizard|Water Overlay}}
{{editor location|overlay wizard|Water Overlay}}
{{howto|title=manually configure an angle
{{howto|title=manually configure an angle
| Select the Construction in the [[Water Overlay Wizard|configuration wizard of the Water Overlay]].
| Select the Building in the [[Water Overlay Wizard|configuration wizard of the Water Overlay]].
| Select "Show in editor". The 3D world will zoom to the selected structure.
| Select "Show in editor". The camera will zoom to the selected structure.
| Determine in the 3D World at what [[geo angle]] water should flow.
| Determine in the 3D Visualization at what [[geo angle]] water should flow.
| Reselect the window of the configuration wizard (or reopen it and reselect the desired structure).
| Re-select the window of the configuration wizard (or reopen it and re-select the desired structure).
| Find the angle Attribute of the structure. For example, the [[weir angle (Water Overlay)|Weir angle]] when the structure is a Weir.
| Find the angle Attribute of the structure. For example, the [[weir angle (Water Overlay)|Weir angle]] when the structure is a Weir.
| Make sure the checkbox for the angle is checked, and enter the required angle determined by looking at the 3D World.
| Make sure the checkbox for the angle is checked, and enter the required angle determined by looking at the 3D Visualization.
| The Construction now has an angle. Reselect the Water Overlay in the 3D world to see it visually.
| The Building now has an angle. Re-select the Water Overlay in the [[navigation panel]] to see it visually.
| After recalculating the Overlay, the effects of the angle have been taken into account for the results.
| After recalculating the Overlay, the effects of the angle have been taken into account for the results.
}}
}}
<gallery mode="nolines">
File:water-overlay-correction-lineaspoint.jpg|A weir loaded in as a point.
File:water-overlay-correction-lineaspoint-action2.jpg|The option to manually set an angle in the wizard.
File:water-overlay-correction-lineaspoint-corrected.jpg|A weir with an angle, allowing the line to be computed.
</gallery>


==Manually redraw as line==
==Manually redraw as line==
For more exact control on where the water flows to and from, it may be desirable to redraw the Construction as a line. Note that this assumes the Construction does not have an angle set.
For more exact control on where the water flows to and from, it may be desirable to redraw the Building as a line. Note that this assumes the Building does not have an angle set.
{{editor location|building|The Construction to redraw}}
{{editor location|building|The Building to redraw}}
{{howto|title=redraw a structure as a line
{{howto|title=redraw a structure as a line
| Select the construction to redraw in the Editor.
| Select the Building to redraw in the Editor.
| At the bottom of the [[right panel]], select "Draw area".
| At the bottom of the [[right panel]], select "Draw area".
| Set the brush to "Remove" mode.
| Set the brush to "Remove" mode.
| Draw a selection overlapping with the Construction's current polygon
| Draw a selection overlapping with the Building's current polygon
| Select "Apply selection" in the [[bottom panel]]. The polygon of the Construction is now removed.
| Select "Apply selection" in the [[bottom panel]]. The polygon of the Building is now removed.
| Select "Draw area" again.
| Select "Draw area" again.
| Set the brush to "Add" mode.
| Set the brush to "Add" mode.
| 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.
| Draw a line-shaped polygon in the 3D Visualization at the location where the Building should be. Ensure the end-points are in the waterways which are to be connected.
| Select "Apply selection". The Construction is now moved to the correct location.
| Select "Apply selection". The Building is now moved to the correct location.
| After recalculating the Overlay, the effects of the redraw have been taken into account for the results.
| After recalculating the Overlay, the effects of the redraw have been taken into account for the results.
}}
}}
<gallery mode="nolines">
File:water-overlay-correction-lineaspointland.jpg|A pump loaded in as a point.
File:water-overlay-correction-lineaspointland-correcting.jpg|Redrawing the Building as a line instead of a point.
File:water-overlay-correction-lineaspointland-corrected.jpg|The pump is now line-shaped and interpreted correctly.
</gallery>


==Notes==
{{article end
* Via the [[Water Overlay Wizard|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.
|notes=
* 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.
* Via the [[Water Overlay Wizard|configuration wizard of the Water Overlay]], it is easy to access a list of all [[hydraulic structures (Water Overlay)|hydraulic structures]] of a certain type in the Project. Open the wizard, continue to the step regarding the Buildings you are looking for, select a specific structure, and select "Show in Editor". The Building will be selected in the Editor.
* When an angle as been set for a construction, the centerpoint of the construction's polygon is used to pivot a line through. The polygon's usual endpoints are disregarded.
* To inspect whether the Building is oriented correctly in the waterway after setting or generating angles, you can select the Building in the Water Overlay, and then click "Show in Editor" to zoom to the Building in the 3D Visualization. You will see a barrier to represent the interruption in the waterway. The flow direction is perpendicular to it.
* When an angle as been set for a Building, the centerpoint of the Building's polygon is used to pivot a line through. The polygon's usual endpoints are disregarded. In other words, the orientation set by the angle takes precedence over the polygon shape.
}}
 
[[Category:How-to's]]

Latest revision as of 13:44, 30 January 2024

The Water Overlay models a number of Building as line-based buildings, which might be stored as points in your own data. This can be Buildings such as Pumps and Weirs. If those Buildings 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 Building 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 Building 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.

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar) → Water Overlay (Left panel) → Configuration Wizard (Right panel)
How to generate angles:
  1. Open the configuration wizard of the Water Overlay.
  2. Continue to the step of the Construction type for which you wish to generate angles.
  3. Select "Generate angles".
  4. All Building of that type now have an angle. Re-select the Water Overlay in the navigation panel 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

If there are only a few Building of the same type which require an angle, it is possible to determine the required angle per Building manually.

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar) → Water Overlay (Left panel) → Configuration Wizard (Right panel)
How to manually configure an angle:
  1. Select the Building in the configuration wizard of the Water Overlay.
  2. Select "Show in editor". The camera will zoom to the selected structure.
  3. Determine in the 3D Visualization at what geo angle water should flow.
  4. Re-select the window of the configuration wizard (or reopen it and re-select 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 Visualization.
  7. The Building now has an angle. Re-select the Water Overlay in the navigation panel 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

For more exact control on where the water flows to and from, it may be desirable to redraw the Building as a line. Note that this assumes the Building does not have an angle set.

Editor → Current Situation (Ribbon tab) → Buildings (Ribbon bar) → The Building to redraw (Left panel)
How to redraw a structure as a line:
  1. Select the Building to redraw in the Editor.
  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 Building's current polygon
  5. Select "Apply selection" in the bottom panel. The polygon of the Building is now removed.
  6. Select "Draw area" again.
  7. Set the brush to "Add" mode.
  8. Draw a line-shaped polygon in the 3D Visualization at the location where the Building should be. Ensure the end-points are in the waterways which are to be connected.
  9. Select "Apply selection". The Building is now moved to the correct location.
  10. After recalculating the Overlay, the effects of the redraw have been taken into account for the results.

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 Buildings you are looking for, select a specific structure, and select "Show in Editor". The Building will be selected in the Editor.
  • To inspect whether the Building is oriented correctly in the waterway after setting or generating angles, you can select the Building in the Water Overlay, and then click "Show in Editor" to zoom to the Building in the 3D Visualization. You will see a barrier to represent the interruption in the waterway. The flow direction is perpendicular to it.
  • When an angle as been set for a Building, the centerpoint of the Building's polygon is used to pivot a line through. The polygon's usual endpoints are disregarded. In other words, the orientation set by the angle takes precedence over the polygon shape.