Hi,
Please, how to convert data with .asc extension to a raster or .shp file?
I need a little help.
This depends what .asc contains. Bascially it can be several things depending where it is from:
1) Old Esri ASCII raster that contains a short header and then matrix form of pixel values
Esri ASCII raster format—ArcMap | Documentation
2) Or sometimes it is XYZ style list where we have just X,Y and Z coordinates in a text files - one coordinate per row
3) or sometimes it is just pixel values in matrix without any headers.
In any case it is some sort of text file containing raster or grid of pixels. It is impossible to say which variant it is as I have seen all these with .asc ending.
If it is old Esri .asc raster Pro should probably be able to open it more or less directly. If it xyz style then tools like this might work:
ASCII 3D To Feature Class (3D Analyst)—ArcGIS Pro | Documentation
If it is something else then you must invent the headers or find some other ways. In generally none should really anymore deliver raster in .asc format. I can see it still in some Geoid models here but I really see no point why to use it - unless of it is just old forgotten file found in somewhere.
In addition to what @tikola said, here’s an older post from stack exchange, an older post from the community that used python as the solution, and some Pro documentation about the deprecated conversion tool.
Thank you, Tikola, for your response. I took data from:
https://globalsolaratlas.info/download/iraq
It was a map with an extension .asc!
I appreciate your help, I have tried many but it does not work!
They are definitely Esri ASCII Raster format (and seem ok to me though I'm not at work so couldn't test in ArcGIS and only tested in QGIS).
But if you can't open them that page also lists GeoTIFF as a download option which ArcGIS also supports.
Thank you Luke for your reply. I will try to work on GeoTIFF.
Tiff is simplest. No point of fighting with ancient formats if there is basic things like TIF available. That is for sure just drag&drop and works always.
Yep, this is true. But, again, could you please help me derive the shapefile from the raster format in ArcGIS Pro? My goal is to get the attribute data behind these maps!
Why do you think you need to convert raster to vector? You can still access the attribute data as raster.
Great!
Please how? Could you teach me or guide me on how can I access the attribute table because it is not active?
Please, tell me how? @Luke_Pinner
Can't really say without more information about what you're trying to do. Raster analysis is a bit different to vector and the choice of tool depends on what you're trying to achieve.
Missed this old posting and disccussion. It looks obvious that your data is some sort of binary or limited amount of pixel values. So I guess your request is how to convert thematic rasters to vector GIS formats. You should be abe to do it with geoprocessing tools like Raster to Polygon or something like that. Software needs to delieneate areas with equal pixel values and that is your vector file out from this data.
Thank you for your reply 🙂
Many thanks for your response.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.