I have managed to create a numpy array from a raster file using commands from the gdal library, and now I would like to load that raster as a layer without saving it first. It seems like there should be a simple way to do this. Is there?

  • Possible duplicate:gis.stackexchange.com/questions/34082/… – Fran Raga Jul 13 '16 at 12:53
  • I saw this answer, thanks. I was hoping there was a way to do it without saving to disk. If not, that's OK I guess, but it seems like a wasted step in many instances. – Matt D. Jul 13 '16 at 15:17

This was not possible with QGIS2, but we will be able to edit raster in QGIS3 : https://qgis.org/api/classQgsRasterBlock.html#a69e7601b2c9b997805dd523438395b3f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.