A grid is a raster data type arranged in rows and columns. Each cell in a grid contains a value that represents information such as land cover and elevation. Sometimes, the X and Y coordinates of a grid must be extracted to obtain location information. The following article, How To: Convert a grid to a text file of x-, y- and z-values of the center of each cell with the Grid to Features function in the Spatial Analyst toolbar provides a workflow on extracting the X and Y coordinates of the center of every cell in a grid using the Spatial Analyst toolbar. However, if the Spatial Analyst extension is not available, the Raster to Point tool and the Calculate Geometry tool can be used to extract the X and Y coordinates from the grid.
The instructions below describe how to extract the X and Y coordinates of the center of each cell in a grid using the Raster to Point tool and the Calculate Geometry tool.
Note: If the size of the grid is large, split the grid into smaller pieces using the Split Raster tool before extracting the X and Y coordinates from each cell. For more information, refer to the following ArcMap help document: Split Raster.
Get help from ArcGIS experts
Download the Esri Support App