How do I get all pixel values of a time series NDVI image (raster) and export its values into an ASCII file?

  • 1
    Perhaps ASCII (.asc) isn't the format you want. The file format is header (6-8 lines) and then data (space delimited), one value per cell for each column and one line per row. You might do better with XYZ, this would make it easier to identify individual cells by X and Y. This I would do with GDAL_Translate -of XYZ <IN file> <out file>. It can also be done in arc by raster to point and then add xy coordinates. Open the DBF of the shape in Excel. Note this will not work for very large rasters as shape files have a maximum size. – Michael Stimson Apr 22 '14 at 3:28

You can export a raster to ASCII in ArcGIS for Desktop using its Raster to ASCII (Conversion) tool:

Converts a raster dataset to an ASCII text file representing raster data.

  • The youtube link is no longer available. Can you expand your answer to explain how can one export raster values to a data format Excel can read? – Andre Silva Jan 6 '18 at 17:59
  • @AndreSilva I removed that part of the answer which had been edited in by another user. I also focused the question some more. – PolyGeo Jan 6 '18 at 20:04
  • It is a pity you removed the Excel part from this question; I guessed from Q version 1 that it was more important than the ascii file, because it was written first (both in title and body). I found this Q trying fo find a duplicate for a recent asked question (gis.stackexchange.com/questions/267126/…). continues... – Andre Silva Jan 6 '18 at 20:23
  • So I am little bit disappointed, because you are an arcgis consultant/expert; I was expecting you to expand your answer instead of simplifying it. Is it difficult to show an example about how this ASCII file would look like, and then, explaining the necessary steps to prepare it for Excel input? Let me know if you decide to improve your answer, I will upvote it. Tks. – Andre Silva Jan 6 '18 at 20:26
  • 1
    @AndreSilva the original question had two questions. I only had time to answer one without further research and my interest is rarely raster data. That made my choice become to either close the question as too broad or focus it to a single question (for which there was an answer provided). My preference is to have all questions open and answered which one question per question facilitates. – PolyGeo Jan 6 '18 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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