Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 9 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.