Esri / visibility-addin-dotnet

ArcGIS Add-in provides the capability to quickly do line of sight analyses.
Apache License 2.0
14 stars 19 forks source link

Linear Line of Sight and Radial Line of Sight cannot run in a Global Scene (ArcGIS Pro) #322

Open ljuru opened 5 years ago

ljuru commented 5 years ago

Issue found while performing Certification Testing of the Visibility Add-In for Pro 2.4.

The LLOS (Linear Line of Sight) and the RLOS (Radial Line of Sight) tools run correctly on map 2D and Local Scene data frames.

LLOS and RLOS however, fail to run on Global scenes.

Current Behavior

Repro Steps:

  1. Create a 2D map first
    • Add an elevation surface to the map
  2. Click View Tab and click on Convert. Select To Global Scene option.
  3. Select Enter Manually from the Observer Points drop-down list.
  4. Use the Observer Map Point Tool and create a couple of Observer Points (blue dots)
  5. Select Enter Manually from the Target Points drop-down list.
  6. Use the Target Map Point Tool to add target points (red squares)

Note: When the 2D map is converted to a Global Scene The LLOS and RLOS functions both fail with an error that Spatial Reference of Data Frame and surface must match. Please change the spatial reference of the Data Frame and try again"

image

However, there is no way for me to change the spatial reference of the data frame:

image

Expected Behavior

LLOS and RLOS should work properly in Global Scene.

Additional notes:

Observed in Pro 2.4, Visibility add-in version 4.2.3.57 Also observed in Pro 2.3