Author Topic: Automatic terrain generation from geographical data (a tool I created)  (Read 22967 times)

Offline artik

  • Silver Member
  • ****
  • Posts: 1902
      • Blog
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #105 on: June 15, 2016, 03:56:35 PM »
Currently I had dropped support of makeahmap for AH2 - there is some stuff that does not work right now but I don't think I need to waste my time on it.

Updates for AH3 there: http://bbs.hitechcreations.com/smf/index.php/topic,379777.0.html
Artik, 101 "Red" Squadron, Israel

Offline Kanth

  • Gold Member
  • *****
  • Posts: 2462
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #106 on: March 29, 2017, 11:34:15 AM »
posting elsewhere just ignore this.
« Last Edit: March 29, 2017, 12:00:25 PM by Kanth »
Gone from the game. Please see Spikes or Nefarious for any Ahevents.net admin needs.

Offline Randall172

  • Persona Non Grata
  • Copper Member
  • **
  • Posts: 277
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #107 on: June 09, 2017, 08:10:57 PM »
You should put this on Github so that others can see source and fork it

Offline artik

  • Silver Member
  • ****
  • Posts: 1902
      • Blog
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #108 on: June 10, 2017, 07:37:47 AM »
You should put this on Github so that others can see source and fork it

It is https://github.com/artyom-beilis/makeahmap

this is quite an old thread and should be replaced with more recent one.
Artik, 101 "Red" Squadron, Israel

Offline captain1ma

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 14296
      • JG54 website
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #109 on: August 16, 2018, 11:38:32 AM »
if you need to download his makemap program, use the following link. program works great!!! version 1.12 was the last one.

http://cppcms.com/files/makeahmap/

Offline CptTrips

  • Platinum Member
  • ******
  • Posts: 7740
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #110 on: October 18, 2018, 09:35:31 AM »
Wow!  This is an excellent piece of coding.   :salute Artik!!
Toxic, psychotic, self-aggrandizing drama queens simply aren't worth me spending my time on.

Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #111 on: January 29, 2019, 11:51:41 PM »
Artik,

I found an alternate source for the GTOPO30 resource that was taken offline at
Quote
edcftp.cr.usgs.gov/data/gtopo30/global/

Try this URL:

http://www.webgis.com/terr_world.html

The global cover link needs to be updated to:

due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif
« Last Edit: January 29, 2019, 11:57:09 PM by Ciaphas »
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline artik

  • Silver Member
  • ****
  • Posts: 1902
      • Blog
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #112 on: January 30, 2019, 03:04:51 AM »
Artik,

I found an alternate source for the GTOPO30 resource that was taken offline at
Try this URL:

http://www.webgis.com/terr_world.html

The global cover link needs to be updated to:

due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif

It was fixed to webgis.com at the github, so latest version 1.12 contains the correct URL.

Regarding globcover, the 1.12 version already points to latest version (zip also not tiff)

Also today I suggest to use SRTM3 unless you have to do something above N60 in such case it is better to use SRTM30 that has slightly better quality for data below N60 than GTOPO30
« Last Edit: January 30, 2019, 03:06:48 AM by artik »
Artik, 101 "Red" Squadron, Israel

Offline artik

  • Silver Member
  • ****
  • Posts: 1902
      • Blog
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #113 on: January 30, 2019, 03:07:28 AM »
Make sure you download latest version from there:

http://cppcms.com/files/makeahmap/
Artik, 101 "Red" Squadron, Israel

Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #114 on: January 30, 2019, 07:28:25 AM »
ah, was definitely looking at a different version. my bad.

Thanks!


Sent from my iPhone using Tapatalk
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline Ciaphas

  • Silver Member
  • ****
  • Posts: 1955
      • DethKlokDave
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #115 on: January 30, 2019, 09:11:23 AM »
There is a silver lining to looking up information for an out of date version, my research skills are on point  :rofl
10.(Jabo)/JG 26 Nuisance Raids Scenario


Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10880
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #116 on: April 20, 2019, 08:26:08 AM »
Artik,
Any part of this you like can be used in any way you like!
Ex: The config.ini file can be opened with MS. Notepad.exe
That might be good at the top of your README.txt file?

Easy  :salute

Last Thursday I was asked if there was a tutorial for Artik’s program.
Artik’s original posting was on 2013 Oct 16, or ~6 years ago, at the top of this thread. Here’s the link for reference:
https://bbs.hitechcreations.com/smf/index.php/topic,355152.msg4704503.html#msg4704503

Since then, Artik’s answered many questions over the years, and I wouldn’t wish this thread to disappear without being linked by any new thread, but respectfully, maybe it’s time for a new sticky thread with current links to the program and instructions at the top?

Short of that, I’m responding to the request from 1eye.
In the post a few above this, Artik linked his latest version of his program at:
http://cppcms.com/files/makeahmap/
Edit:
As of April 2019
You want: makeahmap-1.12.zip   2017-Feb-17 22:02:01   2.9M   application/zip
/Edit

#______________________________________________
#  The first thing you need to know is that
#  the config.ini file can be opened with MS Notepad.exe
#  The program reads the config file for all its input!
#  Anytime a line in the config file sees the ‘#’ character, the program ignores
#  the rest of that line. This is very useful as explained later.
#
#  The config file is where you set such specifications as your terrain name, lat/lon, scale,
#  etc.
#
#  The program automates many aspects of terrain building but requires data files.
#
#  The config.ini file contains the explanation that the files, such as the Digital Elevation
#  Model (dem) data files are on the web, and that the files and their source addresses
#  are contained in the download_souces.txt file.
#  The information, that the DEM file addresses and other source file address are in
#  in the download_souces.txt file isn’t particularly important today, 2019 April,
#  but as the USGS and others tend to change the http paths every couple of years,
#  you should understand that if the files can’t be found by the program, it’s probably
#  because of the sources' web admin has changed the path.
#  Unfortunately, the USGS often changes the path, about every couple years in the past.
#  This will break the internal link and require that the user manually update the paths
#  or wait for a program update.
#  Until a new release of the program, with a new download_souces.txt file is released
#  the program won’t be able to find the sources. No worry though.
#  As of 2019 April, the links still work. But if they don’t, the paths in the
#  download_sources.txt file can be manually updated.
#  A Google search on the final file names, as found in the download_souces.txt file,
#  should find the new path to the needed sources.
#  The beauty of the program is that once downloaded, the user will not need to
#  download, or wait for a particular source file again unless he deletes the program
#  folder.
#______________________________________________

#  By the way, this next entire dummy block can be pasted as is into the config.ini
#  document as is, so long as it is the last active input data in the file.
#
#  Why is this important?
#  This means that apparently ALL the config data for any particular
#  terrain can be kept together in one block.
#
#  To be clear, something like lat= or lon=, works the same way.
#  Helpful while narrowing down the exact target lon/lat.
#  Example follows:

map_name=newteran   # 8 char alphanumeric only, no “_” etc.

map_size=64
dem=srtm3
output_dir="newteran "   # MUST manually create the dir ie. a new folder inside the "makeahmap-1.12" folder
lat=50.000000      # will be over-written by next lat=
lat=51.000000      # new legal target latitude
lon=3.000000
lon=4.000000      # same situation for longitude
scale=1.0
river_level=11      # otherwise, some of the water courses won't be drawn. Your call, search config notes.
#______________________________________________

IMO, the AH AvA, SEA, and terrain building community owe a great debt of gratitude to Artik for his unselfish work on your behalf. I can say this as someone who has programed a similar program in the past.
 :cheers:
« Last Edit: April 20, 2019, 08:51:31 AM by Easyscor »
Easy in-game again.
Since Tour 19 - 2001

Offline artik

  • Silver Member
  • ****
  • Posts: 1902
      • Blog
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #117 on: April 20, 2019, 11:46:33 AM »
btw there is very detailed tutorial here
https://www.hitechcreations.com/wiki/index.php/Terrain_Generation_From_Geographical_Data

and it is 100% community editable

And thanks
Artik, 101 "Red" Squadron, Israel

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10880
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #118 on: April 20, 2019, 11:51:34 AM »
Cool. I'll be looking at it myself.

Thanks again!

 :cheers:
Easy in-game again.
Since Tour 19 - 2001

Offline 1ijac

  • Silver Member
  • ****
  • Posts: 971
Re: Automatic terrain generation from geographical data (a tool I created)
« Reply #119 on: April 22, 2019, 01:19:04 AM »
Thank you Artik and Easyscor.  I'm new at this and appreciate the help.

One-eye   :aok
"One-Eye"