How do I get all pixel values of a time series NDVI image (raster) and export its values into an ASCII file?
asked Apr 22, 2014 at 2:29
-
1Perhaps 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– Michael Stimson2014年04月22日 03:28:24 +00:00Commented Apr 22, 2014 at 3:28
1 Answer 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
-
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– Andre Silva2018年01月06日 17:59:24 +00:00Commented 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.2018年01月06日 20:04:49 +00:00Commented 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...Andre Silva– Andre Silva2018年01月06日 20:23:06 +00:00Commented 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.Andre Silva– Andre Silva2018年01月06日 20:26:54 +00:00Commented 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.2018年01月06日 20:30:16 +00:00Commented Jan 6, 2018 at 20:30
Explore related questions
See similar questions with these tags.