I am very bad at QGIS, but I really need to have TIFF of the area on the picture, to export it later to Unreal Engine. The problem is the sea. Unreal takes it as a part of the ground. It doesn't recognize the water. How can I export height map of the ground separately from the sea?

enter image description here enter image description here

  1. Get a polygon layer of the water surface, for example from OpenStreetMaps (OSM). See here how to download: https://gis.stackexchange.com/a/368774/88814. Another option is to use the QuickOSM plugin. You can use the OpenStreetMap tags natural=water (red on the screenshot) and natural=bay (blue).

You will get many very small water features, so probably you want to keep only a few and delete all that are smaller than a certain area. When extracting from OSM, keep the polygon layer only, delete line- and point layers.

Screenshot: using QuickOSM to extract features tagged natural=bay from OSM: enter image description here

  1. Than use the tool Clip raster by mask layer from the Menu Raster / Extraction (alternative: SAGA tool Clip raster with polygon).
  • i am sorry but how to get a polygon layer of the water surface? – Елизавета Новицкая Jan 12 at 16:33
  • See updated question – Babel Jan 12 at 16:37
  • Thank you so much for your answer! But maybe you know, why can I get this error when i try to clip raster with polygon?.. prnt.sc/wm0hzh – Елизавета Новицкая Jan 12 at 18:20
  • See the error messages in Log messages panel where you find more information. Always post error messages as text, not as screenshot. To avoid lengthy discussions here in comments, post this as a new question. Be aware of the focused Q&A format, see tour. Describe what you did (you may link tothis post) and where yor're stuck. – Babel Jan 12 at 18:41
  • Could have to do with wrong CRS – Babel Jan 12 at 19:11

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.