Routing: Difference between revisions

From OCAD Wiki - English
Jump to navigation Jump to search
No edit summary
No edit summary
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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.
[[File:Pro40px.PNG|This function is available in OCAD Professional.|link=https://www.ocad.com/en/products/ocad-for-cartography]]
 
This command is only available if the map is georeferenced and a '''[[Create_a_New_Map#Set_Scale_and_Coordinate_System|Coordinate System]]''' is set.<br />
 
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.
 
<br />
<br />
Routing is only available when the map is geo-referenced.
=== Routing by Entering a Location ===
1. Select '''Routing''' in the '''Map''' menu to open the '''Routing''' dialog.<br />
2. Enter the name of the start and end location.<br />
[[File:Routing1.png|none|500px]]<br />
 
=== 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.<br />
1. Activate the '''Coordinate''' option in the '''Routing''' dialog.<br />
2. Click on the '''Get Coordinate from Drawing Area''' button [[File:routing8.png]], then click on the start location on your map. OCAD displays the coordinate in the '''Routing''' dialog. Optionally you can enter the coordinate manually.<br />
3. Do the same for the end location.<br />
[[File:Routing6.png|none|500px]]<br />
<br />
<br />
<br />
[[File:Hint.jpg|hint]] Please note that the function '''Get and import KML file''' does not work anymore.
1. Select Routing in Map Menu to open the Routing dialog.<br />
 
2. Enter the start and end location.<br />
=== Show Route in Google Maps ===
[[File:Routing1.png|center|thumb|600px|Routing dialog]]<br />
Click on the '''Open in Google Maps''' button to see the route on Google Maps. <br />
3. Click 'Get and import KML file'. <br />
[[File:Routing5.png|none|500px]]<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 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 />
=== Template File ===
[[File:Routing2.png|center|thumb|600px|Color table, routing colors on top]]<br />
The symbols and colors used for routing are saved in a template file (usually ''C:\Program Files\OCAD\OCAD 20xx\Templates\Template Routing.ocd'') and can be edited there, too. <br />
:The required symbols for routing appear at the bottom of the symbol box.<br />
[[File:Routing9.png|400px]] <br />
[[File:Routing3.png|center|thumb|200px|Symbol box, Routing symbols are located at the bottom]]<br />
:Finally, the route on your OCAD Map looks as follows.<br />
[[File:Routing4.png|center|thumb|600px|Routing: The final product]]<br />
<br />
Instead of enter the name of the start and end point you can also simply click on these locations on the map.<br />
1. Activate the 'Coordinate' option in the Routing dialog.<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 also type in the coordinates manually.<br />

Latest revision as of 10:37, 31 January 2019

This function is available in OCAD Professional.

This command is only available if the map is georeferenced and a Coordinate System is set.

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 by Entering a Location

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

Routing1.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 enter the coordinate manually.
3. Do the same for the end location.

Routing6.png



hint Please note that the function Get and import KML file does not work anymore.

Show Route in Google Maps

Click on the Open in Google Maps button 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 20xx\Templates\Template Routing.ocd) and can be edited there, too.
Routing9.png