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

Remove Iceland #13

Closed
wants to merge 1 commit into from
Closed

Conversation

jonaseberle
Copy link

With the current default Ortho4XP configuration, Iceland has zero
elevation.

This removes the tiles from the NA tile list.

Command run:

for y in {63..66}; do
    for x in {-25..-14}; do
	tileRegex="$(printf "\\%+03d\\%+04d" "$y" "$x")"
	sed -i "/^$tileRegex/d" *_tile_list
    done
done

Fixes: #11

Relates: #12

With the current default Ortho4XP configuration, Iceland has zero
elevation.

This removes the tiles from the NA tile list.

Command run:
```bash
for y in {63..66}; do
    for x in {-25..-14}; do
	tileRegex="$(printf "\\%+03d\\%+04d" "$y" "$x")"
	sed -i "/^$tileRegex/d" *_tile_list
    done
done
```

Fixes: kubilus1#11

Relates: kubilus1#12
@kubilus1
Copy link
Owner

kubilus1 commented Jul 6, 2023

Thank for the PR!

I see there are some instructions out there to fix the elevation: https://forums.x-plane.org/index.php?/forums/topic/259020-autoortho-streaming-ortho-imagery-for-x-plane-11/&page=31#comment-2575931

Might be worth a try with that to see if it can be fixed.

@jonaseberle
Copy link
Author

That involves manually downloading elevation data (in these older threads they recommend the 3" Viewfinder DTM).
If we go that road, I would go straight for Sonny's data for the whole of Europe.
Or just Iceland? And where do we put the 150MB/4.7GB? #12

I thought this as a first step to fix the obvious bug (my thinking is users do rather want vanilla than flat), then later introduce a system for custom elevation data to use where we need it.

@kubilus1
Copy link
Owner

kubilus1 commented Jul 6, 2023

Yeah I saw the thing about Sonny's data. I briefly looked into that a couple weeks ago, and I think paused with 'where do I manage that large bin' Absolutely ways to do so, but working on shoestring here. A special 'release' may be an option, but there are limits on sizing with that.

Would Sonny's data cover Iceland though, I thought that was just for Europe mainland?

@jonaseberle
Copy link
Author

jonaseberle commented Jul 6, 2023


That covers the neuralgic areas (see below) that usually prohibit simple tile generation.
The great thing is that Ortho4XP just downloads from its default source (Viewfinder) where it does not find Elevation_data/*/*.hgt so it is totally transparent. And the data blends into SRTM (=Viewfinder) at the edges.

Flat areas in Europe:
Iceland/Faroe: Would be solved by any custom elevation data
Svalbard (currently not included in AutoOrtho): I can't remember if I had to do workarounds. I have Ortho4XP tiles with Sonny's elevation around the airports and used this https://forums.x-plane.org/index.php?/files/file/12550-svalbard-terrain for the rest. But probably just to save on storage.

@jonaseberle
Copy link
Author

A test with your Makefile.tiles worked without any problems for +64-016 after adding the elevation data:

20230706_193559

I am about to add the elevation data download from a peudo-release v0.0.0-assets to the Makefile.

I've asked Sonny if he would be ok with usage in AutoOrtho.

if so we can drop this PR I think.

@kubilus1
Copy link
Owner

kubilus1 commented Jul 6, 2023 via email

@jonaseberle
Copy link
Author

Sonny approved of it.
I've seen your mentioned "shoestring" now :) - the runners run out of disk space even though I packed it to just 2.8GB and just extract what is needed. If I find time I'll improve it on the weekend to only download the needed elevation data to the runner. It seems the margin is really slim.

I think we can close here and I'll open a new one.

@jonaseberle jonaseberle closed this Jul 7, 2023
@jonaseberle jonaseberle deleted the task/remove-iceland branch July 7, 2023 08:52
@kubilus1
Copy link
Owner

kubilus1 commented Jul 7, 2023

Excellent. Yeah there isn't a ton of room on the runners. This has some info: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

You'll notice how I split up the processing as well: https://github.com/kubilus1/autoortho-scenery/blob/main/Makefile.tiles#L53

So not sure how to align the splitting of this info with the execution.

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

Successfully merging this pull request may close these issues.

Elevation missing in Iceland
2 participants