SRTM .hgt File Handling

Markus Gpsmax shared this question 8 days ago
Answered

How is Locus Handling the .hgt Files ?

I mean, the SRTM format is same as BIL. Difference: just with defined pixel rows and clumns.

Is Locus able to handle a bigger .hgt file ? Do Locus calculate the pixel-spacing or just use one of the 2 normal possible ?

I want to use a much more detailled height model ! (Lidar Data with 50cm Spacing or 1 m)

Comments (3)

photo
1

Good day Markus,

if you have data prepared, best is to give it a try. I think it should work (and if not, create a bug report and attach one file for test). Only thing I'm little worried is fact, that app load necessary HGT files directly into memory for a lot faster work. 1m files will be probably really huge so there will be need for some automatic optimization and disabling this system. Anyway give it a try and you will see, I've personally never tried/used such huge HGT files.

photo
1

Ok, Thanks for fast Answering

I use GlobalMapper to export my Data to the .bil Format. (Motorola BigEndian Byte-Order) rename it to .hgt

Delete the corresponding File that Locus downloaded and replace it with my "new" one.

When I export my Data as .hgt -File (SRTM 1") i get it working but with the standard resolution. And it seems also to be very close to .bil format. (I am just able to export as .bil in custom Resolution)

I think i should keep the square Area of the Data so that Locus maybe is able to use it. (I don´t know how Locus parses the Data).

So I give it a try the next Days.

photo
1

I'm not sure if simple rename will work, you will see. I remember I worked with bil format some time ago, but it's direct internal support was removed few years ago.

App should anyway work with all HGT files, no matter how precise they are.