I'm using a DEM of Mars I got from UA's HiRISE website, and I want to convert it into an STL for 3D printing using the DEMto3D plugin.

However, the raster values are all negative, so I thought I could convert them into positive values using the Raster Calculator. Any time I try this though, I get an error message saying that "Raster calculator : Could not create destination file."

I haven't had this problem before working with HiRISE DEMs on QGIS, so I uninstalled and reinstalled the program, but that didn't work.

This is the link from which I got the DEM: https://www.uahirise.org/dtm/dtm.php?ID=ESP_027802_1685

  • Turns out that the DEMto3D plugin worked fine even with the negative values, guess I don't need to use raster calculator at all.
    – minji
    Apr 28, 2019 at 7:49
  • 2
    Welcome to GIS SE ! If you have found the solution, for sharing, please answer your own question, it's a good practice here ! And after two days, check it as a good answer. Apr 28, 2019 at 9:10

1 Answer 1


Previously, the plug in didn't seem to accept negative elevation values, so I tried to use the Raster Calculator as per this answer about Mars DEMs, but more recently it turns out that the plugin will work just fine with negative elevation values.

Your Answer

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

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