8000 GetIntervisibilityReport obstacle indentification bug · Issue #113 · dem-net/DEM.Net · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GetIntervisibilityReport obstacle indentification bug #113
Open
@RotateAt60MPH

Description

@RotateAt60MPH

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 be 5D86 havior:

  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0