Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to generate a small sample raster (eg. euclidean distance or cost distance) to explain the method of cost-distance analysis, and I'd like to label the pixels with the corresponding cost-value.

I already tried to lay a fishnet over the raster in ArcGIS, but I didn't find a good way to copy the values into the attribute table.

share|improve this question

2 Answers 2

up vote 8 down vote accepted
  1. Convert your raster to points with ArcGIS Raster To Point Tool
  2. Label the point layer. Use a transparent symbol for your point layer.
share|improve this answer

In QGIS you could use gdal2xyz to make a text file containing xyz triplets: textfile.txt

This will produce a space-delimited text file that can be imported to QGIS as points.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.