Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetIntervisibilityReport obstacle indentification bug #113

Open
RotateAt60MPH opened this issue Dec 1, 2024 · 0 comments
Open

GetIntervisibilityReport obstacle indentification bug #113

RotateAt60MPH opened this issue Dec 1, 2024 · 0 comments

Comments

@RotateAt60MPH
Copy link

RotateAt60MPH commented Dec 1, 2024

Describe the bug
Calculation of IntervisibilityReport obstacles object appears to have a bug.

To Reproduce
Steps to reproduce the behavior:

  1. create 2 GeoPoints:
{Lat/Lon: 50.3877, -114.6288 Altitude: 1501.4854m}
{Lat/Lon: 50.3958, -114.6288 Altitude: 1581.7240m}
  1. Call the ElevationService.GetIntervisibilityReport method with the above points in a list:
    var result = _elevationService.GetIntervisibilityReport(
      geoPoints.ToList(),
      0,
      0);
  1. 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 behavior:

  1. create 2 GeoPoints:
{Lat/Lon: 50.3877, -114.6288 Altitude: 1501.4854m}
{Lat/Lon: 50.3958, -114.6288 Altitude: 1581.7240m}
  1. Call the ElevationService.GetIntervisibilityReport method with the above points in a list:
    var result = _elevationService.GetIntervisibilityReport(
      geoPoints.ToList(),
      0,
      0);
  1. 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.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • .Net 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant