Sampling random generated points

281
1
Jump to solution
02-23-2021 09:27 PM
Cheriejn
New Contributor II

Hi, I am using Arc GIS pro 2.7.1. I have been trying to generate a table to show the values of cells from two rasters that I have (NDVI and a classified image) associated with some randomly generated points. I am using the Sample tool to do this.

I was able to sample my own GPS data just fine, but when I attempt to sample the random points that I generated it gives me the error that the input feature class does not have a spatial index. Also when I attempt to generate a feature class through this tool I end up with an empty table. 

The random pts have X Y data associated with them, so I am not sure why it isn't letting me sample them like I did with my own data. 

What does it mean that the random pts feature class doesn't have a spatial index? How might I be able to fix this? 

Thanks! 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Honored Contributor

If that is the only problem with the data, use...

Add Spatial Index (Data Management)—ArcGIS Pro | Documentation


... sort of retired...

View solution in original post

0 Kudos
1 Reply
DanPatterson
MVP Honored Contributor

If that is the only problem with the data, use...

Add Spatial Index (Data Management)—ArcGIS Pro | Documentation


... sort of retired...

View solution in original post

0 Kudos