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

New user questions: Can I use Cartographer to generate a height map of RSS-Earth as it exists in game? #24

Open
Nightside101010 opened this issue May 3, 2020 · 1 comment

Comments

@Nightside101010
Copy link

I think this mod can help me, but I don't know how to use it. I didn't see any controls in game, am I missing something?
I'm trying to bulk-generate every runway in the world from GIS data. My data has elevations, but I'm finding that RSS/Kopernicus does not really match elevations very well, sometimes it is off by 1000s of meters.

  • Can I use Cartographer to generate a height map of RSS-Earth as it exists in game?
  • Does it work with Kopernicus planets?
  • Assuming I can have it generate a height map, what are the limits of resolution? I'm thinking I should go to 0.01 degrees/pixel.
  • Again, assuming I can export a height map, can I control the extents? That is: have the longitude axis go from -180 to +180, with the prime meridian right in the middle, or it like kopernicus where the map goes from -270 to +90 (with -90 in the middle).

Thanks for your help

@Sigma88
Copy link
Owner

Sigma88 commented May 3, 2020

There is a limitation in how the PQS system works that does not allow to know the exact altitude of a certain location ingame.

The tools provided by squad can only give an approx value of altitude, the only real way to make sure of the altitude of the terrain at a certain position is physically go there and check.

And even this technique is faulty since different settings of terrain quality will affect the altitude as well, so the values you get in your specific game are not consistent with the altitudes other people have in their games.

Understanding this, here's the answers to your questions:

  • Can I use Cartographer to generate a height map of RSS-Earth as it exists in game?

You can get an heightmap, but that would be subject to the limitations I explained before.

  • Does it work with Kopernicus planets?

Yes

  • Assuming I can have it generate a height map, what are the limits of resolution? I'm thinking I should go to 0.01 degrees/pixel.

Cartographer has no limit, you can export a full map or just a section of the map, so if you want you could make an 8k texture of a square meter.

The limitation on the texture is the standard Unity limit (I think it's 8k by 4k but I might be mistaken)

  • Again, assuming I can export a height map, can I control the extents? That is: have the longitude axis go from -180 to +180, with the prime meridian right in the middle, or it like kopernicus where the map goes from -270 to +90 (with -90 in the middle).

Yes, I don't remember what the default options are but all of them are modifiable.
I would have to look into the code because I don't remember right now, but if you still want to procede feel free to tell me what result you want and I will explain how to write the cfg.

I'm also available on discord if you want a more interactive conversation

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

No branches or pull requests

2 participants