PSU-CSAR / vb-bagis

Source code for BAGIS V3 ESRI Add-In
0 stars 1 forks source link

Site Scenario Analysis Tool - Calculate Reclassify Error #59

Closed jdduh closed 6 years ago

jdduh commented 6 years ago

The process was performed on the original BAGIS V3.2-b1 on a freshly created AOI.

image

A second error message showed up immediately after the first one. It seems to be caused by the first error.

image

These pairs of error messages would repeatedly show up for all sites in the scenario.

lbross commented 6 years ago

Is this using the AOI that you just posted to basins today?

jdduh commented 6 years ago

The same AOI, but I had created several copies... I'm not switching back to the latest release of BAGIS V3.2-b1 (b1.1?) and see if the problem persists.

jdduh commented 6 years ago

I was able to reproduce the problem on b1.1. It seems that the problem is related to #58 (?). If the projection of the map layout is not set to Albers (USGS), then the error occurred. After setting the layout projection to Albers, then the Calculate tool worked fine.

lbross commented 6 years ago

How was it not in the right projection? I thought this was set when an AOI is selected?

jdduh commented 6 years ago

Try this:

  1. Use the default settings on BAGIS (i.e., using webservices as the sources)
  2. Start a new ArcMap session, use the Add Ref Layers" button to add the webservice layers to ArcMap. Now the projection of the layout should be in "WGS_1984_Web_Mercator_Auxiliary_Sphere."

I'm not sure why I used Web Mercator for the reference layers, but there must be a reason... probably ArcGIS Server doesn't support USA_Contiguous_Albers_Equal_Area_Conic_USGS_version?

lbross commented 6 years ago

Interesting. I would have thought that we would be resetting the map to the correct projection when an AOI is selected and the data frame name is set to Basin Analysis. I will look into this.

jdduh commented 6 years ago

Issue #58 interrupted the resetting. I wonder if there is a way to force the the resetting of layout projection even when the datum don't match.

lbross commented 6 years ago

This issue was resolved with the fix for issue #58. If the default projection cannot be set, you will no longer be able to get to this screen since you can't set the AOI. Setting the default projection is now required to successfully set the AOI.