Page 1 of 1
importing ASCII Grid file
Posted: Thu Oct 26, 2017 7:48 am
by AndrewPerth
hey guys,
I'm looking at some .asc files that appear to be ASCII Grid files. Is it possible to load these into cloud compare?
- cloud compare ascii grid.PNG (31.25 KiB) Viewed 5789 times
Re: importing ASCII Grid file
Posted: Thu Oct 26, 2017 9:09 am
by daniel
You can try to load it as a raster, but I don't know if this particular format will be recognized (by GDAL, the third party library that loads rasters). Otherwise you're doomed ;)
Re: importing ASCII Grid file
Posted: Fri Oct 27, 2017 1:45 am
by AndrewPerth
Hi Daniel, how would one load it in as a raster? A google search, reviewing previous board posts and just messing around with Cloud compare yielded no results.
Re: importing ASCII Grid file
Posted: Fri Oct 27, 2017 6:10 am
by daniel
Oh, you have to select the 'Raster' filter in the file opening dialog. Then try to load the file (GDAL will try to autodetect the format).
Re: importing ASCII Grid file
Posted: Fri Oct 27, 2017 6:48 am
by AndrewPerth
Ahhh, ok. I had been dragging the files directly into Cloud Compare which bypasses that dialog!
Works perfectly fine now, thank you for your assistance!
Only problem now is having to hit Yes over and over again when it's asking whether to remove NaN points and agreeing to the point translation due to the large amount of individual files i'm working with.
Re: importing ASCII Grid file
Posted: Fri Oct 27, 2017 7:05 am
by daniel
Yes, when you drag the file over the window, CC detects the format based only on its extension. And ASC is a standard cloud format (well, it's also a raster format, but CloudCompare is primarily for clouds ;).
Re: importing ASCII Grid file
Posted: Fri Oct 27, 2017 8:04 am
by daniel
For the Global Shift, you should be able to load all the files at once (with CTRL or SHIFT + select) and then click on the 'Yes to all' or something equivalent.
For the NaN points... we'll have to work on that ;)