TransDEM Forum

TransDEM News, Support, Hints and Resources
It is currently 29 Mar 2024 07:29

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 27 Mar 2021 04:16 
Offline

Joined: 21 Jun 2018 03:33
Posts: 9
Howdy. I'd like to ask how you can convert simple maps into DEM maps with actual elevation points that you can be able to convert into Trainz.

The map in particular I am referencing to is as linked.

Image

Now you can judge me all you want on the map in question, but this is a project that's partial to my childhood that I'd really like to do: to picture Sodor as a real place of the British Isles, more than just a land of talking trains as the creator Rev. W. Awdry had intended. For that I'd like to know how I can be able to import this map into TransDEM with an actual DEM elevation based on the topography and scale the map is pictured in with real figures Awdry gave, so I can have a fully accurate, properly scaled Sodor map to work with in Trainz.

I have talked to someone I know who tried a similar project to this before, and what he said to do is to georeference the map to the right location with adding control points to the contours so that TransDEM can be able to create a Digital Elevation Model from the map, but the georeferencing points tab is rather tricky. Whereas it works with north/east for example, the coordinates I need to point Barrow-in-Furness railway station and Castletown railway station from what I looked up need to be north/west. How exactly do I work the values into TransDEM so that they're readable by the program?

Might anyone be able to help me out by telling me how to convert this map properly into a DEM? Any advice, tips or tricks would be very much appreciated!


Top
 Profile  
 
PostPosted: 27 Mar 2021 10:26 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1463
It's doable.

Firstly, the georeferencing. It needs a reference point and scale.

If you want to put it in the Irish Sea, I suggest to pick a point using real world data. You could use OpenStreetMap or OpenTopoMap (via the map tile client), obtain a map clipping of the Irish Sea and decide on a single point in UTM coordinates for the south west corner of your fictitious map.

Then scale. Your map has a scale legend. It seems the grid line raster is about 7.5 km. Use 3+1 point georeferencing in TransDEM. Start with the lower left corner 1-2/K-J, your south west point. Enter your UTM coordinate point from the Irish Sea. Next is the top right corner, the NE point. 12-13/B-A. That's 11 grid lines to the east and 9 grid lines to the north, or 11 * 7.5 km / 9 * 7.5 km. Add these to the SW point coordinates and you get your NE point in UTM coordinates. Enter those coordinates. Next is the SE point. The generated presets should be ok if you did the other two correctly. Same for the last one, the NW point. Finalize the georeferencing, save the georef map.

Secondly the elevations. You have to build your own DEM here. You do that with the triangular network. Switch on the "emphasize contour lines" option. Use the map legend and map coloring as your guide. As the elevation on you map appear to be in ft, change the global settings in TransDEM accordingly. Then place your control points. It will take a while. Save your work often. Process the control points to create your DEM. Add more control points or adjust control points until your DEM reflects the map. You may want to do tutorial 9 from The TransDEM main manual first. It illustrates a similar task.


Top
 Profile  
 
PostPosted: 28 Mar 2021 06:45 
Offline

Joined: 21 Jun 2018 03:33
Posts: 9
geophil wrote:
It's doable.

Firstly, the georeferencing. It needs a reference point and scale.

If you want to put it in the Irish Sea, I suggest to pick a point using real world data. You could use OpenStreetMap or OpenTopoMap (via the map tile client), obtain a map clipping of the Irish Sea and decide on a single point in UTM coordinates for the south west corner of your fictitious map.

Then scale. Your map has a scale legend. It seems the grid line raster is about 7.5 km. Use 3+1 point georeferencing in TransDEM. Start with the lower left corner 1-2/K-J, your south west point. Enter your UTM coordinate point from the Irish Sea. Next is the top right corner, the NE point. 12-13/B-A. That's 11 grid lines to the east and 9 grid lines to the north, or 11 * 7.5 km / 9 * 7.5 km. Add these to the SW point coordinates and you get your NE point in UTM coordinates. Enter those coordinates. Next is the SE point. The generated presets should be ok if you did the other two correctly. Same for the last one, the NW point. Finalize the georeferencing, save the georef map.

Secondly the elevations. You have to build your own DEM here. You do that with the triangular network. Switch on the "emphasize contour lines" option. Use the map legend and map coloring as your guide. As the elevation on you map appear to be in ft, change the global settings in TransDEM accordingly. Then place your control points. It will take a while. Save your work often. Process the control points to create your DEM. Add more control points or adjust control points until your DEM reflects the map. You may want to do tutorial 9 from The TransDEM main manual first. It illustrates a similar task.


Okay, I believe I've done the georeferencing part okay, but I can't find the "emphasize contour lines" option in TransDEM and the "Create control points" button is unclickable.

Image

How would I be able to activate it once I've opened the georeferenced Sodor map I saved?


Top
 Profile  
 
PostPosted: 28 Mar 2021 12:56 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1463
Nictrain123 wrote:
but I can't find the "emphasize contour lines" option in TransDEM and the "Create control points" button is unclickable.

You will have to create a new flat DEM first. I would go for the defaults, 50 m grid and elevation 0 = sea level.

The button is called "Highlight contour lines", not "Emphasized", sorry.

Your first contour line should be the coastline. It does not have to be fully detailed at this stage. But it is important for the triangulation algorithm, not to alter anything outside the coastline.

I had a closer look myself. The grid raster is more like 8km, not 7.5. I picked Ramsey Bay as my reference point at 410,500 E, 6022,500 N, UTM Zone 30 North. With these settings the map sort of fits between the Isle of Man and the mainland.

Roughly sketched coastline:
Image

Contour lines at 1600 and 2000 ft plus a few fill-ins (Control points hidden, DEM hidden):
Image

Generated DEM from these control points (DEM interpolation on, DEM shading on, 100% intensity, 20% transparency, DEM contour lines on, triangles hidden, control points hidden):
Image

Quote:
How would I be able to activate it once I've opened the georeferenced Sodor map I saved?
There is nothing specific here. You save your generated DEM and then export it to Trainz together with your map like any real-world geo data.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Imprint & Privacy

Powered by phpBB® Forum Software © phpBB Group