Board index FlightGear Development Scenery

HGT file editor

Questions and discussion about enhancing and populating the FlightGear world.

HGT file editor

Postby SurferTim » Thu Jul 25, 2019 12:04 pm

I have developed a primitive python/Qt/Silx program to edit hgt files. It requires
Python
Qt
Silx http://www.silx.org

Here is the primitive code.
http://www.prolectron.com/flightgear/HGTEditor.tar.gz

My initial goals would be to eliminate the need for Silx toolkit, display the decimal fraction of degrees instead of 0-1200, then a "file open" and "file save" function.

Any thoughts?
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: HGT file editor

Postby xDraconian » Fri Aug 02, 2019 3:49 pm

Thanks. Sounds interesting. I will take a look at this over the weekend.

Scott
xDraconian
 
Posts: 406
Joined: Sun Jan 21, 2018 6:53 am
Version: Git
OS: Linux Mint

Re: HGT file editor

Postby SurferTim » Fri Aug 02, 2019 4:12 pm

Let me know what you think. Most airports do not require this, just small airports that have an unusual runway gradient, like St Barth and a few other islands in the Caribbean.

If you have trouble with it, and need a runway bulldozed, I can do that.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: HGT file editor

Postby Alant » Fri Aug 02, 2019 4:21 pm

Many thanks. I will give it a go, perhaps not this weekend, but ASAP. I have a couple of airfields where sections of the runway are at the bottom of what looks like a railway cutting.
Alan
Alant
 
Posts: 1223
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: HGT file editor

Postby SurferTim » Fri Aug 02, 2019 5:26 pm

Alant wrote in Fri Aug 02, 2019 4:21 pm:Many thanks. I will give it a go, perhaps not this weekend, but ASAP. I have a couple of airfields where sections of the runway are at the bottom of what looks like a railway cutting.
Alan

That is what it eliminates. It also allows you to grade a custom slope. Requires a --max-slope value when building the scenery.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04


Return to Scenery

Who is online

Users browsing this forum: No registered users and 7 guests