Routing: Difference between revisions

From OCAD 12 Wiki - English
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
1. Select Routing in Map Menu to open the Routing dialog.<br />
1. Select Routing in Map Menu to open the Routing dialog.<br />
2. Enter the start and end location.<br />
2. Enter the start and end location.<br />
[[File:Routing1.png|center|thumb|600px|Routing dialog]]<br />
[[File:Routing1.png|none|500px]]<br />
3. Click 'Get and import KML file'. <br />
3. Click 'Get and import KML file'. <br />
: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 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.<br />
: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.<br />
[[File:Routing2.png|center|thumb|600px|Color table, routing colors on top]]<br />
[[File:Routing2.png|none|500px]]<br />
:The required symbols for routing appear at the bottom of the symbol box.<br />
:The required symbols for routing appear at the bottom of the symbol box.<br />
[[File:Routing3.png|center|thumb|200px|Symbol box, Routing symbols are located at the bottom]]<br />
[[File:Routing3.png|none|200px]]<br />
:Finally, the route on your OCAD Map looks as follows.<br />
:Finally, the route on your OCAD Map looks as follows.<br />
[[File:Routing4.png|center|thumb|600px|Routing: The final product]]<br />
[[File:Routing4.png|none|500px]]<br />
<br />
<br />
=== Routing by entering coordinates ===
=== Routing by entering coordinates ===
Line 21: Line 21:
2. Click on this button [[File:routing8.png]], then click on the start location on your map. OCAD displays the coordinates in the routing dialog. Optionally you can type in the coordinates manually.<br />
2. Click on this button [[File:routing8.png]], then click on the start location on your map. OCAD displays the coordinates in the routing dialog. Optionally you can type in the coordinates manually.<br />
3. Do the same for the end location.<br />
3. Do the same for the end location.<br />
[[File:Routing6.png|center|thumb|600px|Routing dialog]]<br />
[[File:Routing6.png|none|500px]]<br />
4. Click 'Get and import KML file' to display the route on your map. <br />
4. Click 'Get and import KML file' to display the route on your map. <br />
[[File:Routing7.png|center|thumb|600px]]<br />
[[File:Routing7.png|none|500px]]<br />
<br />
<br />
=== Show route in Google Maps ===
=== Show route in Google Maps ===
Click on 'Open in Google Maps' in the Routing dialog to see the route on Google Maps. <br />
Click on 'Open in Google Maps' in the Routing dialog to see the route on Google Maps. <br />
[[File:Routing5.png|center|thumb|600px|Your route on Google Maps]]<br />
[[File:Routing5.png|none|500px]]<br />
=== Template File ===
=== 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)
The Symbols and colors used for routing are saved in a template file (Usually C:\Program Files\OCAD\OCAD 11\Templates\Template Routing.ocd)

Revision as of 08:05, 18 April 2012

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

Routing by entering a location

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

Routing1.png


3. Click 'Get and import KML file'.

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 this button Routing8.png, then click on the start location on your map. OCAD displays the coordinates in the routing dialog. Optionally you can type in the coordinates manually.
3. Do the same for the end location.

Routing6.png


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

Routing7.png



Show route in Google Maps

Click on 'Open in Google Maps' 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)