I have an .asc file and I want to import in QGIS.
The standard way to open it is from "add Raster layer" ("import Raster Layer") but is there another way?
I need to convert the .asc file to .tif or to another raster format with QGIS.
Answer
In QGIS, then the Add Raster Layer
(menu or toolbar) is your best bet: Layer: Add Raster Layer ...
. You could also use the Python console (see the pyqgis cookbook).
You may choose to load the layer, but you may also convert the file without adding it to your map canvas. Select the Raster: Conversion: Translate (convert format)
menu option. The 'input layer' is your ASCII file, and the 'output file' will be a new file (choose the output format - TIFF or any of the 30 or so GDAL output types you will find there).
You may also choose to change the projection at this stage, choosing a new SRS.
No comments:
Post a Comment