Author Topic: Default Elevation settings  (Read 1455 times)

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Default Elevation settings
« on: March 29, 2021, 08:03:18 PM »
Is there a way to set a default elevation on a "makeahmap" output? Let me try to explain, the 4 Corners area has some phenomenal landscape, however its any where from 5,000 ft. to 12,000 ft.. It would be nice to be able set a default elevation, say 5,000 ft. = 20 ft.. This would bring the overall elevation back into a practical range. Just a thought. :joystick:
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: Default Elevation settings
« Reply #1 on: March 31, 2021, 01:54:10 AM »
I can add it shouldn't be a big problem.
Artik, 101 "Red" Squadron, Israel

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: Default Elevation settings
« Reply #2 on: March 31, 2021, 01:56:20 AM »
Ping me  via github if I don't do it within a week or so
Artik, 101 "Red" Squadron, Israel

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #3 on: March 31, 2021, 09:00:30 AM »
Ping me  via github if I don't do it within a week or so

You sir, are awesome, as well as your program!
 :aok
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline captain1ma

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 14299
      • JG54 website
Re: Default Elevation settings
« Reply #4 on: March 31, 2021, 10:49:20 AM »
thanks for all you do artik, you're helping a lot of us out!!

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: Default Elevation settings
« Reply #5 on: April 02, 2021, 05:18:54 AM »
I added an option in latest version 1.13

altitude_offset it is value in feet it is added to geographical altitude. So if you want to set 5000 feet to 0 put a value -5000 to it.

Artik, 101 "Red" Squadron, Israel

Offline popeye

  • Gold Member
  • *****
  • Posts: 3593
Re: Default Elevation settings
« Reply #6 on: April 02, 2021, 08:22:46 AM »
Great addition.  Thanks!   :salute
KONG

Where is Major Kong?!?

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10880
Re: Default Elevation settings
« Reply #7 on: April 02, 2021, 09:02:15 AM »
Thanks for the updates Artik!
Easy in-game again.
Since Tour 19 - 2001

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #8 on: April 02, 2021, 09:08:39 AM »
Awesome sir!!!!! Thank you!!!!!  :salute
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #9 on: April 02, 2021, 09:48:22 AM »
Just tried it out on the 4Corners map. IT IS AWESOME!!! This opens up all kinds of new possibilities for map terrains!  :cheers:
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #10 on: April 02, 2021, 10:46:49 AM »
I assume, if we needed to add elevation to a map, such as the Dead Sea area, we could use "+integer" for adding elevation. Is that correct? :headscratch:
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: Default Elevation settings
« Reply #11 on: April 02, 2021, 11:00:44 AM »
I assume, if we needed to add elevation to a map, such as the Dead Sea area, we could use "+integer" for adding elevation. Is that correct? :headscratch:

I prefer to give it to sea level optimizer since I need to have both Mediterranean and Dead Sea to be at same level... this is what the complex optimizer does.

if you don't have water bodies or you ignore the then offset is good idea
Artik, 101 "Red" Squadron, Israel

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #12 on: April 02, 2021, 05:48:34 PM »
Hmm, adding +50 to the existing elevations, seems to have no effect. All 1 ft. areas are still 1 ft.. Shouldn't they be 51 ft>? Sorry Artik, I'm kind of slow, getting old you know  :D.
Kenai77
CO Sic Puppies MWK
USAF 1971-76

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: Default Elevation settings
« Reply #13 on: April 02, 2021, 06:13:27 PM »
Hmm, adding +50 to the existing elevations, seems to have no effect. All 1 ft. areas are still 1 ft.. Shouldn't they be 51 ft>? Sorry Artik, I'm kind of slow, getting old you know  :D.

Since all lakes, rivers and seas need to have alt=0 the major constrain on the altitude is water bodies. https://www.hitechcreations.com/wiki/index.php/Terrain_Generation_From_Geographical_Data#Handling_Water_Bodies


So if you add 1000 feet to something but than move all the area around to 0 feed it woudn't help...
Artik, 101 "Red" Squadron, Israel

Offline JimmyD3

  • Gold Member
  • *****
  • Posts: 3758
Re: Default Elevation settings
« Reply #14 on: April 02, 2021, 08:12:52 PM »
Think I've got it now,or at least I understand the constraints better. Thanks for being patient with me. :rock
Kenai77
CO Sic Puppies MWK
USAF 1971-76