Difference between revisions of "Link Editor"

From TMCWiki
Jump to: navigation, search
(Configuration of the Link Editor)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''Link Editor''' access level grants access to the [[:Category:Link Editor|Link Editor menu]] and all functions contained by it.
+
With the '''Link Editor''' access level you can create network links and have access to the [[:Category:Link Editor|Link Editor menu]] and all functions it contains.
 +
 
 +
The link editor builds up on the functions available in the '''[[Editor|editor]]'''.
  
 
==Import from Exchange table==
 
==Import from Exchange table==
  
 
'''Concerning older TMC versions:'''
 
'''Concerning older TMC versions:'''
 +
→ [[Open Database]]
  
The format in TMC Studio is different from former versions. Therefore you will not be able to open the database created with TMC Editor in TMC Studio.
+
'''Start TMC Studio'''  
 
+
→ [[Setup & Data Requirements for First Time Use|Setup & Data Requirements for First Time Use]]
You have to create a new database from the exported tables as Exchange Format. TMC Studio is able to import from Exchange Format ANSI and UTF-8.
 
 
 
 
 
'''Start TMC Studio'''
 
 
 
→ [[Welcome Screen & Data Requirements for First Time Use|Welcome Screen & Data Requirements for First Time Use]]
 
  
==Define Network database for attributing map liks==
+
==Define network database for attributing map liks==
  
 
To be able to link TMC Paths and Map, you will require the additional license for these functions.
 
To be able to link TMC Paths and Map, you will require the additional license for these functions.
Line 22: Line 19:
  
 
==Configuration of the Link Editor==
 
==Configuration of the Link Editor==
 +
 +
Amongst other things, this page is used to '''enable the link editor's buttons & functions'''.
  
 
'''Menu → Tools → Options → [[Options#Link Editor|Link Editor]]
 
'''Menu → Tools → Options → [[Options#Link Editor|Link Editor]]
  
[[File:Options - Link Editor.png]]
+
==Using the Link Editor Menu==
  
'''Enable:''' When using Link Editor this box should be checked
+
This menu is used in order to import, export and manage any information concerning the link editor.
'''Connection Settings:''' If you imported your data from Shapefile, these setting should already be in order.
 
*Database Type - must be Firebird (local)
 
*Database - click on folder to select database
 
*User Name - must be sysdba
 
*Password - must be masterkey
 
  
'''Layer Properties:''' Configuration of the network layer, see next entry.
+
'''Menu''' → [[:Category:Link Editor|'''Category Link Editor''']]
  
'''Network Cache File / Directory:''' Define where the cache file will be stored.
+
==Using the Link Editor Toolbar==
  
'''Display Network Link:''' Define the color and pattern of network links on the map.
+
[[:Category:Toolbar Link Editor|Toolbar '''Link Editor''']]
  
'''Display TMC Link:''' Define color and pattern of TMC links on the map.
+
Now you will be able to start working with the Link Editor.
  
==Layer Properties==
+
[[File:ToolbarLinkEditor.png]]
  
[[File:Edit Layer Configuration File.png]]
+
Start by clicking '''[[Add Network Link|add network link]]''' [[File:ImageList-126.png|link=|alt=]]. Now click on the road near the beginning of a TMC-link. This will create the first network link. Make sure that the arrows of the network link are facing in the right direction (usually this will be the same direction as the arrows of the TMC-link are pointing in).
  
Network database contains linear data. Here you can define how the various roadtypes should be represented on the map.
+
Now do the same at the other end of the TMC-link. Now that there is a network link at the beginning and at the end of the TMC-link press '''[[Routing|routing]]'''. In most cases [[File:RoutingButton.png]] will not only fill in the remaining network links, but also arrange all network links in the same direction and list them in the correct order in the window on the lower left-hand side.
  
'''Name:''' Define name of the level.
+
Occasionally 'routing' experiences difficulties when placing the remaining network links.  
  
'''Visible at scale from/to:''' Define the scale from where to where the individaul levels are visible.  
+
Roundabouts can pose a problem resluting in 'routing' placing network links everywhere on the roundabout or going off in a nonsensical direction. Roads with different hierarcical levels can also be source of mistakes.  
*It makes little sense showing all levels constantly since this slows down the program. It is therefore sensible to define different parameters depending on the road's importance.
 
*For Instance: Motorway from 0 to 500'000; Main roads from 0 to 100'000; Secondary roads from 0 to 50'000; Urban roads from 0 to 25'000
 
  
'''Transparency:''' Can be kept at 100.
+
'Routing' will sometimes move the links to a road of a higher level (should it intersects with one), despite the road starting and ending on a lower hierachical level.  
  
'''Filter:''' Set 'ROADTYPE =' and then select road level.
+
Finally, in the rare case that the underlying data is in some way corrupted or badly composed, 'routing' will generate a network-link road that follows a completely different route (usually a very long one).
  
'''Lines:''' Define color and pattern.
+
In these cases the easiest way is usually to lay the network links manually. When doing so, it is important to make sure that the sequence of the network links on the map corresponds with the sequence of the links in the list on the left-hand side.
 
 
==Configuration for Routing==
 
 
 
Menu → Tools → Options → Link Editor → Routing
 
 
 
[[File:Routing.png]]
 
 
 
 
 
Define a cost factor for the various road types. It depends on the structure of your network what makes most sense and gives the best results. As soon as you use the routing function you will see if the results make sense.
 
 
 
==Creating and clearing Cache Files==
 
 
 
Menu → Link Editor → Routing → Create Cache File
 
 
 
This function MUST be performed after the creation of a network database. Without this the performance of Routing will be very poor. Depending on the number of segments in your database this function will take several hours.
 
 
 
Menu → Link Editor → Routing → Clear Cache File
 
 
 
Use this function if you import new data into your network database. After this is done start 'Create Cache File'.
 
 
 
==Importing Network Links==
 
 
 
Menu → Link Editor → Import XML
 
 
 
[[file:Import XML.png]]
 
 
 
If you had already defined TMC Links in the TMC Editor that information must be transferres to TMC Studio with Export XML. This will create an XML File containing all the information.
 
 
 
'''Source File:''' Double click. Click on folder and select the file you want to export. The program will look for ZIP files by default, so change it to XML.
 
 
 
'''Clear Existing Links:''' Check this box if you want to delete links that have already been created in the database. If you don't check the box the link information in the database will be kept if it doen't already exist in the XML file. !!!
 
To be able to click the OK button you will be required to click the field, even if you don't check the box.
 
 
 
Depending on the number of TMC paths defined in the XML file this function can take several hours.
 
 
 
==Importing Network Links==
 
 
 
Menu → Link Editor → Reorganize → Update Geometry / Attributes of network links from Network Database
 
 
 
The program will go through the defined network segments in the TMC path and will search for these segments in the network database. If the segment is found, the program will store the geometry and direction of the segment. Segments that are not found will be shown in the TMC path in red. At the end of this process a summary will show the results of the update.
 
 
 
Now you will be able to start working with the Link Editor.
 

Latest revision as of 14:58, 20 May 2016

With the Link Editor access level you can create network links and have access to the Link Editor menu and all functions it contains.

The link editor builds up on the functions available in the editor.

Import from Exchange table

Concerning older TMC versions:Open Database

Start TMC StudioSetup & Data Requirements for First Time Use

Define network database for attributing map liks

To be able to link TMC Paths and Map, you will require the additional license for these functions. Once you have these licences go through the following steps:

Menu → Link Editor → Import Network Database form Shapefile

Configuration of the Link Editor

Amongst other things, this page is used to enable the link editor's buttons & functions.

Menu → Tools → Options → Link Editor

Using the Link Editor Menu

This menu is used in order to import, export and manage any information concerning the link editor.

MenuCategory Link Editor

Using the Link Editor Toolbar

Toolbar Link Editor

Now you will be able to start working with the Link Editor.

ToolbarLinkEditor.png

Start by clicking add network link . Now click on the road near the beginning of a TMC-link. This will create the first network link. Make sure that the arrows of the network link are facing in the right direction (usually this will be the same direction as the arrows of the TMC-link are pointing in).

Now do the same at the other end of the TMC-link. Now that there is a network link at the beginning and at the end of the TMC-link press routing. In most cases RoutingButton.png will not only fill in the remaining network links, but also arrange all network links in the same direction and list them in the correct order in the window on the lower left-hand side.

Occasionally 'routing' experiences difficulties when placing the remaining network links.

Roundabouts can pose a problem resluting in 'routing' placing network links everywhere on the roundabout or going off in a nonsensical direction. Roads with different hierarcical levels can also be source of mistakes.

'Routing' will sometimes move the links to a road of a higher level (should it intersects with one), despite the road starting and ending on a lower hierachical level.

Finally, in the rare case that the underlying data is in some way corrupted or badly composed, 'routing' will generate a network-link road that follows a completely different route (usually a very long one).

In these cases the easiest way is usually to lay the network links manually. When doing so, it is important to make sure that the sequence of the network links on the map corresponds with the sequence of the links in the list on the left-hand side.