Gimp now supports the HGT file format


In the latest developer version Gimp (2.9.8) now supports the HGT file format.

So what is HGT? That’s topography data basically just containing elevation in meters of various landscape (HGT stands for “height“), gathered by the Shuttle Radar Topography Mission (SRTM) run by various space agencies (NASA, National Geospatial-Intelligence Agency, German and Italian space agencies…). 

You can read more about the file format in Jehans blog:
https://girinstud.io/news/2017/12/new-format-in-gimp-hgt/

  1. Get Gimp >= 2.9.8.
  2. Get the HGT file you are interested in. I used this on: https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N50E014.hgt.zip
  3. Unzip the file.
  4. Open the HGT file in Gimp. 
    It is OK, that the file is all gray. Now we have to go to the next step.
  5. Edit the HGT file with Colours -> Levels
    Use the black and white triangles in the "Input Levels" section to show only the interesting data. To be more exact you can open the levels dialogue a second time.
  6. Export the HGT file as JPEG. (For this example I used "N50E014.jpg")
  7. Create a KML file like this one:
    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://www.opengis.net/kml/2.2">
    <folder>
    <name>Ground Overlays</name>
    <description>Examples of ground overlays</description>
    <groundoverlay>
    <name>Large-scale overlay on terrain</name>
    <description>NASA elevation file</description>
    <icon>
    <href>N50E014.jpg</href>
    </icon>
    <latlonbox>
    <north>50</north>
    <south>51</south>
    <east>14</east>
    <west>15</west>
    <rotation>0</rotation>
    </latlonbox>
    </groundoverlay>
    </folder>
    </kml>
    Important is to change the filename to the name of the exported jpeg and coordinates in the LatLonBox
  8. Open the KML file in Google Earth (old Desktop Version)
  9. Hide everything you don't like in Google Earth. 
  10. Export an image without the KML-Layer.
  11. Export an image with the KML-Layer.
  12. Open the first image in Gimp

  13. Open the second image as new layer
  14. Blur the first image
  15. Use the Bump Map filter with the second image as source

Kommentare

Beliebte Posts aus diesem Blog

Low polygon 3D europe map

Isle of Mull

How run Google Cardboard Apps using Google Daydream