Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Iceland, Faroe and Svalbard/Spitsbergen, use Sonny's LiDAR #14

Merged
merged 19 commits into from
Jul 30, 2023

Conversation

jonaseberle
Copy link

@jonaseberle jonaseberle commented Jul 9, 2023

This fixes several mesh problems in Europe by using Sonny's digital terrain models from https://sonny.4lima.de/.

Sonny DTM for Europe coverage

Affected tile sets: NA (for Iceland), EUR, maybe more due to #15.

For users:

This only changes the elevation model in Europe. Textures and overlays are not changed.

Testing instructions

You need to be technically versed and have experience with AutoOrtho to try this.

Download the assets from these test releases
If you are a Github power user, you can use the Github CLI →
gh --repo jonaseberle/autoortho-scenery release download v0.0.74-rc.2+eur
gh --repo jonaseberle/autoortho-scenery release download v0.0.75-rc.3+na
sha256sum --check *.sha256

or if you dare... download, check and unzip: (you realize that I had to do that so many times during testing...)

#!/bin/bash
scenery_path="$(sed -n 's/^scenery_path *= *\([^ ]*.*\)/\1/p' < ~/.autoortho)"
aoScenery="$scenery_path"/z_autoortho/scenery
for rel in v0.0.74-rc.2+eur v0.0.75-rc.3+na; do
  cmdGhRelDl="gh --repo jonaseberle/autoortho-scenery release download $rel"
  $cmdGhRelDl --skip-existing
  for sha in *.sha256; do
    zip=$(basename $sha .sha256)
    # redownload
    sha256sum --check $sha || $cmdGhRelDl --pattern $zip --clobber
    # unzip
    if sha256sum --check $sha; then 
      dir="$aoScenery"/$(basename $zip .zip)
      # if directory not present yet
      [ -d "$dir" ] || unzip -d "$aoScenery" $zip
    fi
  done
done
Setup your AutoOrtho
  • Remove (backup) all previous z_ao_* folders from <X-Plane>/Custom Scenery/z_autoortho/scenery (Details: otherwise due to Tiles in multiple tilesets #15 it could be you are seeing the old state)
  • Unzip the newly downloaded .zips into <X-Plane>/Custom Scenery/z_autoortho/scenery. The final structure has to be .../z_autoortho/scenery/z_<any name>/Earth nav data.
Setup X-Plane
  • Order scenery_packs.ini: start X-Plane and quit. Move the z_... to the bottom in scenery_packs.ini to see overlays. This test release does not include overlays, so if you want to test with autogen, use your existing yAutoortho_Overlays (or any other, for example simHeaven X-WORLD Europe).
  • To make sure you really see the new tiles, disable other mesh sceneries like Ortho4XP, Faroes4XP, Svalbard4XP etc. in scenery_packs.ini. Make a backup if you make changes.

To uninstall this

  • Delete the added folders and move your backed up folders back. Same for scenery_packs.ini if you made changes there. After stopping AutoOrtho, you can clean up the empty folders <X-Plane>/Custom Scenery/z_* that AutoOrtho created.

Things to look out for

Start locations with very obvious changes are for example

  • the Faroes EKVG (was flat before)
  • Iceland BIHN, BIAR, ... (was flat before)
  • Spitsbergen ENSB (was not included before)
  • the famous needle in the SRTM mesh 24NM West of EDDV should be gone

In Central Europe, Sonny's mesh has a similar fidelity to the one used before (J. de Ferranti, still way better than X-Plane default) – but a bit smoother.

I hope to see a smooth transition (towards Ortho4XP/Autoortho) at all coverage edges but would be nice to have that checked in more places (Serbia/Bulgaria/Romania looks like worth checking).

Please report your findings here as a comment. Thank you.

Next steps (dev):

Some screenshots from testing

Iceland Sonny's LiDAR ←→ X-Plane
Iceland Sonny's LiDAR ←→ X-Plane

ENSB-before-after
Svalbard: ENSB before ←→ after

EDDV/270°/24NM
the "space needle" at EDDV/270°/24NM before ←→ after

20230715_105138
ENSB

EKVG
Faroes: EKVG

LOWI1
LOWI: X-Plane ← before → after (admittedly there are some areas in the Alps where Sonny is not better)

LOWI
LOWI

near BIHN
Iceland: near BIHN

To quote Oscar Pilote who we owe so much: Bon Vol!


Fixes: #11
Fixes: #12
Fixes: kubilus1/autoortho#247
Fixes: kubilus1/autoortho#38
Relates: #5
Relates: #16
Relates: kubilus1/autoortho#117

This fixes many mesh problems by using Sonny's digital terrain models
from https://sonny.4lima.de/ for Europe.

Please consider a donation to Sonny for the great DTM that he is
producing and publishing for free.
@jonaseberle jonaseberle changed the title Fix Iceland, Faroe and Svalbard/Spitsbergen, use Sonny's LiDAR Add Iceland, Faroe and Svalbard/Spitsbergen, use Sonny's LiDAR Jul 9, 2023
I haven't noticed it has not been part of the scenery at all. But
there should be no reason not to.
@jonaseberle jonaseberle force-pushed the feat/use-sonny-lidar-dtm branch from b4e1e4e to 9eb86fe Compare July 9, 2023 18:09
"build" has a retry-config. I hope more .zips will successfully pass
like that.
We have many failures in that function.
Maybe that helps with the errors we have in the next step?
@jonaseberle jonaseberle force-pushed the feat/use-sonny-lidar-dtm branch from 4f6fb1e to b6ea982 Compare July 9, 2023 23:26
@jonaseberle jonaseberle marked this pull request as draft July 10, 2023 07:27
"clean" removes products, distclean brings mostly everything back to
like a clean git checkout
@jonaseberle jonaseberle force-pushed the feat/use-sonny-lidar-dtm branch from fc21e28 to 8e964cd Compare July 10, 2023 20:20
@jonaseberle jonaseberle force-pushed the feat/use-sonny-lidar-dtm branch from efa8568 to 4f41444 Compare July 10, 2023 22:06
@jonaseberle jonaseberle force-pushed the feat/use-sonny-lidar-dtm branch from 4f41444 to 2856ccd Compare July 11, 2023 08:19
@jonaseberle jonaseberle marked this pull request as ready for review July 15, 2023 07:33
@kubilus1 kubilus1 changed the base branch from main to sonny-lidar July 30, 2023 16:38
@kubilus1
Copy link
Owner

I'm going to merge this into a pre-release branch if you don't mind so I can take a closer look. Thanks again!

@kubilus1 kubilus1 merged commit fef336e into kubilus1:sonny-lidar Jul 30, 2023
@kubilus1 kubilus1 mentioned this pull request Jul 30, 2023
@rthor
Copy link

rthor commented Jan 15, 2024

@kubilus1 Are there plans to merge this into main and make a release?

cc @jonaseberle

@mauriziomannini
Copy link

[v0.0.74-rc.2+eur]
[v0.0.75-rc.3+na] (only 23-26 are relevant - that's Iceland)

23-26 files from v0.0.75-rc.3+na fix Iceland.

Which files fix Faroe Islands ?

@jonaseberle
Copy link
Author

@mauriziomannini Faroe is in the EUR tile set.
It is not trivial to find out in which .zip it is.

Each .zip contains a "chunk" of tiles.

The tiles in https://github.com/kubilus1/autoortho-scenery/blob/main/eur_tile_list get split into chunks with 125 tiles each.
If you find the line number of your tile in that file, you can theoretically deduct in which .zip number it is.

The Faroes are tiles +61-008, +61-007, +62-008, +61-007.

@mauriziomannini
Copy link

@jonaseberle many thanks for your quick reply.
At the end I believe it will be easier to download everything from v0.0.74-rc.2+eur, extract the new 'Earth nav data' and replace the old one (after a safe backup).

@rthor
Copy link

rthor commented Jan 24, 2024

@jonaseberle @kubilus1 any updates?

@jonaseberle
Copy link
Author

I am happy with it and use it exclusively.
I think it would help if people could test it and give feedback.

@rthor
Copy link

rthor commented Jan 24, 2024

Alright, I'll set it up and give it a run.

@rthor
Copy link

rthor commented Mar 29, 2024

works pretty much flawlessly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants