Open
Description
Describe the bug
Calculation of IntervisibilityReport obstacles object appears to have a bug.
To Reproduce
Steps to reproduce the behavior:
- create 2 GeoPoints:
{Lat/Lon: 50.3877, -114.6288 Altitude: 1501.4854m}
{Lat/Lon: 50.3958, -114.6288 Altitude: 1581.7240m}
- Call the ElevationService.GetIntervisibilityReport method with the above points in a list:
var result = _elevationService.GetIntervisibilityReport(
geoPoints.ToList(),
0,
0);
- Examine the returned IntervisibilityReport. There's an obstacle identified, when in reality, there's a gradual upslope from the starting point to the ending point. In the screenshot, the line corresponds to the line start and line end. the red dots correspond to the identified obstacle. There shouldn't be an obstacle identified as shown by the elevation profile.
Expected behavior
There should not be any obstacles identified between the given points.
To Reproduce
Steps to reproduce the be
5D86
havior:
- create 2 GeoPoints:
{Lat/Lon: 50.3877, -114.6288 Altitude: 1501.4854m}
{Lat/Lon: 50.3958, -114.6288 Altitude: 1581.7240m}
- Call the ElevationService.GetIntervisibilityReport method with the above points in a list:
var result = _elevationService.GetIntervisibilityReport(
geoPoints.ToList(),
0,
0);
- Examine the returned IntervisibilityReport. There's an obstacle identified, when in reality, there's a gradual upslope from the starting point to the ending point. In the screenshot, the line corresponds to the line start and line end. the red dots correspond to the identified obstacle. There shouldn't be an obstacle identified as shown by the elevation profile.
Desktop (please complete the following information):
- OS: Windows 11
- .Net 8
Metadata
Metadata
Assignees
Labels
No labels