I have an issue where the sample tool incorrectly reports values from a raster when using a point file. For example a point lies entirely within a raster cell and the sample tool provides a result of "49" when the identify tool correctly provides a results of the actual cell value of "19"
Hmm, I do get the same results as you when I bring in the tif as all bands instead of just band 5. In my table the Nenana__14 is the same as the original band 5. This reports the correct values unlike when I ran the sample tool on just band 5. In that case I only selected band 5 within the tif to bring into ArcMap and ran that with the sample tool.
Do your sample results look like this? I only have 10.6 available. What looks different is what is assigned to RGB if you have 5 bands
The Tiff has 6 bands
The point shapefile is used for sampling and wouldn't need to have related attributes.
No other layers are in my data frame
For example when I sample band 5 alone I get these values from the Sample tool in the output table
topo_seque 1 (alluvial site) - 49
topo_seque 2 (mid slope) - 48
topo_seque 3 (upper slope) - 44
From the identify tool I get these values by identifying from all layers and selecting each point ID in turn
ID 1 (alluvial site) - 53
ID 2 (mid slope) - 45
ID 3 (upper slope) - 19
Your tiff... info reports a value for R, G, B
Your shapefile just has totally unrelated attributes.
What values are your expecting? and by chance are there other layers in your dataframe?
Pertinent files
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.