Spring pool tests and single source marker

- Only the centerline cell of the first station carries the source feature
- Headwater and styled geometry tests expect the spring pool
- Transect table starts with the first 24 stations
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-01 23:21:44 -04:00
1 parent d1c73025a0
commit 6945cbfd9b
4 files changed
+24 -11

No files matched your search

@@ -82,7 +82,8 @@ public final class SurfaceFootprintCompiler {
HydraulicSegment segment = exposed.get(stations.segmentIndex()[column.station()]);
int flowX = (int) StrictMath.round(centerline.tangentX()[column.station()]);
int flowZ = (int) StrictMath.round(centerline.tangentZ()[column.station()]);
boolean source = column.station() == 0 && column.role() == SurfaceRole.CHANNEL && !column.apron();
boolean source = column.station() == 0 && column.role() == SurfaceRole.CHANNEL && !column.apron()
&& column.x() == centerline.x()[0] && column.z() == centerline.z()[0];
int y = column.role() == SurfaceRole.CHANNEL ? column.headY() : column.height();
HydrologyFeatureRef feature = features.feature(segment, column.role(), source, column.x(), y, column.z(), flowX, flowZ);
columns.add(new SurfaceLayerColumn(