0

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

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Apr 22, 2014 at 2:29
1
  • 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. Commented Apr 22, 2014 at 3:28

1 Answer 1

1

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.

answered Apr 22, 2014 at 3:27
5
  • 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? Commented Jan 6, 2018 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. Commented Jan 6, 2018 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... Commented Jan 6, 2018 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. Commented Jan 6, 2018 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. Commented Jan 6, 2018 at 20:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.