Board index FlightGear Development Scenery

Uk & Ireland update

Questions and discussion about enhancing and populating the FlightGear world.

Uk & Ireland update

Postby dom_vc10 » Wed Aug 03, 2022 3:05 pm

Hi

I have generated the UK and Ireland for myself. It's a bit more simplified than the default scenery as I am using photo scenery so I do not need to have roads and railways for example. There are issues with it that I will slowly correct for my own needs as time permits however it works for me. If anyone is interested I can maybe share it on github?

notes...
- Used newer apt.dat data so all airports are updated in line with that. This updates the airports a lot with correct runway numbers, taxi signs etc.. The old FG data was way too old
- Less data used (I think) than default as I use the photoscenery and OSM roads/buildings it seemed pointless to include much more.
this was what I took from OSM
Code: Select all
osm_beach
osm_commercial
osm_farmland
osm_forest
osm_grass
osm_heath
osm_industrial
osm_meadow
osm_orchard
osm_park
osm_quarry
osm_reservoir
osm_residential
osm_scrub
osm_water
osm_riverbank
osm_retail
osm_wetland
osm_cliff
osm_stream


- Elevation data from viewfinderpanoramas.org
- There is an issue with some airports. In xplane some airports use polygons for some taxiway areas and this is not in the apt.dat so there can be missing parts of taxiways. These will have to manually be edited in WED then areas rebuilt as I cannot see and automated way for this :?
- a little bit of cornwall, scilly isles and channel isles are not done yet.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby merspieler » Wed Aug 03, 2022 10:46 pm

the poly thing can be easily fixed... I use this script (don't remember where exactly I've got that from)
see the aptupd.py on how I call it before running terragear
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Uk & Ireland update

Postby TheEagle » Thu Aug 04, 2022 1:40 am

merspieler wrote in Wed Aug 03, 2022 10:46 pm:this script (don't remember where exactly I've got that from)

I think from here: https://github.com/mherweg/d-laser-fgtools
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Uk & Ireland update

Postby dom_vc10 » Thu Aug 04, 2022 7:21 am

Ah great. I already use some scripts from there I didn’t notice that. I guess I need the dsf for each airport too though to run it from what I see. Will be good to make corrections for when I see them I guess. Thanks to you both
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby merspieler » Thu Aug 04, 2022 5:12 pm

if you download the zip files from the gateway via their api, you've already got the .dsf files in there.

iirc I've had to fix some formatting in the script for it to run under python3... just in case you run into that issue...
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Uk & Ireland update

Postby TheEagle » Thu Aug 04, 2022 5:21 pm

There's a script that pulls apt.dat and dsf.txt files from the gateway, selected by either a list of ICAO codes or a bounding box, and another that converts those dsf.txt files to FlightGear STG files in my FGTools repo, just in case it could be of any help ! For the latter, you also need to put the Models/lib folder from https://github.com/mherweg/d-laser-fgtools into your scenery folder.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Uk & Ireland update

Postby dom_vc10 » Thu Aug 04, 2022 10:33 pm

Sounds great. Thanks once again :-) I have had a play with that script before but right it's more about the airport layout than models but for sure I will play again with that when I have time :-)
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby legoboyvdlp » Fri Aug 05, 2022 4:53 pm

dom_vc10 wrote in Wed Aug 03, 2022 3:05 pm:- There is an issue with some airports. In xplane some airports use polygons for some taxiway areas and this is not in the apt.dat so there can be missing parts of taxiways. These will have to manually be edited in WED then areas rebuilt as I cannot see and automated way for this :?


Simply use the automated WED tool to convert polygons to taxiways. There is no need for manual editing and it's far more simple than using a script.

Re The channel islands - they are already updated in TerraSync - I'd say redoing them would be redundant.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Uk & Ireland update

Postby merspieler » Sat Aug 06, 2022 10:42 am

does the WED tool do that in an automatic way, going over all airports or do you have to do that for each manually?
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Uk & Ireland update

Postby dom_vc10 » Sun Aug 07, 2022 10:36 pm

I don't see that option. In WED I normally use edit convert to then taxiway. This however is if I am converting one airport. Right now I have one big apt.dat no dsf files so I am not sure if this really is an option at all because from what I see the apt.dat does not have the polygon info that would come from the dsf file. If there is some way to get all the dsf files then some automatic WED conversion that would be great but I didn't see that.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby TheEagle » Sun Aug 07, 2022 10:53 pm

So the polygons you need are in the DSF files ? And you want to convert them to apt.dat taxiways ? If so, can you try opening one of those DSF in your favorite text editor and see if they are binary or in text format ?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Uk & Ireland update

Postby dom_vc10 » Sun Aug 07, 2022 11:03 pm

That's not the issue. I do not have DSF files for all airports I just have the apt.dat covering the world. I think I could find a way to download all of them possibly but then I would need to convert all of them then add all these additional parts to the apt.dat. Currently the build I've done seems ok. A few airports I looked at miss a bit of taxiway here and there but not main taxieways just some small areas on an apron for example. Unfortunately life gives ne a few hours a week to work on this I unless there is a simple way I will live with the imperfections as the build is already so much more updated than the default it was worth it. WS3 I hope will cover the gaps so maybe better to wait for that and use what I have in the mean time
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby merspieler » Sun Aug 07, 2022 11:43 pm

look at the repo I've linked above... it does all that for all airports globally (on first run). I'm sure you can adopt that to your own needs.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2241
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Uk & Ireland update

Postby dom_vc10 » Mon Aug 08, 2022 7:19 am

Ahhh ok my bad. Will look properly today then, I only took a quick glance.
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: Uk & Ireland update

Postby dom_vc10 » Mon Aug 08, 2022 12:35 pm

TheEagle wrote in Thu Aug 04, 2022 5:21 pm:There's a script that pulls apt.dat and dsf.txt files from the gateway, selected by either a list of ICAO codes or a bounding box, .


How do you do it with a bounding box? I only see the ICAO option sorry now see you meant he code on your git
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 8:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Next

Return to Scenery

Who is online

Users browsing this forum: No registered users and 9 guests