Elvas Tower: Unable To Obtain .HGT Files For Project ! - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Unable To Obtain .HGT Files For Project ! Rate Topic: -----

#1 User is offline   marcuskiwi 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 46
  • Joined: 09-November 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 27 November 2017 - 12:00 PM

I am trying to build a route from Westport to Greymouth in the South Island of New Zealand and have hit a snag. I have downloaded all HGT files required from USGS.gov./SRTM3 site but Westport S41E171.HGT is not available which the Route Editor is looking for.
I then tried LINZ New Zealand and I can download the Westport area but only in TIFF or ASC format. So my main question is can anyone suggest a FREE program to convert TIFF etc to HGT
Mike

#2 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 27 November 2017 - 01:46 PM

I think it's missing because it is middle of the ocean - so no data.
Are you sure that your tile is in the right position? (check what is on the OSM map, or Google Maps).

.. edit, ok I see that Westport is right in the corner of S41E171 tile ...

Some indian user found solution how to convert tiff to hgt and posted it somewhere on this forum.

#3 User is offline   marcuskiwi 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 46
  • Joined: 09-November 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 27 November 2017 - 07:09 PM

View PostGoku, on 27 November 2017 - 01:46 PM, said:

I think it's missing because it is middle of the ocean - so no data.
Are you sure that your tile is in the right position? (check what is on the OSM map, or Google Maps).

.. edit, ok I see that Westport is right in the corner of S41E171 tile ...

Some indian user found solution how to convert tiff to hgt and posted it somewhere on this forum.


Thanks Goku I will check it out
Mike

Edit: I found the solution but I must admit I could not work out the system at all. It was all too much for my 77 year old brain. I will have to start my route from somewhere other than Westport which is a pity.

#4 User is offline   strawberryfield 

  • Hostler
  • Group: Status: Active Member
  • Posts: 55
  • Joined: 16-February 14
  • Gender:Male
  • Location:Cesena, Italy
  • Simulator:OpenRails, Rail3D
  • Country:

Posted 28 November 2017 - 08:50 AM

View Postmarcuskiwi, on 27 November 2017 - 12:00 PM, said:

So my main question is can anyone suggest a FREE program to convert TIFF etc to HGT
Mike

I can suggest Microdem

Remember that .hgt is a dumb format, so the ability to read (geo)tiff from the editor will be appreciated.

#5 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 28 November 2017 - 10:38 AM

Where you found the tiff files?

#6 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 28 November 2017 - 10:53 AM

I think you found a bug in TSRE. No one used geo tools in the south earlier.

Westport is -41.75,171.59 and TSRE asks for tile S41E171 .. but S41E171 is middle of the sea. TSRE should ask for S42E171.
https://e4ftl01.cr.u...1.SRTMGL1.2.jpg

#7 User is offline   marcuskiwi 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 46
  • Joined: 09-November 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 28 November 2017 - 01:34 PM

View PostGoku, on 28 November 2017 - 10:53 AM, said:

I think you found a bug in TSRE. No one used geo tools in the south earlier.

Westport is -41.75,171.59 and TSRE asks for tile S41E171 .. but S41E171 is middle of the sea. TSRE should ask for S42E171.
https://e4ftl01.cr.u...1.SRTMGL1.2.jpg


That would solve all my problems if you can somehow make TSRE ask for S42E171 instead of S41E171
Mike

#8 User is offline   strawberryfield 

  • Hostler
  • Group: Status: Active Member
  • Posts: 55
  • Joined: 16-February 14
  • Gender:Male
  • Location:Cesena, Italy
  • Simulator:OpenRails, Rail3D
  • Country:

Posted 02 December 2017 - 02:47 AM

View PostGoku, on 28 November 2017 - 10:38 AM, said:

Where you found the tiff files?


I use this tool to download 20m grid data for Italy: http://www.trainsimh...ad.php?did=1340
But you can download data for the whole world here, there are other sites like this with more detailed data.

If you want an example how to manage GeoTiff files in c# please take a look to my tool.

#9 User is offline   marcuskiwi 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 46
  • Joined: 09-November 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 02 December 2017 - 08:42 AM

Thanks for the info but Goku has now fixed TSRE to read correct New Zealand HGT files so I no longer need to worry about TIFF files

Mike

#10 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,348
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 02 December 2017 - 12:48 PM

There are two issues at play here -- the file format that holds the DEM data and the resolution of the DEM data itself.

IMO using one and only one file format is basically unacceptable because it will cut out more recent DEM data (higher resolutions). Both IMG and GeoTif are widely available and often the only high res data available are in those formats. Good GIS tools, such as QGIS, don't provide for .hgt format.

WRT resolution the US is moving towards 1m resolution. 30M is available for almost all of the country. TSRE needs to provide for multiple formats and a variety of resolutions so it meets the needs of a wide range of end users.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users