Some questions about TransDEM

Sorry guys but I promise I'll be willing to help answer TransDEM forum questions for newbies once I get this figured out. Hey I'm close... I've made a lot of progress in the last week.

I had to reread that above several times then come back to it after work with a fresh perspective.

To paraphrase the above, I have to make sure the the route is open for edit since I've already installed the route in Trainz before I can import the UTM tiles.

Sound about right?

Correct

or

Just create everything at once (which is what I do) I get the dem, get the route data (if it is avail) get rasters then utm tiles...

Then

Setup the dem with raster and route and export the map, then close all rasters and open georef tiffs for the utms and export them then if I am doing track export that last

THEN I import all of it into cmp at that point...

There is nothing "wrong" with the way you did it but you have to open it back up for edit to allow transdem to make the changes to the route putting in the info for the utms...

And there is nothing to be sorry for, this program has a learning curve and once you kinda get your head around it you will get REALLY excited at what it can do and yeah you will help others, it's what we all do...
 
Last edited:
Well I imported the UTM's while the route was "open for edit" from the editing folder then committed the route again. Still no dice... I noticed those UTM files are still in the editing>scenery folder and they show committed in CM3. Should I delete everything in the editing folder before I start from scratch?

It's still a little frustrating because it should work. I'll try it again before I go to bed all in one TransDEM session and see what happens. I'll keep my fingers crossed.
 
Last edited:
Well I imported the UTM's while the route was "open for edit" from the editing folder then committed the route again. Still no dice... I noticed those UTM files are still in the editing>scenery folder and they show committed in CM3. Should I delete everything in the editing folder before I start from scratch?
You may have two instances of your route in the edit folder. The original one created by TransDEM, then imported with CM to Trainz and the new one, exported ("open for edit") by CM.

The CM "open for edit" function checks the edit folder. If it finds a route with the same name already existing, it exports the route nevertheless, but assigns a cryptic name to the export.

Delete the original route in the edit folder before exporting with CM. (In TransDEM you can also export the UTM tiles to the route with the cryptic name but check its config file first to make sure to pick the right route.)
 
I was generating my UTM tiles for the entire map and encountered an error towards the end. Can I start again just doing the missing area of the polyline/route. Then save the new files to the same location?
 
Hey what do ya know... I completed my 80 mile long map with UTM tiles and raster maps. I'm so glad I got those UTM tiles figured out.

I think the key is do everything in one TransDEM session. I'm sure it's possible to shut down TransDEM after completing some of the process, saving, then coming back later to finish successfully but I wouldn't recommend it to a novice of TransDEM. It can get a little dicey saving files correctly, managing CM, and importing/exporting between different TransDEM sessions.

Thanks again to everyone for the help especially mrscsi.
 
Hey what do ya know... I completed my 80 mile long map with UTM tiles and raster maps. I'm so glad I got those UTM tiles figured out.

I think the key is do everything in one TransDEM session. I'm sure it's possible to shut down TransDEM after completing some of the process, saving, then coming back later to finish successfully but I wouldn't recommend it to a novice of TransDEM. It can get a little dicey saving files correctly, managing CM, and importing/exporting between different TransDEM sessions.

Thanks again to everyone for the help especially mrscsi.
You are more than welcome and I think I can speak for most transdem users when I say feel free to ask for help at anytime and we will try our best to help...
 
I noticed there are a few small areas where I didn't get the UTM tiles. Can I still add those to the surveyor map at this point?
 
I noticed there are a few small areas where I didn't get the UTM tiles. Can I still add those to the surveyor map at this point?

That would be a Dr Phil question but I think you could, it would have to be manually I think. I just tend to work around them. I think they are caused when you have to shrink the mask to avoid the "limitation applies" during export and the mask edge fell on a tile and it just ignores it. I could be wrong and geophil most likely will correct me if I am.
 
The anchor point of each UTM tile is its south-west corner. This must exist as a baseboard in the route. If it does the UTM tile can be placed. And it can be added to an existing route with other UTM tile already there. There is an export modifier function with three options (drop down list) how to deal with existing tiles at the same location.
 
The anchor point of each UTM tile is its south-west corner. This must exist as a baseboard in the route. If it does the UTM tile can be placed. And it can be added to an existing route with other UTM tile already there. There is an export modifier function with three options (drop down list) how to deal with existing tiles at the same location.

So if the Route filter is on it wouldn't matter where the mask is if the southwest corner of the UTM Tiles falls outside of the Route filter it won't show up...

I hope I understand it correctly...
 
Once the UTM tiles are imported with CM shouldn't the editing folder be empty.

Not on my version of 2010 if I import they stay if I scan for open assets it finds the route and deletes it but not the scenery...

I always have to clear that one manually.
 
TransDEM does not automatically delete anything in the editing folder without a confirmation message box (hopefully :wave: ).

There was a certain probability in older versions of TransDEM for premature and erroneous reuse of KUIDs for UTM tiles. More recent versions maintain a KUID cache to minimise the risk of duplicate KUIDs. It should be safe to delete UTM tiles already imported into Trainz.
 
i want to do a DEM from richmond,va to washington dc. do have to download the DEM from every town or city along that rail line separate.
 
i want to do a DEM from richmond,va to washington dc. do have to download the DEM from every town or city along that rail line separate.

That looks to be about 110 miles give or take a few...

I would recommend splitting the area in at least 3 parts. I have done 50 mile stretches but they can be hard on memory, so 3 or 4 parts would work without issue...

But no you don't have to do every town, just use the seamless server and pick a starting and stopping point breaking the entire thing in 3 or 4 pieces.
 
Last edited:
Hi,

DEM's cover entire landscape areas, often thousands of square miles. Towns are a few square miles, and even most cities only a few dozen. The biggest problem is actually locating where towns/cities ARE on the DEM because there's no aerial imagery to guide you!

To get the imagery (raster maps) for a particular town, you need to know WHERE the town is to start with. OK, you can use Map Tile Servers or Web Mapping Services to do that, but it's slow and you have to download a LOT of raster maps in stages to follow the route using the Simple Route Editor. You can use a route as a mapping path for rasters, but TransDEM fails on that if the route is too complex.

I've figured out a much easier way to do things...

The latest version of TransDEM (v2.1.2) supports import of Google Earth KML/KMZ files as vector data. This means you can draw paths accurately following railway tracks in Google Earth (GE), where you're working with aerial photography already and can fly around plus zoom/in out very easily.

Once you're done, you can export the complex path (usually a whole GE folder containing multiple paths) as KMZ, and that's now the "full" route you'll use in TransDEM. But it's usually too complex. There's a way around that as well...

Just draw a simple "mapping" path in GE roughly following your complex path (using as few paths and points as possible), export that to KMZ as well, import into TransDEM and use IT along with the "obtain images along path" feature to obtain ALL your raster maps in one fell swoop. If you want images further from the route, draw parallel paths either side in GE before exporting. You'll have to experiment with separation distances, to avoid obtaining too many raster maps.

Once you have your raster maps in place, close the "mapping" route and import your "full" route. If you drew the "mapping" route correctly, the "full" route should lie completely within the raster-mapped area. You're now ready to select a rectangular area and export DEM data, vector data or UTM tiles to Trainz.

And all that without ever touching TransDEM's Simple Route Editor! That's because the beauty of Google Earth is that it can be used as an Advanced Route Editor complete with fast-streaming aerial imagery! :D

There's a slight problem, though. I organise routes by folders in GE and TransDEM will sometimes unexpectedly terminate to the desktop without error on importing a particular KMZ (or KML) file. I'm then forced to re-run it then re-open my DEM and raster maps again, etc. But every time I try to import the KMZ/KML file, TransDEM bombs out again.

I'm still trying to figure out exactly what's causing this "bug", but I strongly suspect it's to do with TransDEM exceeding a limit on how far down it can parse nested folders in a KML/KMZ file, and having no error trapping in place to handle it. If I flatten (simplify) the folder structure in GE so the exported KMZ/KML is no more than about 3 or 4 folders deep, TransDEM doesn't bomb out on importing. This behaviour is causing problems because my GE folder structure IS a complex nested one, which I'm now having to completely restructure so TransDEM will remain stable.

Maybe geophil can shed some light on this?

Hope this helps you all create better routes more quickly.;)
 
Last edited:
I'm still trying to figure out exactly what's causing this "bug", but I strongly suspect it's to do with TransDEM exceeding a limit on how far down it can parse nested folders in a KML/KMZ file, and having no error trapping in place to handle it. If I flatten (simplify) the folder structure in GE so the exported KMZ/KML is no more than about 3 or 4 folders deep, TransDEM doesn't bomb out on importing. This behaviour is causing problems because my GE folder structure IS a complex nested one, which I'm now having to completely restructure so TransDEM will remain stable.
This could be a maximum string length allowed for the file path or a maximum depth for the folder hierarchy.
 
I've been coming along quite nicely with my route.

I was wondering if there is a way to erase or delete the topo map that is now a ground texture when I'm ready to start applying new textures.
 
Back
Top