Which is the best way to merge/patch two or more adjacent maps? Through CLI!
GDAL (Geospatial Data Abstraction Library) can help me (or you, if you are reading this post).
However, GDAL is not in love with Arc/Info ASCII Grid. I don’t know why, but I think that I will answer to my question in a future post, because I often work with this type of files.
Anyway, to achieve the goal described by the title of the post it’s necessary to translate the
.asc file in
.virt one, through the gdal_translate command (it’s very important to set the nodata value):
Now, it’s possible to patch all the converted maps through the gdalbuildvrt command:
Then, just a simple conversion and you’re done!
See you soon!