5

I am using QGIS 2.18.15. I got some trouble to add an asc-file as a raster layer into QGIS. I tried to add the raster layer the normal way via the tool bar bottom. It did not work. ("The file source is not supported")

Then I tried to convert the data via Raster: Conversion: Translate (convert format) menu option as it is suggested at StackExchange (Manipulate .asc files in qgis). It did no work ether. Here is the same problem "not recognized as a supported file format."

enter image description here

The data I would like to add is from the following link. ftp://ftp-cdc.dwd.de/pub/CDC/grids_germany/multi_annual/solar/

It does not matter which data package I downloaded neither of them worked out.

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Jan 26, 2018 at 8:55
1
  • They do work by using drag&drop from the browser. As alternative you can rename them to .xyz Commented Jan 26, 2018 at 10:32

1 Answer 1

8

Unzip files and then open them in your preferred text editor. Remove all header lines before NCOLS.

enter image description here

Then you can plot them on EPSG:31467 projection.

enter image description here

answered Jan 26, 2018 at 10:12
1
  • 2
    Make absolutely sure that you have word-wrap off, otherwise you will corrupt the raster. Commented Jan 26, 2018 at 20:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.