Select to view content in your preferred language

Spatial Analyst InList tool appears to have a bug in 10.5 and 10.5.1

784
7
09-18-2017 07:42 AM
ShawnLandry1
Deactivated User

The Spatial Analyst > Math > Logical > InList tool appears to have a bug in 10.5 that was not present in 10.3. The result of the InList seems to ignore the NoData areas of the input raster. Here is the input layer (soils) that shows NoData values outside of the red boundary.

input raster shows NoData values outside of the red boundary

Here is the result of the InList tool from ArcGIS 10.3.1 - notice the NoData values outside the boundary.

InList result from 10.3.1 shows NoData values outside of the red boundary

Here is the result in 10.5.1 (10.5 produced the same result). Notice the result seems to extend the pixel values at the edge of the boundary to the edge of the raster extent.

InList result from 10.5.1 shows incorrect values outside of the red boundary

I know that the easy solution is to clip the layer, or use the reclassify tool instead of the InList, but I am wondering if there is something that I am doing wrong. I've tried making a new copy of the input, changing the projections, etc.

0 Kudos
7 Replies
DanPatterson_Retired
MVP Emeritus

report it... that shouldn't happen and it appears you have verifiable example data.

0 Kudos
ShawnLandry1
Deactivated User

Thanks. Sorry for my ignorance, but where do we report bugs like this?

0 Kudos
DanPatterson_Retired
MVP Emeritus

Follow the Support links at the top of your page, if you are the sole maintainer of your software.  If you belong to an organization, they may have a report person, but anyone can file a support case, just report what you have found and they should request a zipped copy of the data etc at some stage.

0 Kudos
WeiYing1
Esri Regular Contributor

Hello Shawn, thanks for reporting that. Have you contacted Support and report the bug yet? If so did you got the issue number? You can give me that number directly and I will investigate. 
Actually, I have tried my own data but cannot reproduce the bug. So I need more detailed information about your data and steps. 

0 Kudos
ShawnLandry1
Deactivated User

Hello,

I reported it today, it was investigated, and a bug was reported.

Thanks,

Shawn

Hello Shawn,

Thank you for reporting the issue and sending your data and screenshot.

I was able to reproduce the issue and proceeded to log the below bug:

BUG-000108147: InList tool wrongly assigns values outside the raster boundary

Steps to Reproduce:

1. Download the data.

2. Open Arcmap > Open 'Inlist' tool

3. Add firstb_reclassified_copy.tiff as input raster

4. Add values 4, 5, and 6 as 'constant values'

5. Notice how the tool wrongly assigns values outside the raster boundary.

6. See video: https://screencast-o-matic.com/watch/cbQqbLIruA

7. Issue does not occur on Arcgis Desktop 10.3.1

8. Issue does not occur on Arcgis Pro 2.0

Please let me know if there is anything else that I can do for you at this time.

Thank you,

Ciro

Esri Support Services

https://my.esri.com/#/support/cases/01992441

Shawn Landry, PhD

Research Assoc. Professor, School of Geosciences

Director, USF Water Institute

University of South Florida

Typed by big fingers on a Mini keyboard.

DanPatterson_Retired
MVP Emeritus

Glad you reported it.  That is how things get done.

WeiYing1
Esri Regular Contributor

Thank you. I will look into that BUG. 

0 Kudos