How to Merge Routes: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
 
(99 intermediate revisions by the same user not shown)
Line 1: Line 1:
='''Merging Routes'''=
<table width=1000 bgcolor=#000000 cellpadding=2>
 
<tr valign="top">
<table cellpadding="4" bgcolor=#c1e7e7>
<td>
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="middle">
<td width=35>[[image:Information.png|35px|link=]]</td>
<td><span style="font-size: 15px;">The information in this Wiki Page explains the process of merging two routes in '''T:ANE''', '''TRS19''', '''TRS22''' and '''Trainz Plus'''.</span></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000>
<tr valign="top">
<td width=400>
__TOC__
</td>
<td>
<table width=600 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Key Points:-</span></td>
</tr>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>Merging allows two separate routes to be joined to make a single larger route</td>
</tr>
<tr valign="top">
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>The '''Route Data''' (terrain, textures, effect layers) and '''Route Layers''' (assets) of both routes are merged but only the '''Session Data and Layers''' from the '''first route''' can, optionally, be retained in the new enlarged route</td>
</tr>
<tr valign="top">
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>'''Physical difference between the routes will cause problems''' in the merging process but most of these can be overcome</td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>'''The ''Surveyor Merge Routes'' command allows two different routes to be joined together - edge to edge.'''</td>
<td>A Payware (DLC) route '''cannot''' be one of the selected routes</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<tr valign="top">
<td width=629><span id="stepBefore"></span>
='''Before You Start Merging'''=
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
<td width=50>&#160;</td> <!-- Skip Up -->
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>&#160;</td>
<td width=75>[[image:NextDown.png|link=#stepSelecting|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


='''Before You Start Merging'''=
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<table cellpadding="4" bgcolor=#c1e7e7>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>You are strongly advised to make <span style="font-weight: 700; background-color: yellow;"> backup copies </span> of any routes that you are going to merge</td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>'''Make sure that you have backup copies of all the routes that you are going to merge.'''</td>
<td>In '''most cases''' there should be no technical problems in merging routes (and completing the task in minutes) on systems that meet the recommended specs</td>
</tr>
</tr>
</table>
</table>
Line 19: Line 70:
Before you start merging there are some important points you will need to consider and there may be some preparation work that will have to be performed.
Before you start merging there are some important points you will need to consider and there may be some preparation work that will have to be performed.


<table border="2" bordercolor="black"><tr><td>
<table width=1000 bgcolor=#000000 cellpadding=2>
<table cellpadding="4">
<tr valign="top">
<td>
<table bgcolor=#ffffe0 cellpadding=2>
<tr valign="top">
<td>[[image:PencilTips.PNG|link=]]</td>
<td><span style="font-size: 15px;">'''Identify...'''</span>
<table>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>if either of the routes is a payware route. Payware routes cannot be used in a merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>if you need to keep the '''Session Data''' (station and industry settings, weather, driver commands, etc) of one of the routes in the merge. You can only keep keep the data from one session, not both. This route and its session '''MUST''' be the first selected for the merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the first or starting route, the one that will be the '''Base Route'''. This route will form the ''backbone'' of the merged routes. It will usually be the larger route or the one that has a session that contains data that you want to keep in the merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the second or joining route, the one that will be merged with the '''Base Route'''. If this route has a session then you cannot include that session in the merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the orientation ('''North-South''' or '''East-West''') of both routes. This '''may''' cause problems depending on where they will be merged</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the baseboards in both routes where they will be joined. The join '''must''' be along edges with no overlaps</td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[[file:PencilTips.JPG]]</td>
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td><font size="3">'''Identify...'''</font><br>
<td>the height of the baseboards in both routes at the merge point. A difference in heights '''could''' cause problems</td>
*the route that will be the '''base route'''. This route will form the ''backbone'' of the merged routes. It will usually be the larger route or the route that contains Session data that you want to keep in the merge.
</tr>
*the route that will be the '''to-be-merged route'''. This route will be joined to the ''base route''.
<tr valign="top">
*the orientation (North-South or East-West) of both routes. Are they both the same or are they different?
<td>[[image:DotPoint.JPG|10px|link=]]</td>
*the baseboards in both routes where they will be joined. The join '''must''' be along edges.
<td>any layers in the two routes that have the same name. This will cause a temporary problem that can be easily fixed during the merging process</td>
*the height of the baseboards in both routes at the merge point. Are they the '''same height or different heights?'''
</tr>
*the layers in both routes. Are there any layers in the two routes that have the same names?
<tr valign="top">
*which layers in both routes contain the tracks and the track objects (signals, switches, speed signs, etc).
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>which layers in both routes contain the tracks and the track objects (signals, switches, speed signs, etc). You may have to move some layers before merging</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
</td></tr></table>


==Common Problems (and Their Solutions)==
=='''Latitude, Longitude and Altitude'''==
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>A common misconception is that the '''Latitude''' and '''Longitude''' of the routes being merged plays a part in the merging process</td>
</tr>
</table>
 
<table width=1000>
<tr valign="top">
<td>The '''Latitude''' and '''Longitude''' of a route has absolutely no effect on the route itself apart from setting, along with the date entered into the '''Environment Tools''', the season of the year. Even then it is only the '''North/South''' component of the entered '''Latitude''', not the value, that is important.<br>
 
A route with its geographic coordinates set in Northern Alaska will happily merge with a route set in outback Australia - but what you do with all the snow and dust is another problem &#128512;<br>
 
'''Altitude''' differences between the two selected routes can cause serious issues. See '''Common Problems (and Their Solutions)''' below.</td>
</tr>
</table>
 
=='''Route File Sizes'''==
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>The success of the merging process will depend on the size of the two routes being merged and the size of your systems available memory</td>
</tr>
</table>


<table cellpadding="4" bgcolor=#c1e7e7>
<table width=1000>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>The merging process occurs within your computers on-board memory (RAM). If this is not large enough then your system will also use virtual RAM, i.e. your disk storage space as temporary memory, which is significantly slower. If your system does not have enough memory, both on-board and virtual, then merging large routes will become a problem (i.e. impossible or will take a very long time).<br>
<td>'''Most route mergers will have problems but most of these problems can be easily fixed.'''</td>
<br>
The Trainz forum contains several threads where attempts to merge '''very large routes''' (Gigabytes in size) have taken '''"days"''' to complete or failed to complete at all. In many of these cases the users did not have enough RAM (on-board and virtual) installed in their system. In one documented case, doubling the available on-board RAM from 16GB to 32GB and increasing the Windows virtual memory page size (disk based or virtual RAM) reduced the merge time for two extremely large routes from failing to complete in over 50 hours to successfully completing in 10 hours.</td>
</tr>
</tr>
</table>
</table>
Some problems will require you to do a bit (or a lot) of extra work before you can merge two routes into one. But for some problems, the best solution may be to select other routes to merge.


[[file:MergeHeightProblem.JPG|470px|left]]
=='''Common Problems (and Their Solutions)'''==
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>Most route mergers will have problems but most of these problems can be easily fixed</td>
</tr>
</table>


<table width=1000>
<tr valign="top">
<td colspan=2>Some problems will require you to do a bit (or a lot) of extra work before you can merge two routes into one. <span style="background-color: yellow;"> But for some problems, the best solution may be to select other routes to merge. </span></td>
</tr>
<tr valign="top">
<td width=470>[[image:MergeHeightProblem.JPG|470px|left]]</td>
<td>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
*The easiest and most common problems will be fixed during the merging process itself.
<td>The most common problems can be fixed during the merging process itself</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Sometimes textures from the '''Base Route''' will bleed into the second route, particularly if the latter route is not textured. The solution to this can be found in the Trainz Wiki [[image:WikiLink.PNG|link=]] '''[[How to Use Bulk Asset Update/Replace Tool]]'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The most common problem in the "hard to fix but do-able" category is merging two routes that have been built at different heights or altitudes. This will create a vertical cliff along the merge line, as shown on the left. The solutions to this will vary depending on the height difference. Common solutions are:-
<table>
<tr valign="top">
<td width=10>[[image:RedDot10x10.png|link=]]</td>
<td><span style="background-color: yellow; font-weight: 700;">add extra baseboards</span> between the two routes to create an easy gradient between them. See the "'''Tips'''" box below. If the height difference is large then many additional baseboards will be needed. If the difference is too big then other options may have to be considered</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td><span style="background-color: yellow; font-weight: 700;">use a spiral tunnel or ''switchback/zigzag''</span> to build track between the two levels. This will reduce number of extra baseboards</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td><span style="background-color: yellow; font-weight: 700;">add portals</span> to both routes so that a consist entering the portal on one route will emerge from the portal on the other route. Portals can have their own issues and this solution may not suit everyone and every layout.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>


*The most common problem in the "hard to fix but do-able" category is merging two routes that have been built at different heights or altitudes. This will create a vertical cliff along the merge line, as shown on the left. The solutions to this will vary depending on the height difference. Common solutions are:-
<table width=1000>
**'''add extra baseboards''' between the two routes to create an easy gradient between them. See the "'''Tips'''" box below. If the height difference is large then many additional baseboards will be needed. If the difference is too big then other options may have to be considered.
<tr valign="top">
**'''use a spiral tunnel or ''switchback/zigzag''''' to build track between the two levels. This will reduce number of extra baseboards.
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
**'''add portals to both routes''' so that a consist entering the portal on one route will emerge from the portal on the other route. Portals can have their own issues and this solution may not suit everyone and every layout.
<td>Another fixable problem can occur if a layer containing track from the second route ends up below the layer that also contains track in the '''Base Route'''. This can be fixed by merging the lower track layer into the higher track layer either during the merging process or afterwards using the [[image:WikiLink.PNG|link=]] '''[[How to Use Layers|Layer Tools]]''' in Surveyor.
</td>
</td>
</tr>
</tr>
</table>
</table>
<table>
<br>
<table width=1000 cellpadding=2 bgcolor=#ff0000>
<tr valign="top">
<tr valign="top">
<td>
<td>
*Another fixable problem can occur if a layer containing track from the ''to-be-merged route'' ends up below the layer that also contains track in the ''base route''. This can be fixed by merging the lower track layer into the higher track layer either during the merging process or afterwards using the '''Layer Tools''' in Surveyor.
<table cellpadding=2 bgcolor=#fcbcbc>
<tr valign="top">
<td>[[image:Stop.PNG|link=]]</td>
<td>The most common problem in the '''"impossible to fix"''' category is when both routes have different orientations ('''N-S''' and '''E-W''') and you were hoping to join them end-to-end in the same direction to make an even longer route. Once a route has been created its orientation can be extremely difficult to change (it is not impossible but often not worth the time and effort).</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
<table border="2" bordercolour="black" cellpadding="4" bgcolor=#fcbcbc>
<br>
<tr>
<table width=1000>
<tr valign="top">
<td>For the solutions to other problems that have been known to occur, but less frequently than those described above, jump to the section [[image:PageLink.PNG|link=]] '''[[#Uncommon Problems (and Their Solutions)|Uncommon Problems (and Their Solutions)]]''' found at the end of this page.</td>
</tr>
</table>
 
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<td>
*The most common problem in the "impossible to fix" category is when both routes have different orientations (N-S and E-W) and you were hoping to join them end-to-end in the same direction to make an even longer route. Once a route has been created its orientation cannot be changed.</td>
<table bgcolor=#ffffe0 cellpadding=2>
<tr valign="top">
<td>[[image:PencilTips.PNG|link=]]</td>
<td>A handy tip for merging two routes with different heights is to create a new route that only contains the extra "in-between" or '''bridging''' baseboards - no scenery, textures or track are needed. The baseboards on one end will have heights that match those of the '''Base Route''' and the baseboards on the other end will have heights that match those of the second route. The distance between these two end baseboards will determine the grade that your trains will have to climb. The merge is performed in two stages:-
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Merge Two Routes Using a Bridging Route:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>the '''new bridging route''' is merged with the '''Base Route''' and saved (backups are important)</td>
</tr>
</tr>
</table>
<br clear=all>
<table border="2" bordercolor="black">
<tr><td>
<table cellpadding="4">
<tr valign="top">
<tr valign="top">
<td>[[file:PencilTips.JPG]]</td>
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>A handy tip for merging two routes with different heights is to create a new route that only contains the extra "in-between" baseboards - no scenery, textures or track are needed. The baseboards on one end will have heights that match those of the ''base route'' and the baseboards on the other end will have heights that match those of the ''to-be-merged route''. The merge is performed in two stages:-
<td>the selected second route is merged with the '''Base + bridging route'''</td>
*the ''new bridging route'' is merged with the ''Base route''.
*the selected ''to-be-merged route'' is merged with the ''Base + bridging route''.
This avoids having to add the extra baseboards to the original routes.</td>
</tr>
</tr>
</table></td>
</table>
This avoids having to add the extra baseboards to the original routes.
</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<tr valign="top">
<td width=629><span id="stepSelecting"></span>


='''Selecting and Loading the Routes to Merge'''=
='''Selecting and Loading the Routes to Merge'''=
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
<td width=50>&#160;</td> <!-- Skip Up -->
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepBefore|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepMergeMap|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


*'''Load the ''Base Route'' into Surveyor'''
<table width=1000 cellpadding=2 bgcolor=#ffffff> <!-- BEGIN Step table -->
::Should you load the '''Route''' or the '''Session'''?<br><br>
<tr valign="top">
::The answer depends on whether or not the Session contains assets (scenery, consists) and settings (rules, driver commands, industry and wagon loads, weather, time of day, etc) that you want to continue to use in the new merged Route and its Session. If the Session contains nothing that you need then load the Route only into Surveyor. Note that when you add the '''to-be-merged route''' its Route assets and data will be loaded but not any Session assets or data.
<td colspan=2><span style="font-size: 15px; font-weight: 700;">Steps</span></td>
 
</tr>
<table width="700">
<tr valign="top">
<td>
<table>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">Load the <span style="text-decoration: underline;">Base Route</span> Into Surveyor:</span>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td width="190">[[file:MergeMainMenu.JPG]]</td>
<td>
<td>
*'''Select the ''Merge Route'' option in the ''Surveyor Main Menu'''''
<table bgcolor=#ffffe0 cellpadding=2>
::This will open a '''Route Selection''' window.
*'''Select the route to be merged'''<br>
[[file:MergeSelectRoute.JPG]]<br>
::This will be the '''to-be-merged route''' and only its Route data will be loaded
<table cellpadding="4" bgcolor=#c1e7e7>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:PencilTips.PNG|link=]]</td>
<td>'''DLC routes cannot be selected for merging'''</td>
<td>Merging usually works best when the '''Base''' or '''Starting Route''' is the larger of the two routes</td>
</tr>
</tr>
</table>
</table>
Line 113: Line 298:
</tr>
</tr>
</table>
</table>
This will merge the two routes and display a "minimap" of the new combined routes with some control options.
<br>
<br>
='''The Merge Map'''=
<table cellpadding=2 bgcolor=#bbffff> <!-- BEGIN Step 1 table -->
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapComplexTerrain01.JPG]]</td>
<td>[[image:Question.PNG|link=]]</td>
<td>
<td><span style="font-weight: 700; font-size: 15px;">Should you load the ''Route'' or the ''Route'' and the ''Session''?</span>
*The two tabs shown on the left are the:-
----
**'''Terrain Tab''' which is automatically selected when the MiniMap is first displayed. This shows the baseboards of the ''to-be-merged route'' superimposed on the baseboards of the ''base route''. A red background colour on this tab, as shown in the figure on the left, indicates that the two routes have baseboards that are in conflict - they are overlapping. The overlapping baseboards are shown in red on the MiniMap.
 
**'''Layers Tab'''. This shows the layers that have been copied from both routes. A red background colour on this tab indicates that the two routes have layers that are in conflict.
The answer depends on whether or not the '''Session''' contains assets (scenery, consists) and settings (rules, driver commands, industry and wagon loads, weather, time of day, etc) that you want to continue to use in the new merged '''Route''' and its '''Session'''. If this is the case then load the '''Session'''. If the '''Session''' contains nothing that you need, then only load the '''Route'''.
<br><br>
<br><br>
In Terrain View:-
'''Note:''' When you add the second route its '''Route''' assets and data will be loaded but not any '''Session''' assets or data so this decision is the only opportunity you will have to load anything from a Session. If the '''Session''' attached to the '''Base Route''' contains nothing that you need then load the '''Route''' only into Surveyor.</td>
*You can zoom the MiniMap in and out using the mouse control wheel. There appears to be no keyboard zoom control.
</tr>
</table> <!-- END Step 1 table -->
</td>
</tr>
</table>
</td>
</tr>
</table>


*You can move the centre of focus (the centre of the MiniMap view) by moving the mouse pointer to a new position and clicking with the right button.
<table width=1000>
 
<tr valign="top">
*The four arrows shown at the top, bottom and both sides of the map display can be clicked to move the '''''to-be-merged route''''' in the direction shown by each arrow.
<td width=25>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">Start the <span style="text-decoration: underline;">Merge Route Tool</span> and load the '''Base Route''':</span>
<table> <!-- BEGIN Step 2 table -->
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td>Select the '''Merge Route''' option in the '''Surveyor Main Menu''' ('''TANE''' - shown below left) or the '''Surveyor Tools Menu''' ('''TRS19/Trainz Plus/TRS22''' - shown below middle). This will open a '''Route Selection''' window (shown below right)
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td>'''DLC payware routes cannot be selected for merging'''</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint2Blue.png|link=]]</td>
<td>Select the second route. Only the '''Route Data''' (terrain, textures, effect layers) and '''Route Layers''' (assets) will be loaded from this route</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
<table>
<tr valign="top">
<td align="center"><span style="font-weight: 700; font-size: 15px;">T:ANE</span><br>[[image:MergeMainMenu.JPG|link=]]</td>
<td align="center"><span style="font-weight: 700; font-size: 15px;">TRS19 and later</span><br>[[image:MergeToolStartTRS19SP1.png|link=]]</td>
<td><br>[[image:MergeSelectRoute.JPG|link=]]</td>
</tr>
</table> <!-- END Step 2 table -->
This will display a "minimap" of the proposed merger (nothing will be merged until after the final step) with some control options.
<br>
<br>
==Move the ''To-Be-Merged Route'' into its New Position==
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<tr valign="top">
<td width=629><span id="stepMergeMap"></span>
='''The Merge Map'''=
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
<td width=50>&#160;</td> <!-- Skip Up -->
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepSelecting|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepLayers|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


<table width=1000>
<tr valign="top">
<td width=400>[[image:MergeMiniMapComplexTerrain01_S20.png|400px|link=]]</td>
<td>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapComplexTerrain02.JPG]]</td>
<td colspan=2>The two tabs shown on the left are the:-</td>
<td>Click on the direction arrows shown at the top, bottom and sides of the MiniMap window to move the ''to-be-merged route'' into its correct position. Each click will move the ''to-be-merged route'' one baseboard in the selected direction.
</tr>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px;">Terrain Tab</span> - this shows the baseboards of the second route superimposed on the baseboards of the '''Base Route'''. A red <span style="font-weight: 700; font-size: 15px; color: red;">!</span> symbol on this tab, as shown in the figure on the left, indicates that the two routes have baseboards that are in conflict - they are overlapping. The overlapping baseboards are shown in red on the MiniMap</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px;">Layers Tab</span> - this identifies the layers that have been copied from both routes. A red background colour on this tab indicates that the two routes have layers that are in conflict</td>
</tr>
</table>


In the example shown on the left, clicking the '''Left''' arrow 5 times moved the ''to-be-merged route'' 5 baseboards to the left to a position where there were no overlapping baseboards and all terrain conflicts were resolved.
<table bgcolor=#000000 cellpadding="2">
<tr valign="top">
<td>
<table cellpadding=2 bgcolor=#ffffb0>
<tr valign="top">
<td>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 15px;">'''Notes:'''</span><br>
----
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>You can zoom the MiniMap in and out using the mouse control wheel. There appears to be no keyboard zoom control</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>You can move the centre of focus (the centre of the MiniMap view) by moving the mouse pointer to a new position and <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Right Click</span></td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The four arrows shown at the top, bottom and both sides of the map display will move the second route in the direction shown on each arrow by a <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span>.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
==Move the Second Route into its New Position==


<table cellpadding="4" bgcolor=#c1e7e7>
<table width=1000>
<tr valign="top">
<td>[[image:MergeMiniMapComplexTerrain02_S20.JPG|link=]]</td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Move the Second Route Map:-</span></td>
</tr>
<tr valign="top">
<td>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the direction arrows shown at the top, bottom and sides of the MiniMap window to move the second route into its correct position
<table bgcolor=#ffffe0 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:PencilTips.PNG|link=]]</td>
<td>'''A route merge will not proceed until ''ALL'' the terrain and layer conflicts have been eliminated.'''</td>
<td>You will probably need to '''Zoom''' in and out in the map view to get a better idea of where you are moving</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>Each <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> will move the second route one baseboard in the selected direction</td>
</tr>
</tr>
</table>
</table>
Line 153: Line 453:
</table>
</table>
<br>
<br>
In the example shown on the left, a <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> 5 times on the '''Left''' arrow moved the second route 5 baseboards to the left to a position where there were no overlapping baseboards and all terrain conflicts were resolved (the '''Terrain Tab''' has lost its red <span style="font-weight: 700; font-size: 15px; color: red;">!</span> symbol).
<br>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td>The route merge will '''NOT''' proceed until '''ALL''' the terrain and layer conflicts have been eliminated</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<tr valign="top">
<td width=629><span id="stepLayers"></span>
='''The Layers Map'''=
='''The Layers Map'''=
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
<td width=50>&#160;</td> <!-- Skip Up -->
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepMergeMap|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepProblems|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


Click the '''Layers Tab''' to show the layers loaded from the two routes.
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<table cellpadding="4" bgcolor=#c1e7e7>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>'''A route merge will not proceed until ''ALL'' the terrain and layer conflicts have been eliminated.'''</td>
<td>The most common merging issue in the '''Layers Tab''' is having layers from each route with the same name</td>
</tr>
</tr>
</table>
</table>


<table width=1000>
<tr valign="top">
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td>In the example shown below two of the layers, one from each route, are using the same name "'''route-layer''".
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflict.JPG]]</td>
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>In the example shown on the left two of the layers, one from each route, are using the same name "''route-layer''". This causes a conflict that must be resolved before the merge can be completed.
<td>This causes a conflict, indicated by the red <span style="font-weight: 700; font-size: 15px; color: red;">!</span> symbol on the '''Layers Tab''', that must be resolved before the merge can be completed</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The layers with the name conflicts are highlighetd with red backgrounds</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
There are three simple options for solving this problem:-<br><br></td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td>The route merge will '''NOT''' proceed until '''ALL''' the terrain and layer conflicts have been eliminated</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
 
<table width=1000 bgcolor="LightCyan" cellpadding=2>
<tr valign="top">
<td width=25>[[image:Ablue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px;">Rename one of the conflicting layers</span></td>
</tr>
</table>


There are three simple options for solving this problem:-
<table width=1000>
<table cellpadding="4" bgcolor=#c1e7e7>
<tr valign="top">
<td width=490>[[image:MergeMiniMapLayersConflict_S20.JPG|link=]]</td>
<td>
<table width=510 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table width=506 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Rename a Layer:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Double Left Click</span> on the layer to be renamed</td>
</tr>
<tr valign="top">
<td colspan=2>[[image:MergeMiniMapLayersConflictRename01_S20.JPG|link=]]</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>type in the new name and press the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;Enter&#160;</span> key</td>
</tr>
<tr valign="top">
<td colspan=2>[[image:MergeMiniMapLayersConflictRename02_S20.JPG|link=]]</td>
</tr>
<tr valign="top">
<td colspan=2>After renaming the conflict has been resolved.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 bgcolor="LightCyan" cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint1.JPG]]</td>
<td width=25>[[image:Bblue.png|link=]]</td>
<td>'''Rename one of the conflicting layers.''' Double click on the layer name to enter a new name.</td>
<td><span style="font-weight: 700; font-size: 15px;">Delete one of the conflicting layers</span></td>
</tr>
</tr>
</table>
</table>
<table width=1000>
<tr valign="top">
<td width=310>[[image:MergeMiniMapLayersConflictDelete_S20.JPG|link=]]</td>
<td>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictRename01.JPG]]</td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Delete a Layer:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the layer to be deleted</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the [[image:MergeDeleteIcon.png|link=]] '''Delete Icon'''</td>
</tr>
<tr valign="top">
<td colspan=2>[[image:MergeMiniMapLayersConflictMerge02_S20.JPG|link=]]</td>
</tr>
<tr valign="top">
<td colspan=2>After deleting the conflict has been resolved.</td>
</tr>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<table bgcolor=#ff0000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#fcbcbc cellpadding=2>
<tr valign="top">
<td>[[image:Stop.PNG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">WARNING:</span><br>
Deleting a layer will exclude its contents from the merge</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictRename02.JPG]]<br>
<td width=25>[[image:NotePad.PNG|link=]]</td>
The conflict has now been resolved.</td>
<td>Deleing a layer will only delete it from the '''Merge Process'''. It will not be deleted from its original route.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
<table cellpadding="4" bgcolor=#c1e7e7>
<table width=1000 bgcolor="LightCyan" cellpadding=2>
<tr valign="top">
<td width=25>[[image:Cblue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px;">Merge the conflicting layers</span></td>
</tr>
</table>
 
<table width=1000 cellpadding=2 bgcolor=#ff0000>
<tr valign="top">
<td>
<table cellpadding=2 bgcolor=#fcbcbc>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint2.JPG]]</td>
<td>[[image:Stop.PNG|link=]]</td>
<td>'''Delete one of the conflicting layers.''' Select the layer and click on the '''Delete icon'''.</td>
<td>'''CAUTION:'''<br>
When selecting a layer to '''merge into''' be aware that layers containing track objects such as signals, switches, speed signs, etc '''CANNOT''' be placed above a layer that contains the track</td>
</tr>
</tr>
</table>
</table>
<table>
</td>
</tr>
</table>
 
<table width=1000>
<tr valign="top">
<td>
</td>
</tr>
<tr valign="top">
<td>
<table width=1000>
<tr valign="top">
<td width=490>[[image:MergeMiniMapLayersConflict_S20.JPG|link=]]</td>
<td>
<table width=510 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictDelete.JPG]]</td>
<td>
<td>
<table width=506 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Merge Two Layers:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the layer that is to be merged</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the [[image:MergeMergeIcon.png|link=]] '''Merge Icon'''. This will open a list of layers as shown below<br>
[[image:MergeMiniMapLayersConflictMerge01_S20.JPG|link=]]</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint3.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the layer that it will be '''merged into'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the [[image:Tick.PNG|link=]] icon</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
<table border="2" bordercolour="black" cellpadding="4" bgcolor=#fcbcbc>
 
<tr>
='''Accept or Reject'''=
<td>'''CAUTION: Deleting a layer will delete all its contents'''.</td>
 
Once all the conflicts have been resolved, the final step in the merging process can take place.
 
<table width=1000>
<tr valign="top">
<td>[[image:Tick.PNG|link=]]&#160;&#160;</td>
<td>'''ACCEPT:''' <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> '''to accept the merge'''. This icon will not be clickable unless ALL conflicts have been resolved. If you have problems after clicking '''Accept''', see the sections at the top of this wiki page on '''File Sizes''' and '''Common Problems'''</td>
</tr>
<tr valign="top">
<td>[[image:Cross.PNG|link=]]&#160;&#160;</td>
<td>'''REJECT:''' <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> '''to reject the merge'''. The merging will be cancelled, no routes will be lost or altered.</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
*Deleting ALL the layers from the ''to-be-merged route'' will add only the terrain and its ground textures to the ''base route''.
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
<tr valign="top">
<td width=629><span id="stepProblems"></span>
='''Uncommon Problems (and Their Solutions)'''=
</td>
<td width=50>&#160;</td> <!-- Skip Down -->
<td width=50>&#160;</td> <!-- Skip Up -->
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepLayers|alt=Next Up|Next Up]]</td>
<td width=75>&#160;</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
 
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>Most of these issues occur when using the earlier versions of Trainz - '''T:ANE''' and '''TRS19'''. They are less common or have not been reported in the more recent versions</td>
</tr>
<tr valign="top">
<td>[[image:BlueDot10x10.png|link=]]</td>
<td>All of these problems occur along baseboard boundaries after the merge but not just on the merge boundary - they can appear many baseboards away and can take a lot of searching to find</td>
</tr>
</table>
<br>
<br>
After clicking the '''Delete Icon''' ...
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictMerge02.JPG]]</td>
<td>These problems include:-
<table>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''random needle spikes''' (like tall sewing needles sticking up through your layout)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''random inverted needle spikes''' (like someone decided to bore very narrow vertical shafts into your layout)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''long straight ditches'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''texture bleeds''' (on bare baseboards)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''random dark "splotches"''' (on textured baseboards)</td>
</tr>
</tr>
</table>
</table>
... the conflict has now been resolved.</td>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
<table cellpadding="4" bgcolor=#c1e7e7>
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint3.JPG]]</td>
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td>'''Merge one of the conflicting layers.''' Select the layer and click on the '''Merge icon''' (next to the '''Delete Icon''').</td>
<td><span style="font-size: 15px;">'''Notes:'''</span><br>
----
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the texture bleeds are relatively easy to solve after the merge has occurred and that solution can be found in the '''Trainz Wiki''' at [[image:WikiLink.PNG|link=]] '''[[How to Use Bulk Asset Update/Replace Tool]]'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the other issues are more difficult or time consuming to solve '''after the merge'''. A better option is to restart the merge process from the original routes (that is why you should make backup copies first) using the steps described below</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
<table border="2" bordercolour="black" cellpadding="4" bgcolor=#fcbcbc width="640">
<table width=1000 cellpadding=2 bgcolor=#ffffff> <!-- BEGIN Step table -->
<tr>
<tr valign="top">
<td>'''CAUTION: When selecting a layer to ''merge into'' be aware that layers containing track objects such as signals, switches, speed signs, etc CANNOT be placed above a layer that contains the track'''.</td>
<td><span style="font-size: 15px; font-weight: 700;">Steps:</span></td>
</tr>
</tr>
</table>
</table>
Line 231: Line 821:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictMerge01.JPG]]</td>
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>Then select the layer it will be ''merged into'' and click the '''Tick Icon'''.<br>
<td><span style="font-size: 15px; font-weight: 700;">Create a Small Dummy Route:</span>
After merging ...
<table> <!-- BEGIN Step 1 table -->
<tr valign="top">
<td>Create a new route using just two bare baseboards (no textures or scenery) with:-
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeMiniMapLayersConflictMerge02.JPG]]</td>
<td width=25>[[image:Ablue.png|link=]]</td>
<td>an '''East-West''' orientation for an '''East-West''' merge, <span style="font-weight: 700; font-size: 15px;">OR</span></td>
</tr>
<tr valign="top">
<td>[[image:Bblue.png|link=]]</td>
<td>a '''North-South''' orientation for a '''North-South''' merge</td>
</tr>
<tr valign="top">
<td colspan=2>Do not worry about the height of the baseboards. Save the route using an easy to remember name such as '''Merge Dummy'''</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>
<table width=1000 bgcolor=#ffffe0>
<tr valign="top">
<td>[[image:PencilTips.PNG|link=]]</td>
<td>If merging is something that you will do often then create your '''Merge Dummy''' route as a 2x2 baseboard square for quickly solving these problems if they should appear. The 2x2 baseboards will work with both '''East-West''' and '''North-South''' merges</td>
</tr>
</tr>
</table>
</table>
... the conflict has now been resolved.
</td>
</tr>
</table> <!-- END Step 1 table -->
</td>
</td>
</tr>
</tr>
</table>
</table>
<br>


='''Accept or Reject'''=
<table width=1000>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">Load the First Route:</span><br>
<table> <!-- BEGIN Step 2 table -->
<tr valign="top">
<td>Load the '''Base Route''' into Surveyor - see the section [[image:PageLink.PNG|link=]] '''[[#Selecting and Loading the Routes to Merge|Selecting and Loading the Routes to Merge]]'''.
</td>
</tr>
</table> <!-- END Step 2 table -->
</td>
</tr>
</table>


Once all the conflicts have been resolved, the final step in the merging process can take place.
<table width=1000>
<tr valign="top">
<td>[[image:DotPoint3.JPG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">Load and Position the Merge Dummy Route:</span><br>
<table> <!-- BEGIN Step 3 table -->
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td>Select the '''Merge Route''' option and load the '''Merge Dummy''' into Surveyor (the images below show a 2x2 baseboard '''Merge Dummy''' route)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2Blue.png|link=]]</td>
<td>Move the '''Merge Dummy''' route into position so that it will touch the baseboard edges, by one baseboard each, of the first route and the yet to be loaded second route<br>
<table>
<tr valign="top">
<td>[[image:MergeDummy1.png|link=|alt=Merge Stage 1]]</td>
<td>
<table>
<tr valign="top">
<td>[[image:DotPoint3Blue.png|link=]]</td>
<td>Resolve any Layer conflicts</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4Blue.png|link=]]</td>
<td>Accept the merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint5Blue.png|link=]]</td>
<td>Save the new merged route</td>
</tr>
</table>
</td>
</tr>
</table> <!-- END Step 3 table -->
</td>
</tr>
</table>
</td>
</tr>
</table>


<table width=1000>
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]</td>
<td><span style="font-size: 15px; font-weight: 700;">Load and Position the Second Route:'''</span><br>
<table> <!-- BEGIN Step 4 table -->
<tr valign="top">
<td>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:MergeCancelAccept.JPG]]</td>
<td colspan=2>Starting with the new merged route from <span style="font-weight: 700; font-size: 15px;">Step: <span style="color: white; background-color: red;">&#160;3&#160;</span></span> above:-</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td>Select the '''Merge Route''' option and load the second route into Surveyor</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2Blue.png|link=]]</td>
<td>Move the second route into its merge position with the first route. It must overlap, by one baseboard, the '''Merge Dummy''' route<br>
<table>
<tr valign="top">
<td>[[image:MergeDummy2.png|link=|alt=Merge Stage 2]]</td>
<td>
<table>
<tr valign="top">
<td>[[image:DotPoint3Blue.png|link=]]</td>
<td>Resolve any Layer conflicts</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4Blue.png|link=]]</td>
<td>Accept the merge</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint5Blue.png|link=]]</td>
<td>Save the new merged route</td>
</tr>
</tr>
</table>
</table>
<table cellpadding="4" bgcolor=#c1e7e7>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
 
<table width=1000>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:DotPoint5.JPG|link=]]</td>
<td>'''ACCEPT: Click the ''Tick Icon'' to accept the merge'''. This icon will not be usable unless ALL conflicts have been resolved.</td>
<td><span style="font-size: 15px; font-weight: 700;">Delete the Merge Dummy Route'''</span><br>
<table> <!-- BEGIN Step 5 table -->
<tr valign="top">
<td>Do not worry if the bare baseboards in the '''Merge Dummy''' route show any texture bleeds because the final step is to:-
<table>
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td>Delete each of the blank baseboards from the '''Merge Dummy''' part of the route</td>
</tr>
</table>
</td>
</tr>
</table> <!-- END Step 5 table -->
</td>
</tr>
</tr>
</table> <!-- END Steps table -->
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td width=729><span id="bottom"></span>&#160;</td>
<td>'''REJECT: Click the ''Cross Icon'' to reject the merge'''. The merging will be cancelled, no routes will be lost or altered.</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepProblems|alt=Next Up|Next Up]]</td>
<td width=75>&#160;</td>
<td width=75>&#160;</td>
</tr>
</tr>
</table>
</table> <!-- END Nav Buttons Table -->
----
----
----
----
<br>
 
='''Trainz Wiki'''=
='''Trainz Wiki'''=
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
<table cellpadding=2 bgcolor=#ffffff>
<tr valign="top">
<td>[[image:TrainzWiki.png|link=]]</td>
<td>
<span style="font-size: 15px;">'''More Tutorials and Guides to Using Trainz'''</span><br>
*'''<span class="plain;">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''[[Driver Commands List]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
<br>
</td>
<font size="3">'''Route Creation Tutorials:'''</font>
</tr>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
</table>
*'''[[How to Use Bulk Asset Update/Replace Tool|Using the Bulk Asset Update/Replace Tool]]'''
----
*'''[[How to Use Layers|Using Layers]]'''
This page was created by Trainz user '''<span class="plain;">[http://online.ts2009.com/mediaWiki/index.php/User:Pware pware]</span>''' in July 2018 and was last updated as shown below.
</div>
----
<br>
<font size="3">'''Session Creation Tutorials:'''</font>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
*'''[[How to Use Message Popup Rule|Adding Message Popups]]'''
*'''[[How to Use Message Popup Rule (Applications)|Adding Message Popups - Applications]]'''
*'''[[How to Use Navigation Point Rules|Adding Navigation Points]]'''
*'''[[How to Use Navigation Point Rules (Applications)|Adding Navigation Points - Applications]]'''
*'''[[How to Use Driver Setup Rule|Configuring the Driver Setup Rule]]'''
*'''[[How to Control Junctions in Sessions|Controlling Junctions in Sessions]]'''
*'''[[How to Control Signals in Sessions|Controlling Signals in Sessions]]'''
*'''[[How to Create a HTML Asset|Creating a HTML Asset (Session Introduction Page and In Game Messages)]]'''
*'''[[Parent Rule List|List of Parent Rules]]'''
*'''[[How to Use Parent and Child Rules|Parent and Child Rules]]'''
*'''[[How to Use Track Triggers|Using Track Triggers]]'''
*'''[[How to Use Variables in Sessions (Examples)|Using Variables in Sessions - Examples]]
</div>
 
[[Category:How-to guides]]
[[Category:How-to guides]]

Latest revision as of 06:37, 1 September 2026

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The information in this Wiki Page explains the process of merging two routes in T:ANE, TRS19, TRS22 and Trainz Plus.


Key Points:-
Merging allows two separate routes to be joined to make a single larger route
The Route Data (terrain, textures, effect layers) and Route Layers (assets) of both routes are merged but only the Session Data and Layers from the first route can, optionally, be retained in the new enlarged route
Physical difference between the routes will cause problems in the merging process but most of these can be overcome
A Payware (DLC) route cannot be one of the selected routes


Before You Start Merging

    Top   Next Down Bottom
You are strongly advised to make backup copies of any routes that you are going to merge
In most cases there should be no technical problems in merging routes (and completing the task in minutes) on systems that meet the recommended specs


Before you start merging there are some important points you will need to consider and there may be some preparation work that will have to be performed.

Identify...
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 if either of the routes is a payware route. Payware routes cannot be used in a merge
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 if you need to keep the Session Data (station and industry settings, weather, driver commands, etc) of one of the routes in the merge. You can only keep keep the data from one session, not both. This route and its session MUST be the first selected for the merge
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the first or starting route, the one that will be the Base Route. This route will form the backbone of the merged routes. It will usually be the larger route or the one that has a session that contains data that you want to keep in the merge
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the second or joining route, the one that will be merged with the Base Route. If this route has a session then you cannot include that session in the merge
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the orientation (North-South or East-West) of both routes. This may cause problems depending on where they will be merged
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the baseboards in both routes where they will be joined. The join must be along edges with no overlaps
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the height of the baseboards in both routes at the merge point. A difference in heights could cause problems
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 any layers in the two routes that have the same name. This will cause a temporary problem that can be easily fixed during the merging process
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 which layers in both routes contain the tracks and the track objects (signals, switches, speed signs, etc). You may have to move some layers before merging

Latitude, Longitude and Altitude

A common misconception is that the Latitude and Longitude of the routes being merged plays a part in the merging process
The Latitude and Longitude of a route has absolutely no effect on the route itself apart from setting, along with the date entered into the Environment Tools, the season of the year. Even then it is only the North/South component of the entered Latitude, not the value, that is important.

A route with its geographic coordinates set in Northern Alaska will happily merge with a route set in outback Australia - but what you do with all the snow and dust is another problem 😀

Altitude differences between the two selected routes can cause serious issues. See Common Problems (and Their Solutions) below.

Route File Sizes

The success of the merging process will depend on the size of the two routes being merged and the size of your systems available memory
The merging process occurs within your computers on-board memory (RAM). If this is not large enough then your system will also use virtual RAM, i.e. your disk storage space as temporary memory, which is significantly slower. If your system does not have enough memory, both on-board and virtual, then merging large routes will become a problem (i.e. impossible or will take a very long time).


The Trainz forum contains several threads where attempts to merge very large routes (Gigabytes in size) have taken "days" to complete or failed to complete at all. In many of these cases the users did not have enough RAM (on-board and virtual) installed in their system. In one documented case, doubling the available on-board RAM from 16GB to 32GB and increasing the Windows virtual memory page size (disk based or virtual RAM) reduced the merge time for two extremely large routes from failing to complete in over 50 hours to successfully completing in 10 hours.

Common Problems (and Their Solutions)

Most route mergers will have problems but most of these problems can be easily fixed
Some problems will require you to do a bit (or a lot) of extra work before you can merge two routes into one. But for some problems, the best solution may be to select other routes to merge.
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The most common problems can be fixed during the merging process itself
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sometimes textures from the Base Route will bleed into the second route, particularly if the latter route is not textured. The solution to this can be found in the Trainz Wiki How to Use Bulk Asset Update/Replace Tool
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The most common problem in the "hard to fix but do-able" category is merging two routes that have been built at different heights or altitudes. This will create a vertical cliff along the merge line, as shown on the left. The solutions to this will vary depending on the height difference. Common solutions are:-
add extra baseboards between the two routes to create an easy gradient between them. See the "Tips" box below. If the height difference is large then many additional baseboards will be needed. If the difference is too big then other options may have to be considered
use a spiral tunnel or switchback/zigzag to build track between the two levels. This will reduce number of extra baseboards
add portals to both routes so that a consist entering the portal on one route will emerge from the portal on the other route. Portals can have their own issues and this solution may not suit everyone and every layout.
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Another fixable problem can occur if a layer containing track from the second route ends up below the layer that also contains track in the Base Route. This can be fixed by merging the lower track layer into the higher track layer either during the merging process or afterwards using the Layer Tools in Surveyor.


The most common problem in the "impossible to fix" category is when both routes have different orientations (N-S and E-W) and you were hoping to join them end-to-end in the same direction to make an even longer route. Once a route has been created its orientation can be extremely difficult to change (it is not impossible but often not worth the time and effort).


For the solutions to other problems that have been known to occur, but less frequently than those described above, jump to the section Uncommon Problems (and Their Solutions) found at the end of this page.
A handy tip for merging two routes with different heights is to create a new route that only contains the extra "in-between" or bridging baseboards - no scenery, textures or track are needed. The baseboards on one end will have heights that match those of the Base Route and the baseboards on the other end will have heights that match those of the second route. The distance between these two end baseboards will determine the grade that your trains will have to climb. The merge is performed in two stages:-
Steps: To Merge Two Routes Using a Bridging Route:-
the new bridging route is merged with the Base Route and saved (backups are important)
the selected second route is merged with the Base + bridging route

This avoids having to add the extra baseboards to the original routes.


Selecting and Loading the Routes to Merge

    Top Next Up Next Down Bottom
Steps
Load the Base Route Into Surveyor:
Merging usually works best when the Base or Starting Route is the larger of the two routes


Should you load the Route or the Route and the Session?

The answer depends on whether or not the Session contains assets (scenery, consists) and settings (rules, driver commands, industry and wagon loads, weather, time of day, etc) that you want to continue to use in the new merged Route and its Session. If this is the case then load the Session. If the Session contains nothing that you need, then only load the Route.

Note: When you add the second route its Route assets and data will be loaded but not any Session assets or data so this decision is the only opportunity you will have to load anything from a Session. If the Session attached to the Base Route contains nothing that you need then load the Route only into Surveyor.
Start the Merge Route Tool and load the Base Route:
Select the Merge Route option in the Surveyor Main Menu (TANE - shown below left) or the Surveyor Tools Menu (TRS19/Trainz Plus/TRS22 - shown below middle). This will open a Route Selection window (shown below right)
DLC payware routes cannot be selected for merging
Select the second route. Only the Route Data (terrain, textures, effect layers) and Route Layers (assets) will be loaded from this route
T:ANE
TRS19 and later

This will display a "minimap" of the proposed merger (nothing will be merged until after the final step) with some control options.

The Merge Map

    Top Next Up Next Down Bottom
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127
The two tabs shown on the left are the:-
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Terrain Tab - this shows the baseboards of the second route superimposed on the baseboards of the Base Route. A red ! symbol on this tab, as shown in the figure on the left, indicates that the two routes have baseboards that are in conflict - they are overlapping. The overlapping baseboards are shown in red on the MiniMap
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Layers Tab - this identifies the layers that have been copied from both routes. A red background colour on this tab indicates that the two routes have layers that are in conflict
Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 You can zoom the MiniMap in and out using the mouse control wheel. There appears to be no keyboard zoom control
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 You can move the centre of focus (the centre of the MiniMap view) by moving the mouse pointer to a new position and Right Click
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The four arrows shown at the top, bottom and both sides of the map display will move the second route in the direction shown on each arrow by a Left Click.


Move the Second Route into its New Position

Steps: To Move the Second Route Map:-
Left Click on the direction arrows shown at the top, bottom and sides of the MiniMap window to move the second route into its correct position
You will probably need to Zoom in and out in the map view to get a better idea of where you are moving
Each Left Click will move the second route one baseboard in the selected direction


In the example shown on the left, a Left Click 5 times on the Left arrow moved the second route 5 baseboards to the left to a position where there were no overlapping baseboards and all terrain conflicts were resolved (the Terrain Tab has lost its red ! symbol).

The route merge will NOT proceed until ALL the terrain and layer conflicts have been eliminated


The Layers Map

    Top Next Up Next Down Bottom
The most common merging issue in the Layers Tab is having layers from each route with the same name
In the example shown below two of the layers, one from each route, are using the same name "'route-layer".
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 This causes a conflict, indicated by the red ! symbol on the Layers Tab, that must be resolved before the merge can be completed
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The layers with the name conflicts are highlighetd with red backgrounds


There are three simple options for solving this problem:-

The route merge will NOT proceed until ALL the terrain and layer conflicts have been eliminated
Rename one of the conflicting layers
Steps: To Rename a Layer:-
Double Left Click on the layer to be renamed
type in the new name and press the  Enter  key
After renaming the conflict has been resolved.


Delete one of the conflicting layers
Steps: To Delete a Layer:-
Left Click on the layer to be deleted
Left Click on the Delete Icon
After deleting the conflict has been resolved.
WARNING:
Deleting a layer will exclude its contents from the merge


Deleing a layer will only delete it from the Merge Process. It will not be deleted from its original route.


Merge the conflicting layers
CAUTION:
When selecting a layer to merge into be aware that layers containing track objects such as signals, switches, speed signs, etc CANNOT be placed above a layer that contains the track
Steps: To Merge Two Layers:-
Left Click on the layer that is to be merged
Left Click on the Merge Icon. This will open a list of layers as shown below
Left Click on the layer that it will be merged into
Left Click the icon


Accept or Reject

Once all the conflicts have been resolved, the final step in the merging process can take place.

   ACCEPT: Left Click to accept the merge. This icon will not be clickable unless ALL conflicts have been resolved. If you have problems after clicking Accept, see the sections at the top of this wiki page on File Sizes and Common Problems
   REJECT: Left Click to reject the merge. The merging will be cancelled, no routes will be lost or altered.


Uncommon Problems (and Their Solutions)

    Top Next Up   Bottom
Most of these issues occur when using the earlier versions of Trainz - T:ANE and TRS19. They are less common or have not been reported in the more recent versions
All of these problems occur along baseboard boundaries after the merge but not just on the merge boundary - they can appear many baseboards away and can take a lot of searching to find


These problems include:-
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 random needle spikes (like tall sewing needles sticking up through your layout)
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 random inverted needle spikes (like someone decided to bore very narrow vertical shafts into your layout)
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 long straight ditches
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 texture bleeds (on bare baseboards)
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 random dark "splotches" (on textured baseboards)


Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the texture bleeds are relatively easy to solve after the merge has occurred and that solution can be found in the Trainz Wiki at How to Use Bulk Asset Update/Replace Tool
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the other issues are more difficult or time consuming to solve after the merge. A better option is to restart the merge process from the original routes (that is why you should make backup copies first) using the steps described below


Steps:
Create a Small Dummy Route:
Create a new route using just two bare baseboards (no textures or scenery) with:-
an East-West orientation for an East-West merge, OR
a North-South orientation for a North-South merge
Do not worry about the height of the baseboards. Save the route using an easy to remember name such as Merge Dummy
If merging is something that you will do often then create your Merge Dummy route as a 2x2 baseboard square for quickly solving these problems if they should appear. The 2x2 baseboards will work with both East-West and North-South merges
Load the First Route:
Load the Base Route into Surveyor - see the section Selecting and Loading the Routes to Merge.
Load and Position the Merge Dummy Route:
Select the Merge Route option and load the Merge Dummy into Surveyor (the images below show a 2x2 baseboard Merge Dummy route)
Move the Merge Dummy route into position so that it will touch the baseboard edges, by one baseboard each, of the first route and the yet to be loaded second route
Merge Stage 1
Resolve any Layer conflicts
Accept the merge
Save the new merged route
Load and Position the Second Route:
Starting with the new merged route from Step:  3  above:-
Select the Merge Route option and load the second route into Surveyor
Move the second route into its merge position with the first route. It must overlap, by one baseboard, the Merge Dummy route
Merge Stage 2
Resolve any Layer conflicts
Accept the merge
Save the new merged route
Delete the Merge Dummy Route
Do not worry if the bare baseboards in the Merge Dummy route show any texture bleeds because the final step is to:-
Delete each of the blank baseboards from the Merge Dummy part of the route


  Top Next Up    


Trainz Wiki

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in July 2018 and was last updated as shown below.