-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
Describe the bug
No terrain obstacles detected when there should be.
To Reproduce
Steps to reproduce the behavior:
- Execute the following unit test:
[Fact]
public void IntervisibilityTest()
{
var boundingBox = new BoundingBox( -114.81670660619355, -114.79753117282172, 50.88760538298977, 50.8997005129077 );
var dataSet = DEMDataSet.RegisteredNonLocalDatasets.First( x => x.Name == "AW3D30" );
_demNetElevationService.DownloadMissingFiles( dataSet, boundingBox );
var start = new GeoPoint
{
Elevation = 1876.8404541015625,
Latitude = 50.89365334058617,
Longitude = -114.80711764454496
};
var end = new GeoPoint
{
Elevation = 2111.0537109375,
Latitude = 50.885127771762058,
Longitude = -114.80711764454496,
DistanceFromOriginMeters = 949.06197559241423
};
var result = _demNetElevationService.GetIntervisibilityReport( new List<GeoPoint> { start, end }, 0, 0 );
}
Expected behavior
There should be an obstacle detected on the mountain ridge.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11, .Net C# 8
Metadata
Metadata
Assignees
Labels
No labels

