How To: Generate Superb Heightmaps :)
Moderator: OpenTTD Developers
Re: How To: Generate Superb Heightmaps :)
To add to my above post:
Before importing the final greyscale, decide on what newGRFs to use, as it's very difficult to change this once you first saved your edited greyscale.
So decide what kind of scenario you want to make out of your greyscale, what industries should be there, everything. Especially if you work on a huge map, where a lot of work goes into landscaping and placing industries it can be a big slap in the face to discover you have to rework the scenario... from the ground up...
If you want to share your scenario then also keep the public in mind. Some people might really like to play your scenario but not with some 'out of theme' newGRFs or they want to keep the newGRFs to a minimum. Etc.
I have now started to do some concept development on my imported greyscale. Identifying the right locations of towns, rivers, industries and mountains and labeling them accordingly. Since you can create a greyscale out of your OTTD scenario, I might point out towns by raising mountains and lowering rivers, just incase I need to reload my newGRFs.
Then once I feel I'm confident with all the settings, I will start adding in all the cities, towns, hamlets, rivers and industries... O.o But for a student in town-planning and urban design, thats actually lots of fun. Hehe
Here's a first look at my scenario.
http://www.tt-forums.net/download/file. ... &id=174736
Before importing the final greyscale, decide on what newGRFs to use, as it's very difficult to change this once you first saved your edited greyscale.
So decide what kind of scenario you want to make out of your greyscale, what industries should be there, everything. Especially if you work on a huge map, where a lot of work goes into landscaping and placing industries it can be a big slap in the face to discover you have to rework the scenario... from the ground up...
If you want to share your scenario then also keep the public in mind. Some people might really like to play your scenario but not with some 'out of theme' newGRFs or they want to keep the newGRFs to a minimum. Etc.
I have now started to do some concept development on my imported greyscale. Identifying the right locations of towns, rivers, industries and mountains and labeling them accordingly. Since you can create a greyscale out of your OTTD scenario, I might point out towns by raising mountains and lowering rivers, just incase I need to reload my newGRFs.
Then once I feel I'm confident with all the settings, I will start adding in all the cities, towns, hamlets, rivers and industries... O.o But for a student in town-planning and urban design, thats actually lots of fun. Hehe
Here's a first look at my scenario.
http://www.tt-forums.net/download/file. ... &id=174736
- Attachments
-
- Screen Shot 2013-10-22 at 2.45.39 PM.png
- The Cape Peninsula in OTTD.
- (383.96 KiB) Downloaded 10 times
Last edited by planetmaker on 22 Oct 2013 15:09, edited 1 time in total.
Reason: un-inlined large image - it broke forum layout
Reason: un-inlined large image - it broke forum layout
- SwissFan91
- Tycoon
- Posts: 2393
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: How To: Generate Superb Heightmaps :)
I have worked my way through the tutorial (which was very easy to follow I may add) and came out with this:
However, I have a couple of questions:
which is fine. Super.
However, I have a couple of questions:
- - This image is pretty small (~700x500). Is there a way I can make this bigger without losing the resolution? Or is it just tough because I picked quite a small area of Switzerland in the first place? I don't really understand the idea of 'thinning' the DEM in the tutorial so I don't know whether I can tweak certain aspects to make my small area more detailed. I would like to be able to play on large maps without it being distorted too much.
- Slightly related to that - how can I adjust the tutorial to make a map that would work better with the MoreHeightLevels patch? I suppose this would mean it would need to be a much higher resolution to draw more heightlevels.
Re: How To: Generate Superb Heightmaps :)
If you want to tweak the map for use with MoreHeightLevels, you will have to recolor entirely by hand. While the heightmap program under MHL will recognize 256 shades of grey, DEM only generates 16 shades. Thinning the data under DEM won't create more resolution, it throws away data, so that won't help either.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?
Re: How To: Generate Superb Heightmaps :)
Without any thinning, the maximum resolution (zoomed to 1:1) is 1 pixel per about 90 meters of map area - more than enough, even for regional maps. To get the highest possible resolution, do these steps:
1. Open your downloaded ArcASCII file
2. subset your desired area (no thinning!)
3. click the "No zoom (1:1 view)" button
If that isn't enough for you, your only choice is to enlarge the heightmap image in an image editor and lose a bit of resolution. This isn't too bad, because it will only make your map a little "softer".
About more heightlevels... for me, the image output already has 256 shades of grey (much better book title
) and should work fine with the patch. I think, the tutorial may be a little outdated, using an older version of MicroDEM or something. It's not bad at all, but some of the steps are far from optimal.
1. Open your downloaded ArcASCII file
2. subset your desired area (no thinning!)
3. click the "No zoom (1:1 view)" button
If that isn't enough for you, your only choice is to enlarge the heightmap image in an image editor and lose a bit of resolution. This isn't too bad, because it will only make your map a little "softer".
About more heightlevels... for me, the image output already has 256 shades of grey (much better book title

Re: How To: Generate Superb Heightmaps :)
And there are some functions of Microdem that doesn't exist anymore...and I've forgot about the SRTM data which is pretty messed up as I've seen (no SRTM for upper Europe, some seas are without coastal terrain and the shape of the seas are square....etc.)
Re: How To: Generate Superb Heightmaps :)
I never noticed these things about the SRTM data. It seems fine to me.
It only has some relatively small gaps that can easily be filled with any graphics programs. All the coastlines were fine in the maps I made (after adjusting the levels to work with openTTD, of course). The missing data above 60°N and below 60°S is a bit annoying, but there's still [url=hhttp://www.viewfinderpanoramas.org/Coverage%20 ... s_org3.htm]this page[/url] - don't know how good their data is, but it should work for us.
Could you please post an example of the data where you think it's messed up? I may be able to help you.
There'll be some updates to the tutorial soon... either MGSteve comes back to make some changes or I'll have to rewrite the whole thing, since I seem to be one of the few mapmaking gurus right now.
It only has some relatively small gaps that can easily be filled with any graphics programs. All the coastlines were fine in the maps I made (after adjusting the levels to work with openTTD, of course). The missing data above 60°N and below 60°S is a bit annoying, but there's still [url=hhttp://www.viewfinderpanoramas.org/Coverage%20 ... s_org3.htm]this page[/url] - don't know how good their data is, but it should work for us.
Could you please post an example of the data where you think it's messed up? I may be able to help you.
There'll be some updates to the tutorial soon... either MGSteve comes back to make some changes or I'll have to rewrite the whole thing, since I seem to be one of the few mapmaking gurus right now.
Re: How To: Generate Superb Heightmaps :)
I did give up after 2 weeks of trying to make an 2^4096 Europe heightmap...I know that there's already an Europe map but it doesn't deserve it's name because it doesn't include some same important Europe countries...after this attempt I tried to make an 2^4096 map with Hungary - Ukraine - Bulgaria and Romania but the SRTM data of the Black Sea it did show only square coasts not how actually should be...and unfortunately I didn't found someone to have the required time to do one of those so I did give up on that idea too 
I've tried with editing an Europe map extracted from an World height map on 21000 x 10000 resolution but I did give up ending with the sea level higher or to low...

I've tried with editing an Europe map extracted from an World height map on 21000 x 10000 resolution but I did give up ending with the sea level higher or to low...
Re: How To: Generate Superb Heightmaps :)
Oh well, that's neither your nor MicroDEM's fault.
There is just no good data above 60°N or below 60°S. The Black Sea, Caspian Sea and the Great Lakes in the US are also missing. Lakes and inland seas seem to be a big problem, especially if they're not exactly at sea level. The site I linked in my previous post isn't very helpful either. It has decent height data for the north and south, but it's somewhat more complicated to get the coastlines right.
There is a rather time consuming solution I just tried that involves some advanced image editing. See the attachment for results. I'll probably write a new tutorial for getting the perfect heightmap soon. MGSteve doesn't seem to be around anymore to edit this one.
For now, if you still want to make that Hungary-Ukraine-Bulgaria-Romania scenario, I could just quickly make a heightmap for you. Just say a word if you're interested. I'm always happy to help other mapmakers.
I'm working on a more complete map of Europe myself. The one by Carst was very fun to play with, but a complete map of Europe should not end in eastern Poland and southern Sweden. Scandinavia to at least 65° N, Belarus and most of Ukraine should be included, maybe even Moscow.
[edit]
Attached a heightmap of the whole world for everybody to use. I haven't downloaded the complete data for the extreme north and south yet, but I know how to make it into a working heightmap. Stay tuned for more.
[edit 2]
...and another example of what is possible with my (soon to be published) method of creating heightmaps: The first draft of the 2048x2048 Expanded Europe Scenario. So far it is automatically populated with 538 towns (every town with a real life population >100000). The original heightmap is 6500x6500 pixels. Could have made it bigger, but I don't see why anybody would need that.
There is just no good data above 60°N or below 60°S. The Black Sea, Caspian Sea and the Great Lakes in the US are also missing. Lakes and inland seas seem to be a big problem, especially if they're not exactly at sea level. The site I linked in my previous post isn't very helpful either. It has decent height data for the north and south, but it's somewhat more complicated to get the coastlines right.
There is a rather time consuming solution I just tried that involves some advanced image editing. See the attachment for results. I'll probably write a new tutorial for getting the perfect heightmap soon. MGSteve doesn't seem to be around anymore to edit this one.
For now, if you still want to make that Hungary-Ukraine-Bulgaria-Romania scenario, I could just quickly make a heightmap for you. Just say a word if you're interested. I'm always happy to help other mapmakers.
I'm working on a more complete map of Europe myself. The one by Carst was very fun to play with, but a complete map of Europe should not end in eastern Poland and southern Sweden. Scandinavia to at least 65° N, Belarus and most of Ukraine should be included, maybe even Moscow.
[edit]
Attached a heightmap of the whole world for everybody to use. I haven't downloaded the complete data for the extreme north and south yet, but I know how to make it into a working heightmap. Stay tuned for more.
[edit 2]
...and another example of what is possible with my (soon to be published) method of creating heightmaps: The first draft of the 2048x2048 Expanded Europe Scenario. So far it is automatically populated with 538 towns (every town with a real life population >100000). The original heightmap is 6500x6500 pixels. Could have made it bigger, but I don't see why anybody would need that.
- Attachments
-
- WORLD.png
- Heightmap of the whole world between 60°S and 60°N
- (97.93 KiB) Downloaded 9 times
-
- Preview of the extended Europe scenario.
- map_europe_1.png (101.09 KiB) Viewed 11335 times
Re: How To: Generate Superb Heightmaps :)
I guess, the biggest interest was for Western Europe and less East Europe and Black Sea
If found an huge heightmap with whole World and I've tried editing with PS and Photoscape, converting to GreyScale and resizing with Irfanview but no luck. I did use the image posted down in this post.
Regarding to Europe, a heightmap 2^4096 with whole Europe (including Moscow), Black Sea, Istanbul, Cyprus, Scandinavia and British Isles, Spain and Portugal would be perfect !
I tried to reduce as much I could from the African continent, Atlantic Ocean and Nordic Sea to fit as much land I could but it was a bit impossible to do that...
The idea with HU-RO-UC-BG is that I wanted to make an Romanian heightmap (eventually with neighborhood countries because SRTM data was in that way) and I wanted remake my country infrastructure (better than nothing, because I couldn't find a good 2^4096 Europe map with desired countries)
The problem is that if I'll do a RO map I won't have any trainset and industry to place (everything was destroyed after 1989) so I would prefer Europe.

If found an huge heightmap with whole World and I've tried editing with PS and Photoscape, converting to GreyScale and resizing with Irfanview but no luck. I did use the image posted down in this post.
Regarding to Europe, a heightmap 2^4096 with whole Europe (including Moscow), Black Sea, Istanbul, Cyprus, Scandinavia and British Isles, Spain and Portugal would be perfect !
I tried to reduce as much I could from the African continent, Atlantic Ocean and Nordic Sea to fit as much land I could but it was a bit impossible to do that...
The idea with HU-RO-UC-BG is that I wanted to make an Romanian heightmap (eventually with neighborhood countries because SRTM data was in that way) and I wanted remake my country infrastructure (better than nothing, because I couldn't find a good 2^4096 Europe map with desired countries)

The problem is that if I'll do a RO map I won't have any trainset and industry to place (everything was destroyed after 1989) so I would prefer Europe.

- Attachments
-
- srtm_ramp2.world.21600x10800.jpg
- World heightmap
- (5.89 MiB) Downloaded 8 times
Re: How To: Generate Superb Heightmaps :)
So does anyone have ready-to-use heightmaps to share? I'm not to pleased with what i find in the online content system (mostly they are to huge). I'm searching maps with sizes like 512(1024)x1024(512)
Re: How To: Generate Superb Heightmaps :)
Ok, so what am I doing wrong with the GE plugin?
I've installed it, and ckecked the boxes "SRTM4.1" and "elevation" but I dont get any green dots to download data from
I've installed it, and ckecked the boxes "SRTM4.1" and "elevation" but I dont get any green dots to download data from

Re: How To: Generate Superb Heightmaps :)
I had the same problem. It seems that the plug in doesn't work anymore. Anyway I've gived up.Magicool wrote:Ok, so what am I doing wrong with the GE plugin?
I've installed it, and ckecked the boxes "SRTM4.1" and "elevation" but I dont get any green dots to download data from
Go directly to the STRM site and download the files you need manually:
- - Go to this link
- - Be sure to choose the radio button ArcInfo ASCII
- - Select the areas of your interest and click on "Clieck here to begin search >>" button
- - Download the files from the presented list.
-
- Engineer
- Posts: 27
- Joined: 23 Oct 2006 17:15
Re: How To: Generate Superb Heightmaps :)
Does anyone know if there is a Mac version (or equivalent) to MicroDem?
I'm trying to create a 4096x4096 map of The Netherlands, but I'm using a Mac. I have GE and Photoshop, so only missing MicroDem.
I'm currently deployed to the Middle East and using my Macbook. Otherwise I've successfully created height maps from my home desktop PC.
Thanks
I'm trying to create a 4096x4096 map of The Netherlands, but I'm using a Mac. I have GE and Photoshop, so only missing MicroDem.
I'm currently deployed to the Middle East and using my Macbook. Otherwise I've successfully created height maps from my home desktop PC.
Thanks
A Planeset Painter
-
- Engineer
- Posts: 1
- Joined: 28 Apr 2014 12:34
Re: How To: Generate Superb Heightmaps :)
Thanks very much for your valuable information. I appreciate it.
Re: How To: Generate Superb Heightmaps :)
Guys,
Can anyone shed any light on how to accurately place cities on a 2048*2048 map.
Ive managed to create a near perfect heightmap but accurately placing towns and cities is becoming a real pain. Ive only found one guide on here using an overlay and mspaint but just cant figure out how to get the co-ordinates to match.
Any help appreciated
Cheers guys
Steve
Can anyone shed any light on how to accurately place cities on a 2048*2048 map.
Ive managed to create a near perfect heightmap but accurately placing towns and cities is becoming a real pain. Ive only found one guide on here using an overlay and mspaint but just cant figure out how to get the co-ordinates to match.
Any help appreciated
Cheers guys
Steve
-
- Engineer
- Posts: 3
- Joined: 07 Aug 2014 10:25
Re: How To: Generate Superb Heightmaps :)
Hi there,
I'm trying to get this kind of map of the Netherlands.. a certain area called "Randstad". It includes the cities of Amsterdam, Rotterdam, Utrecht and Den Haag. (also some smaller, nearby cities).
I can't manage to get it right. My computer isn't built for it....
My question: is there anyone who can help, or is it too much work to do?
Greetz,
I'm trying to get this kind of map of the Netherlands.. a certain area called "Randstad". It includes the cities of Amsterdam, Rotterdam, Utrecht and Den Haag. (also some smaller, nearby cities).
I can't manage to get it right. My computer isn't built for it....
My question: is there anyone who can help, or is it too much work to do?
Greetz,
Re: How To: Generate Superb Heightmaps :)
Making an accurate map is not something you can do on the first attempt, you need to try and experiment, and probably fail and try again a few times.
If you don't have the patience for that, there is a dutch scenario you can use. The Randstad is on it, just ignore all other parts
If you don't have the patience for that, there is a dutch scenario you can use. The Randstad is on it, just ignore all other parts

Re: How To: Generate Superb Heightmaps :)
The plugin for Google earth seems to not working with current GE version.
Can someone say me which version of GE to use ?
Is the tuto up to date ?
Thanks.
Can someone say me which version of GE to use ?
Is the tuto up to date ?
Thanks.
Re: How To: Generate Superb Heightmaps :)
You can use Photoshop to generate only the height map? Or other software is needed?
The photoshop 2014 has a work that is gradient map, that work for that function?
In that website is a good database of maps to use?
The photoshop 2014 has a work that is gradient map, that work for that function?
In that website is a good database of maps to use?
- Attachments
-
- k_earth.png
- (3.87 MiB) Downloaded 1 time
Re: How To: Generate Superb Heightmaps :)
You can use any software you choose to edit.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?
Who is online
Users browsing this forum: No registered users and 14 guests