# extract the x and y coordinates of a certain raster

Discussion created by taiseer on Feb 18, 2011
Latest reply on Feb 24, 2011 by ptaurman-esristaff
Hello,

I have a smaller raster called (raster-b). The raster-b is laterally irregular in its boarder boundary.
The raster is for the elevation (it is dem). I need to extract the x and y coordinates of the raster file (raster-b) in a text file. I need the x and y coordinates for the whole small raster domain (as a rectangle) including the no-data cells.

if you have a look at the attached image, you will see the smaller raster with some nodata cells. I need to have - in a text file - the x and y coordinates for the whole raster (as a box)

Any help???