- 29 Jul 2022
- 1 Minute to read
- Print
Z-Lines
- Updated on 29 Jul 2022
- 1 Minute to read
- Print
2D solver supports Z-Lines which allow users to define the elevation along a polyline based on the elevations at two or more points snapped to the polyline.
In the simplest case, a Z-Line consists of a polyline with two or more vertices with a point snapped to each end. The elevation at the start and end of the line are defined in the "elevation" or "height" attributes of the points.
A polyline must have a point snapped to each end and may have one or more additional points snapped to other vertices along the polyline. All points must snap to a polyline.
Z-Lines can be specified in the 2D solver user interface, or directly in the XML file using a topography tag as follows:
...
<topography>GIS\zLineTest_001_Line.shp|GIS\zLineTest_001_Point.shp</topography>
...
The topography tag must contain the name of the shapefile containing polylines, followed by a pipe character ('|'), followed by the name of the shapefile containing points.