TransDEM Forum

TransDEM News, Support, Hints and Resources
It is currently 29 Apr 2024 08:59

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 22 Nov 2012 13:41 
Offline

Joined: 28 Mar 2011 03:35
Posts: 83
More as a doodle than anything else, I thought I would have a go at recreating something resembling the HK tram line.

However there seem to be horrible inconsistencies between the DEM data, both the 90m SRTM and 30m Aster, when overlaid with Open Street Map. Even after shifting the DEM to try and fit the map I still ended up with huge humps in the middle of what should be the level area where the trams run, with the hills behind. Use of Google Street View has confirmed apart from some minor gradients, the tram route is relatively flat and level. I may try again tomorrow with an overlay of Google or Yahoo Maps but these are not as detailed or colour contrasted as OSM.

Thoughts, anyone? Is there any better source of DEM or mapping for the area or is this a project I'm just going to have to forget?


Top
 Profile  
 
PostPosted: 22 Nov 2012 14:53 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1465
Vern, keep in mind that both SRTM and ASTER are orbital DEMs. The satellite sensors don't have the slightest clue about the landscape and don't recognise built-up areas, let alone sky-scrapers or forests.

Taking that into account it doesn't look too bad for Hong Kong Island (with SRTM):
Image

Of course, getting closer to the tram line, the picture is not as good. You can't really see the ground. However, where there are no buildings, as at the Happy Valley race court, the DEM is close enough.
Image

Your only option will be to manually flatten the DEM. You can try with TransDEM DEM editing tools, like I did in this quick example, or use Trainz Surveyor:
Image


Top
 Profile  
 
PostPosted: 22 Nov 2012 23:17 
Offline

Joined: 28 Mar 2011 03:35
Posts: 83
Thanks for that Roland, I suspected manually flattening the DEM might be the only way. Happy Valley should provide a reasonable guide as to the amount of offset required though.

Out of interest, which maps did you use in your overlay?


Top
 Profile  
 
PostPosted: 23 Nov 2012 09:20 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1465
BigVern wrote:
Out of interest, which maps did you use in your overlay?

That's Open Street Map in "Transport" flavour. It emphasizes railways and tram lines: OSM Transport Map Config


Top
 Profile  
 
PostPosted: 23 Nov 2012 22:37 
Offline

Joined: 28 Mar 2011 03:35
Posts: 83
Still having problems reconciling this and despite reading the tutorial a couple of times, I can't get my head around how to relate control points to contour tracing. A simple tool which allows you to draw a contour at a set height would make life much easier for my aging brain!


Top
 Profile  
 
PostPosted: 26 Nov 2012 13:58 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1465
BigVern wrote:
I can't get my head around how to relate control points to contour tracing.
That's pretty simple. Enable contour line emphasis for the triangles. Set the control point template to an absolute height/elevation. Start clicking to place your control points. The contour line should emerge.

A certain difficulty may arise elsewhere. Controls points need an editing area which will normally be a "bounded region", marked by control points in "fix" mode. This bounded region will be a convex hull. It means that you may have to split the area to edit into more than one region, each one being convex, while the entire area would have had a concave boundary.

My current implementation of the Delaunay triangulation in TransDEM does not allow concavities. Although concavities in the outer boundary can be regarded as a rather simple matter of angle between control points, my algorithm is completely unaware of such forming.

TINs, the triangulated irregular networks, are native to digital cartography. They are actually quite powerful and I will extend their usage in upcoming TransDEM 2.3 to an additional georeferencing option for distorted maps and plans.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 98 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:  

Imprint & Privacy

Powered by phpBB® Forum Software © phpBB Group