Routing

From OCAD 12 Wiki - English
Revision as of 08:26, 18 April 2012 by GRS (talk | contribs)

Jump to: navigation, search

This command can be used to find the fastest way by car between two arbitrary points by downloading and importing the vector data from Google Maps.
Routing is only available when the map is geo-referenced and the coordinate system is set.

Routing by entering a location

1. Select Routing in the Map menu to open the Routing dialog.
2. Enter the start and end location.

Routing1.png

3. Click the Get and import KML file button.

OCAD sends a request to Google Maps API and downloads the generated KML file. This file is temporary saved in the OCAD temporary folder (e.g. C:\Users\Username\AppData\Roaming\OCAD\OCAD11\Tmp\).
OCAD imports the kml file and adds the colors and symbols from the template file. Colors needed for routing are at the top of the color table.
Routing2.png

The required symbols for routing appear at the bottom of the symbol box.
Routing3.png

Finally, the route on your OCAD Map looks as follows.
Routing4.png


Routing by entering coordinates

Instead of entering the name of the start and end point you can also simply click on these locations on the map.
1. Activate the Coordinate option in the Routing dialog.
2. Click on the Get Coordinate from Drawing Area button Routing8.png, then click on the start location on your map. OCAD displays the coordinate in the Routing dialog. Optionally you can type in the coordinate manually.
3. Do the same for the end location.

Routing6.png

4. Click the Get and import KML file button to display the route on your map.

Routing7.png


Show route in Google Maps

Click on the Open in Google Maps button in the Routing dialog to see the route on Google Maps.

Routing5.png

Template File

The Symbols and colors used for routing are saved in a template file (Usually C:\Program Files\OCAD\OCAD 11\Templates\Template Routing.ocd) and can be edited there, too.