Questions tagged [hgt]

A format where SRTM files are encoded in

Filter by
Sorted by
Tagged with
1 vote
1 answer
41 views

How do I fix the average shading of many .hgt tiles in QGIS?

I downloaded many .hgt files to map California. When I open them in QGIS, the borders line up perfectly, but the average height shading is different for each .hgt file. Is there a way to average out ...
santmonbarb's user avatar
0 votes
1 answer
290 views

Batch conversion of .hgt files to .tif using Powershell returns filename.hgt.tif files

I have a folder which contains DEM in .hgt. I want to convert them via GDAL. So to convert a single file, it's gdal_translate -of 'GTiff' N16E122.hgt N16E122.tif. To do it in Powershell, I figured it'...
BallpenMan's user avatar
  • 1,217
2 votes
1 answer
178 views

Can I create .las or .laz files from .hgt, .tiff, .gpx/kml or .asc files?

I have got into a golf simulator game and want to recreate my home course. Problem here is that the only import way for height information is a LAZ or LAS file. So I am looking for a way to work ...
Stephan W's user avatar
1 vote
0 answers
232 views

Bad result when extract slope from HGT using GDAL

I'm trying to generate a slope tif from a HGT DEM file from SRTM. I'm following this posts: https://blog.mastermaps.com/2012/06/creating-hillshades-with-gdaldem.html https://blog.mastermaps.com/2012/...
Magno C's user avatar
  • 2,130
2 votes
0 answers
3k views

SRTM HGT to GeoTIFF conversion using GDAL

I have (for example) SRTM-1 file n48e083.hgt with resolution 3601x3601. What is right way to convert it to GeoTIFF? gdal_translate -srcwin 0 0 3600 3600 -a_ullr 83 49 84 48 n48e083.hgt n48e083.tif or ...
Alexey Gusev's user avatar
0 votes
0 answers
187 views

How to place point information in a .hgt file

I am a noob when it comes to LiDAR data. I normally work with las, lasx or las tiles to create golf courses from around the world for a game. I have recently have had a request to create a golf ...
NobleMan's user avatar
  • 101
0 votes
1 answer
247 views

Unable to open hgt downloaded from dds.cr.usgs.gov

I downloaded a SRTM hgt file from https://dds.cr.usgs.gov/srtm/version1/SRTM30/w100n40/w100n40.dem.zip, after unzipping I am not able to open it in QGIS or even gdalinfo. I downloaded other hgt files ...
Elio Diaz's user avatar
  • 3,456
1 vote
1 answer
515 views

Reading same hgt file downloaded from two sources

I have two tiles for SRTM1 for the same bounding box region, but downloaded from two sources. I read a value for a given latitude and longitude with python. I get always a difference of one meter for ...
Khaled's user avatar
  • 287
1 vote
0 answers
422 views

How to specify HGT file name in gdal_translate command?

gdal_translate command is generating a HGT file with user defined name but its giving an error as `N5464347W74.hgt' not recognized as a supported file format. Below is the command and the entire ...
getsuha's user avatar
  • 133
0 votes
1 answer
579 views

Print elevation of different coordinates from .hgt file [closed]

I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file. from gmalthgtparser import HgtParser hgt_file='N09E076....
Kira Sakura's user avatar
2 votes
2 answers
5k views

How to open .hgt files on QGIS 3.2?

I have downloaded a hgt file from EarthExplorer but when I try to load it on QGIS I get an error "GDAL provider cannot open GDAL dataset". I was under the impression that hgt files were supported. It ...
TTome's user avatar
  • 951
0 votes
0 answers
638 views

Generating a Map (like Google Maps) using HGT files

I'm doing a programming project. It consists of generating a Map (like Google Maps) from height files .HGT Currently, I can read each file .hgt (each .hgt file have 1201 * 1201 elevation data). For ...
Xenetrix's user avatar
  • 101
1 vote
1 answer
899 views

Getting correct elevation from hgt file [closed]

When reading SRTM3 data from a .hgt file I get the wrong elevation of a specific latitude longitude and I can't see why. Maybe someone can see the problem ? My coordinate is near Lissabon in the sea ...
user1344545's user avatar
1 vote
1 answer
2k views

How to open .hgts file from NASADEM data

I have the NASA SRTM1 data as .hgt files from their ftp website, but I would have these elevation data in respect to WGS84. I found by NASA's ftp site a folder named srtmOnly that contains what I want,...
Khaled's user avatar
  • 287
1 vote
0 answers
1k views

Which DEM format is efficient .tiff or .hgt

I know this is a vague question, but I've no expertise in GIS world. I was building this terrain map for a game like simulation project that I'm invested in. Data accuracy is least or no concern, but ...
ISONecroMAn's user avatar
1 vote
1 answer
170 views

r.viewshed output location

I'm very new on GRASS and trying to extract the viewshed of a SRTM HGT file. This is what I've done so far: (why I'm using GRASS command line this way is not in question. Please answer this same way) ...
Magno C's user avatar
  • 2,130
1 vote
1 answer
2k views

Extracting data from hgt files?

SRTM3 .hgt files have 1201*1201 DEM elevation data, I extract .hgt files data elevation into file Elevation.json with index.js with the help from this GitHub project. Then I rename Elevation.json ...
Khaled's user avatar
  • 287
2 votes
0 answers
257 views

Generating HGT Files from SRTM 90m Digital Elevation Database v4.1?

This may be a really dumb question and I apologize if it is - this is pretty new to me. I'm using the HGT files from https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/ with a program currently and want ...
Matt R's user avatar
  • 45
1 vote
1 answer
1k views

Splitting and converting a large tif files into multiple .hgt files

I'm quite new to GIS format and conversions, so be patient with a newbie. I got stuck on a file conversion and I'm looking for some help this to fix my scripts. I have a big 5 GB tif file with a ...
Stefano Falconetti's user avatar
0 votes
1 answer
692 views

Geo transform matrix

What does it mean "Source image must have a geo transform matrix" during gdal_translate when I want to export geotiff to .hgt file. I know what a matrix is, but don't know how to make one.
educated_morron's user avatar
3 votes
2 answers
1k views

SRTM data represented in 3D using Unity. Problem texturing with sat images

I'm currently working on a project that represents geographic data in 3D using Unity. It basically loads, when given a GPS position, the area around it. For example, given the coordinate 50.5N 6.5E it ...
user89447's user avatar
2 votes
1 answer
556 views

Why there's a break between each .hgt srtm tile when importing to QGIS?

When I import the .hgt srtm elevation data to QGIS, the each tiles(each .hgt files) stitches with with a break or contrast variance or something like this: And it gets worst when rendering it with ...
Nithz's user avatar
  • 21
0 votes
1 answer
185 views

postgis SRTM3 different raster scale in same column

SRTM3 elevation data are stored in HGT files each containing 1201x1201 values. I want to store this information in a PostGIS raster column with a single band. To optimize my queries, I wanted to ...
jobou's user avatar
  • 111
1 vote
0 answers
742 views

How get latitude, longitude and altitude from SRTM SWBD and .hgt files in one table

I know this question may seem repetitive but I am not able find a solution hence I am asking this question . 1)I have downloaded OSDM data, SRTM SWBD data and also the corresponding .HGT file ...
darshan's user avatar
  • 21
1 vote
1 answer
945 views

dt1 to hgt conversion

I have an application that generally uses .hgt files for 3-arc-second resolution of elevation data. A military user has asked us to use .dt1 files (also 3-arc-second resolution) that they have ...
J Braun's user avatar
  • 13
3 votes
0 answers
205 views

Questions about SRTM , .hgt format and the sea level/coastline [closed]

What a nice place here ! The questions/answers system is very elegant. I have read and get some useful informations allowing me to write a little .hgt reader... I am working on C.G.I and create 3d ...
Vincent A's user avatar
0 votes
1 answer
3k views

QGIS 2.2: GDAL Grid (Interpolation) Error

As much as i understand Raster -> Analysis -> Raster (Interpolation) can provide me with a terrain file out of a shape file with a Z coordinate. I select the input and output file and a Z field. It ...
eight's user avatar
  • 43
4 votes
2 answers
3k views

How do you convert SRTM HGT elevations from WGS84 into meters above sea level?

I am building a JavaScript script that reads binary HGT files - as generated by the SRTM - and converts the data into bitmaps viewable in your browser. You can try out the script and view the source ...
Theo's user avatar
  • 139
2 votes
1 answer
2k views

Conversion from CGIAR GEOTIFFs to SRTM3 like HGTs

Im writing a C program for querying height information from SRTM data. Since reading directly GeoTIFF format is tough job, I decided to load HGT format, which serves great for the purpose. Since ...
zbycz's user avatar
  • 181
6 votes
1 answer
3k views

How can I convert a tif or xyz file to HGT?

Due to system incompatibilities between projects, I have been asked to convert my DEM which is in geotif format to HGT. I have no experience with HGT and cannot find any export options to this format....
Robert Buckley's user avatar
3 votes
2 answers
2k views

Loading .hgt file in SAGA GIS

I want to display and work with the data from http://dds.cr.usgs.gov/srtm/version1/Eurasia/ in SAGA-GIS but am having difficulties knowing which module I should use to load the data. As far as I know ...
Robert Buckley's user avatar