<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ocad.com/wiki/ocad/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MergeUser</id>
	<title>OCAD Wiki - English - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.ocad.com/wiki/ocad/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MergeUser"/>
	<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Special:Contributions/MergeUser"/>
	<updated>2026-09-23T03:02:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13657</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13657"/>
		<updated>2023-01-30T06:52:17Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Pishing Message Warning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge.&lt;br /&gt;
&lt;br /&gt;
Please visit also &#039;&#039;&#039;https://www.ocad.com/app&#039;&#039;&#039; for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
[[File:WPSliderSketchApp04.png]]  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The OCAD Sketch App is available in the Apple App Store (iOS) and Google Play Store (Android). Search for &#039;&#039;OCAD Sketch&#039;&#039;,&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://apps.apple.com/ch/app/ocad-sketch/id1570317033&lt;br /&gt;
&lt;br /&gt;
:[[File:QRCode iOS.PNG|150px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:QRCode Android.PNG|150px]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Achtung.PNG|20px]]When scanning this QR code with your mobile device, please tap only on the option to open the above iOS or Android link.&lt;br /&gt;
: &#039;&#039;&#039;Never tap on any install buttons within the QR app (this can install advertising or phishing app&#039;s)!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg]]The OCAD Sketch App is also available in [https://appgallery.huawei.com/app/C107018265 Huawai&#039;s AppGallery]. However, the App has not been tested, nor will it be supported on Huawei devices.&lt;br /&gt;
&lt;br /&gt;
==Updating the App==&lt;br /&gt;
New versions of the app will typically be released first as beta updates for our testers.&lt;br /&gt;
To become an OCAD Sketch App tester, please use the links below:&lt;br /&gt;
&lt;br /&gt;
*Google Play (Android): [https://play.google.com/apps/testing/com.ocad.mobile https://play.google.com/apps/testing/com.ocad.mobile]&lt;br /&gt;
*TestFlight (iOS): [https://testflight.apple.com/join/qO2zr90M https://testflight.apple.com/join/qO2zr90M]&lt;br /&gt;
&lt;br /&gt;
When the beta test phase is over, there will be an official update available in the app stores for all users of the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Go to Google Play Store (Android) or Apple App Store (iOS).&lt;br /&gt;
*Search for &#039;&#039;OCAD Sketch&#039;&#039;.&lt;br /&gt;
*&#039;&#039;Update&#039;&#039; the OCAD Sketch App.&lt;br /&gt;
&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD_Sketch_App#Updates|Updates]]&#039;&#039;&#039; section for recent changes.&lt;br /&gt;
&lt;br /&gt;
==Next steps after the installtion==&lt;br /&gt;
&lt;br /&gt;
*Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD_Sketch_App_Data_Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device. &lt;br /&gt;
*Request a link or a QR code for a project from another person, e.g. a club member.&lt;br /&gt;
*You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
*Recommendations for [https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data#Recommendations suitable mobile devices].&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] A QR code will be shown if you select a project that was already uploaded to OCAD Cloud Transfer.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code and a link to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code and link is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
Alternatively, open the link &#039;&#039;(e.g. &amp;lt;nowiki&amp;gt;https://mobile.ocad.com/project/af1bc2df-2abc-42a7-a190-0eeb97fb1e95&amp;lt;/nowiki&amp;gt;)&#039;&#039; directly on your mobile device or open a project by [[OCAD_Sketch_App#Open_a_project|clicking on the &#039;+&#039; sign]]  and entering the project ID (e.g. af1bc2df-2abc-42a7-a190-0eeb97fb1e95).&lt;br /&gt;
&lt;br /&gt;
You can also copy the QR code or the link to the clipboard and may send it to someone else by email, SMS, WhatsApp, ect. &lt;br /&gt;
&lt;br /&gt;
The QR code will alo be displayed in the [[OCAD_Sketch_App#Manage_Transfer_Projects|Manage Transfer Projects]] section, if you select the newly uploaded project there.&lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service app like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
# On your mobile device copy the files from the data exchange service app to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] This option can only be used on Android devices.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] May a notification appears on your Android device where you need to allow file transfer via USB.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated). You find the files in the OCAD Sketch App files folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039;. You can also import the &#039;&#039;&#039;map.ocd&#039;&#039;&#039; file (the field work sketch is saved here) into another mapping project using the &#039;&#039;&#039;[[Sketch#Sketch_Menu|Sketch &amp;gt;Import]]&#039;&#039;&#039; tool, e.g. to import sketches also into a larger overview map. The coordinate system and map extent need to be the same in such a case.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project==&lt;br /&gt;
Tap on a project item to open it. &lt;br /&gt;
&lt;br /&gt;
If there is no project yet, then you must first load one or multiple map project onto the app.&lt;br /&gt;
 &lt;br /&gt;
*Read in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how you can transfer a project from OCAD Desktop to your mobile device.&lt;br /&gt;
&lt;br /&gt;
*If you have no own project, you can also request a link or a QR code for a project from another person, e.g. club member or download our &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers.&lt;br /&gt;
&lt;br /&gt;
Also, you can enable debug logs, which we may need to reproduce errors.&lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
: [[File:Hint.jpg]] Check the geo-referencing of your OCAD file if this message appears: &amp;quot;Your position is currently outside of the map area...&amp;quot; but the GPS position is correctly shown in other apps like Google Maps. Use &#039;&#039;&#039;Backgroud Map&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;[[Online_Map_Services|Online Map Services...]]&#039;&#039;&#039;: The geo-referencing is wrong if the map viewer shows a place on earth that is different to your map&#039;s location.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Only show today&#039;s tail&#039;&#039;&#039;: Show only tail from points from today.&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;&#039;Straighten lines&#039;&#039;&#039;: If you stop drawing for 1 second and still press the on the display, the previous line segment(s) will be straightened. This option can be activated always, never or only for scales 0 - 1:5000 (sprint maps).&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Start sketching.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]]Note:&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Phishing Message Warning=&lt;br /&gt;
* One user reported that after installing OCAD Sketch he got a message with subject &#039;&#039;ocad-sketch_MediaNess&#039;&#039;. &#039;&#039;&#039;This is a phishing message which has nothing to do with OCAD Sketch App&#039;&#039;&#039;. Please delete this message any even more important: Do not click on any links within the message!&lt;br /&gt;
&lt;br /&gt;
=Updates=&lt;br /&gt;
;Version 1.3&lt;br /&gt;
: - Additional colors for sketching&lt;br /&gt;
: - Improved position display of the internal GPS on Android devices&lt;br /&gt;
&lt;br /&gt;
;Version 1.2&lt;br /&gt;
: - Solved issues with panning the map &lt;br /&gt;
: - Solved issues with coordinate transformations&lt;br /&gt;
&lt;br /&gt;
;Version 1.1&lt;br /&gt;
: - Added option to straighten lines with a long press&lt;br /&gt;
: - Added option to download projects, if link or QR code is not working&lt;br /&gt;
: - Optimized performance of position tail&lt;br /&gt;
: - Optimized drawing with an active pencil&lt;br /&gt;
: - Optimized map navigation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[OCAD_Sketch_App#Updating_the_App|How to update the App]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Last but not least=&lt;br /&gt;
Credit goes to Yannis Güdel who helped us to develop the OCAD Sketch App and supported us with his ideas and knowledge.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13656</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13656"/>
		<updated>2023-01-30T06:51:54Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Installation of the OCAD Sketch App */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge.&lt;br /&gt;
&lt;br /&gt;
Please visit also &#039;&#039;&#039;https://www.ocad.com/app&#039;&#039;&#039; for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
[[File:WPSliderSketchApp04.png]]  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The OCAD Sketch App is available in the Apple App Store (iOS) and Google Play Store (Android). Search for &#039;&#039;OCAD Sketch&#039;&#039;,&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://apps.apple.com/ch/app/ocad-sketch/id1570317033&lt;br /&gt;
&lt;br /&gt;
:[[File:QRCode iOS.PNG|150px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:QRCode Android.PNG|150px]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Achtung.PNG|20px]]When scanning this QR code with your mobile device, please tap only on the option to open the above iOS or Android link.&lt;br /&gt;
: &#039;&#039;&#039;Never tap on any install buttons within the QR app (this can install advertising or phishing app&#039;s)!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg]]The OCAD Sketch App is also available in [https://appgallery.huawei.com/app/C107018265 Huawai&#039;s AppGallery]. However, the App has not been tested, nor will it be supported on Huawei devices.&lt;br /&gt;
&lt;br /&gt;
==Updating the App==&lt;br /&gt;
New versions of the app will typically be released first as beta updates for our testers.&lt;br /&gt;
To become an OCAD Sketch App tester, please use the links below:&lt;br /&gt;
&lt;br /&gt;
*Google Play (Android): [https://play.google.com/apps/testing/com.ocad.mobile https://play.google.com/apps/testing/com.ocad.mobile]&lt;br /&gt;
*TestFlight (iOS): [https://testflight.apple.com/join/qO2zr90M https://testflight.apple.com/join/qO2zr90M]&lt;br /&gt;
&lt;br /&gt;
When the beta test phase is over, there will be an official update available in the app stores for all users of the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Go to Google Play Store (Android) or Apple App Store (iOS).&lt;br /&gt;
*Search for &#039;&#039;OCAD Sketch&#039;&#039;.&lt;br /&gt;
*&#039;&#039;Update&#039;&#039; the OCAD Sketch App.&lt;br /&gt;
&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD_Sketch_App#Updates|Updates]]&#039;&#039;&#039; section for recent changes.&lt;br /&gt;
&lt;br /&gt;
==Next steps after the installtion==&lt;br /&gt;
&lt;br /&gt;
*Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD_Sketch_App_Data_Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device. &lt;br /&gt;
*Request a link or a QR code for a project from another person, e.g. a club member.&lt;br /&gt;
*You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
*Recommendations for [https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data#Recommendations suitable mobile devices].&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] A QR code will be shown if you select a project that was already uploaded to OCAD Cloud Transfer.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code and a link to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code and link is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
Alternatively, open the link &#039;&#039;(e.g. &amp;lt;nowiki&amp;gt;https://mobile.ocad.com/project/af1bc2df-2abc-42a7-a190-0eeb97fb1e95&amp;lt;/nowiki&amp;gt;)&#039;&#039; directly on your mobile device or open a project by [[OCAD_Sketch_App#Open_a_project|clicking on the &#039;+&#039; sign]]  and entering the project ID (e.g. af1bc2df-2abc-42a7-a190-0eeb97fb1e95).&lt;br /&gt;
&lt;br /&gt;
You can also copy the QR code or the link to the clipboard and may send it to someone else by email, SMS, WhatsApp, ect. &lt;br /&gt;
&lt;br /&gt;
The QR code will alo be displayed in the [[OCAD_Sketch_App#Manage_Transfer_Projects|Manage Transfer Projects]] section, if you select the newly uploaded project there.&lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service app like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
# On your mobile device copy the files from the data exchange service app to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] This option can only be used on Android devices.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] May a notification appears on your Android device where you need to allow file transfer via USB.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated). You find the files in the OCAD Sketch App files folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039;. You can also import the &#039;&#039;&#039;map.ocd&#039;&#039;&#039; file (the field work sketch is saved here) into another mapping project using the &#039;&#039;&#039;[[Sketch#Sketch_Menu|Sketch &amp;gt;Import]]&#039;&#039;&#039; tool, e.g. to import sketches also into a larger overview map. The coordinate system and map extent need to be the same in such a case.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project==&lt;br /&gt;
Tap on a project item to open it. &lt;br /&gt;
&lt;br /&gt;
If there is no project yet, then you must first load one or multiple map project onto the app.&lt;br /&gt;
 &lt;br /&gt;
*Read in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how you can transfer a project from OCAD Desktop to your mobile device.&lt;br /&gt;
&lt;br /&gt;
*If you have no own project, you can also request a link or a QR code for a project from another person, e.g. club member or download our &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers.&lt;br /&gt;
&lt;br /&gt;
Also, you can enable debug logs, which we may need to reproduce errors.&lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
: [[File:Hint.jpg]] Check the geo-referencing of your OCAD file if this message appears: &amp;quot;Your position is currently outside of the map area...&amp;quot; but the GPS position is correctly shown in other apps like Google Maps. Use &#039;&#039;&#039;Backgroud Map&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;[[Online_Map_Services|Online Map Services...]]&#039;&#039;&#039;: The geo-referencing is wrong if the map viewer shows a place on earth that is different to your map&#039;s location.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Only show today&#039;s tail&#039;&#039;&#039;: Show only tail from points from today.&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
*&#039;&#039;&#039;Straighten lines&#039;&#039;&#039;: If you stop drawing for 1 second and still press the on the display, the previous line segment(s) will be straightened. This option can be activated always, never or only for scales 0 - 1:5000 (sprint maps).&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Start sketching.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]]Note:&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Pishing Message Warning=&lt;br /&gt;
* One user reported that after installing OCAD Sketch he got a message with subject &#039;&#039;ocad-sketch_MediaNess&#039;&#039;. &#039;&#039;&#039;This is a pishing message which has nothing to do with OCAD Sketch App&#039;&#039;&#039;. Please delete this message any even more important: Do not click on any links within the message!&lt;br /&gt;
&lt;br /&gt;
=Updates=&lt;br /&gt;
;Version 1.3&lt;br /&gt;
: - Additional colors for sketching&lt;br /&gt;
: - Improved position display of the internal GPS on Android devices&lt;br /&gt;
&lt;br /&gt;
;Version 1.2&lt;br /&gt;
: - Solved issues with panning the map &lt;br /&gt;
: - Solved issues with coordinate transformations&lt;br /&gt;
&lt;br /&gt;
;Version 1.1&lt;br /&gt;
: - Added option to straighten lines with a long press&lt;br /&gt;
: - Added option to download projects, if link or QR code is not working&lt;br /&gt;
: - Optimized performance of position tail&lt;br /&gt;
: - Optimized drawing with an active pencil&lt;br /&gt;
: - Optimized map navigation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[OCAD_Sketch_App#Updating_the_App|How to update the App]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Last but not least=&lt;br /&gt;
Credit goes to Yannis Güdel who helped us to develop the OCAD Sketch App and supported us with his ideas and knowledge.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13424</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13424"/>
		<updated>2022-06-08T09:22:06Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hint.jpg]] OCAD Sketch App - &#039;&#039;&#039;Beta Release&#039;&#039;&#039;. We have tested the OCAD Sketch App intensively and successfully on various devices over the last few weeks. However, errors may still occur. Therefore, we recommend to create regular backups. If you have any feedback, please use the &#039;&#039;Share Feedback&#039;&#039; tool in the &#039;&#039;&#039;[[OCAD Sketch App#General Settings|General Settings]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge. &lt;br /&gt;
&lt;br /&gt;
[[File:WPSliderSketchApp04.png]]  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The beta version of the OCAD Sketch App is not yet available in the Apple App Store and Google Play.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to use the following links to download the OCAD Sketch App beta version to your mobile device.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://testflight.apple.com/join/qO2zr90M&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-Testflight-OCAD Sketch iOS.png]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-GooglePlayStore-OCAD Sketch Android.png]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg]]The App is only available for download in Google Play when logged in with the Google account. There is no access when logged in with Google Classroom account. &lt;br /&gt;
&lt;br /&gt;
:[[File:Achtung.PNG]]&lt;br /&gt;
: When scanning this QR code with your mobile device, please tap only on the option to open the above iOS or Android link.&lt;br /&gt;
: &#039;&#039;&#039;Never tap on any install buttons within the QR app (this can install advertising or pishing app&#039;s)!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After the official release, the app can be downloaded and used for free in the Apple App Store (iOS), or Google Play (Android).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What&#039;s next after the installtion of the OCAD Sketch App?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD_Sketch_App_Data_Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device. &lt;br /&gt;
*You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] A QR code will be shown if you select a project that was already uploaded to OCAD Cloud Transfer.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image directly with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
As an alternative you can Copy the QR code to the clipboard and may send it to someone by email. &lt;br /&gt;
&lt;br /&gt;
The QR code will alo be displayed in the [[OCAD_Sketch_App#Manage_Transfer_Projects|Manage Transfer Projects]] section, if you select the newly uploaded project there.&lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service app like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
# On your mobile device copy the files from the data exchange service app to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] This option can only be used on Android devices.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] May a notification appears on your Android device where you need to allow file transfer via USB.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated). You find the files in the OCAD Sketch App files folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project== &lt;br /&gt;
You can load multiple projects on one device. Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device.&lt;br /&gt;
&lt;br /&gt;
You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Tap on a project item to open it.  &lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers. &lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Pishing Message Warning=&lt;br /&gt;
* One user reported that after installing OCAD Sketch he got a message with subject &#039;&#039;ocad-sketch_MediaNess&#039;&#039;. &#039;&#039;&#039;This is a pishing message which has nothing to do with OCAD Sketch App&#039;&#039;&#039;. Please delete this message any even more important: Do not click on any links within the message!&lt;br /&gt;
&lt;br /&gt;
=Last but not least=&lt;br /&gt;
Credit goes to Yannis Güdel who helped us to develop the OCAD Sketch App and supported us with his ideas and knowledge.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13423</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13423"/>
		<updated>2022-06-08T09:21:38Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hint.jpg]] OCAD Sketch App - &#039;&#039;&#039;Beta Release&#039;&#039;&#039;. We have tested the OCAD Sketch App intensively and successfully on various devices over the last few weeks. However, errors may still occur. Therefore, we recommend to create regular backups. If you have any feedback, please use the &#039;&#039;Share Feedback&#039;&#039; tool in the &#039;&#039;&#039;[[OCAD Sketch App#General Settings|General Settings]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Known bugs are listed here: &#039;&#039;&#039;[[OCAD Sketch App#Known Bugs|Known Bugs]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge. &lt;br /&gt;
&lt;br /&gt;
[[File:WPSliderSketchApp04.png]]  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The beta version of the OCAD Sketch App is not yet available in the Apple App Store and Google Play.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to use the following links to download the OCAD Sketch App beta version to your mobile device.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://testflight.apple.com/join/qO2zr90M&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-Testflight-OCAD Sketch iOS.png]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-GooglePlayStore-OCAD Sketch Android.png]]&lt;br /&gt;
&lt;br /&gt;
:[[File:Hint.jpg]]The App is only available for download in Google Play when logged in with the Google account. There is no access when logged in with Google Classroom account. &lt;br /&gt;
&lt;br /&gt;
:[[File:Achtung.PNG]]&lt;br /&gt;
: When scanning this QR code with your mobile device, please tap only on the option to open the above iOS or Android link.&lt;br /&gt;
: &#039;&#039;&#039;Never tap on any install buttons within the QR app (this can install advertising or pishing app&#039;s)!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After the official release, the app can be downloaded and used for free in the Apple App Store (iOS), or Google Play (Android).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What&#039;s next after the installtion of the OCAD Sketch App?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD_Sketch_App_Data_Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device. &lt;br /&gt;
*You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] A QR code will be shown if you select a project that was already uploaded to OCAD Cloud Transfer.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image directly with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
As an alternative you can Copy the QR code to the clipboard and may send it to someone by email. &lt;br /&gt;
&lt;br /&gt;
The QR code will alo be displayed in the [[OCAD_Sketch_App#Manage_Transfer_Projects|Manage Transfer Projects]] section, if you select the newly uploaded project there.&lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service app like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
# On your mobile device copy the files from the data exchange service app to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] This option can only be used on Android devices.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] May a notification appears on your Android device where you need to allow file transfer via USB.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated). You find the files in the OCAD Sketch App files folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project== &lt;br /&gt;
You can load multiple projects on one device. Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device.&lt;br /&gt;
&lt;br /&gt;
You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Tap on a project item to open it.  &lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers. &lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Pishing Message Warning=&lt;br /&gt;
* One user reported that after installing OCAD Sketch he got a message with subject &#039;&#039;ocad-sketch_MediaNess&#039;&#039;. &#039;&#039;&#039;This is a pishing message which has nothing to do with OCAD Sketch App&#039;&#039;&#039;. Please delete this message any even more important: Do not click on any links within the message!&lt;br /&gt;
&lt;br /&gt;
=Last but not least=&lt;br /&gt;
Credit goes to Yannis Güdel who helped us to develop the OCAD Sketch App and supported us with his ideas and knowledge.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13310</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13310"/>
		<updated>2022-03-17T07:54:17Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hint.jpg]] OCAD Sketch App - &#039;&#039;&#039;Beta Release&#039;&#039;&#039;. We have tested the OCAD Sketch App intensively and successfully on various devices over the last few weeks. However, errors may still occur. Therefore, we recommend to create regular backups. If you have any feedback, please use the &#039;&#039;Share Feedback&#039;&#039; tool in the &#039;&#039;&#039;[[OCAD Sketch App#General Settings|General Settings]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Known bugs are listed here: &#039;&#039;&#039;[[OCAD Sketch App#Known Bugs|Known Bugs]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge. &lt;br /&gt;
  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The beta version of the OCAD Sketch App is not yet available in the Apple App Store and Google Play.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to use the following links to download the OCAD Sketch App beta version to your mobile device.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://testflight.apple.com/join/qO2zr90M&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-Testflight-OCAD Sketch iOS.png]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-GooglePlayStore-OCAD Sketch Android.png]]&lt;br /&gt;
&lt;br /&gt;
After the official release, the app can be downloaded and used for free in the Apple App Store (iOS), or Google Play (Android).&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image directly with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
As an alternative you can Copy the QR code to the clipboard and may send it to someone by email. &lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service app like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
# On your mobile device copy the files from the data exchange service app to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder (e.g. \Android\data\com.ocad.mobile\files or iOS: Files\On My iPad\OCAD Sketch)&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated)&#039;&#039;   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project== &lt;br /&gt;
You can load multiple projects on one device. Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device.&lt;br /&gt;
&lt;br /&gt;
You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Tap on a project item to open it.  &lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers. &lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Known Bugs=&lt;br /&gt;
* North lines are currently oriented to geographic north instead of magnetic north&lt;br /&gt;
* On Android devices the upload of OCAD-Files larger than 10MB to OCAD Cloud Transfer failes&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13309</id>
		<title>OCAD Sketch App</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Sketch_App&amp;diff=13309"/>
		<updated>2022-03-17T07:48:38Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hint.jpg]] OCAD Sketch App - &#039;&#039;&#039;Beta Release&#039;&#039;&#039;. We have tested the OCAD Sketch App intensively and successfully on various devices over the last few weeks. However, errors may still occur. Therefore, we recommend to create regular backups. If you have any feedback, please use the &#039;&#039;Share Feedback&#039;&#039; tool in the &#039;&#039;&#039;[[OCAD Sketch App#General Settings|General Settings]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Known bugs are listed here: &#039;&#039;&#039;[[OCAD Sketch App#Known Bugs|Known Bugs]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Introduction= &lt;br /&gt;
The OCAD Sketch App complements the desktop version of OCAD. It is designed for mapping in the field – both for new mapping as well as revisions, feedback from course planners or map reviewers. Drawing pen, different colors and line widths and eraser enable fast and ergonomic sketching. GPS routes can be tracked and the compass can be used to adjust the map orientation. Map projects are transferred from desktop version of OCAD to the OCAD Sketch App and synchronized back after mapping. The download and use of the app is free of charge. &lt;br /&gt;
  &lt;br /&gt;
==Installation of the OCAD Sketch App== &lt;br /&gt;
The beta version of the OCAD Sketch App is not yet available in the Apple App Store and Google Play.&amp;lt;br&amp;gt;&lt;br /&gt;
You need to use the following links to download the OCAD Sketch App beta version to your mobile device.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the link on your mobile device or scan the QR code.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;iOS&#039;&#039;&#039;: https://testflight.apple.com/join/qO2zr90M&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-Testflight-OCAD Sketch iOS.png]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Android&#039;&#039;&#039;: https://play.google.com/store/apps/details?id=com.ocad.mobile&lt;br /&gt;
&lt;br /&gt;
:[[File:Qr-GooglePlayStore-OCAD Sketch Android.png]]&lt;br /&gt;
&lt;br /&gt;
After the official release, the app can be downloaded and used for free in the Apple App Store (iOS), or Google Play (Android).&lt;br /&gt;
&lt;br /&gt;
==Further Information== &lt;br /&gt;
*Detailed explanation video on YouTube in English: https://youtu.be/QcKxjnAuuVY&lt;br /&gt;
*Detailliertes Erklärungsvideo auf YouTube auf Deutsch: https://youtu.be/GhvJRy5IJig&lt;br /&gt;
*Please visit [https://www.ocad.com/app https://www.ocad.com/app] for Frequently Asked Questions (FAQ) and further information about the App.&lt;br /&gt;
&lt;br /&gt;
=OCAD Sketch App Data Exchange= &lt;br /&gt;
Use the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool in OCAD Desktop to export data to or import data from the OCAD Sketch App.&amp;lt;br&amp;gt;&lt;br /&gt;
A file must be open for the function to be selected.&lt;br /&gt;
&lt;br /&gt;
==Export data to App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Exchange&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ManageTransferProjects.png|750px]]&lt;br /&gt;
 &lt;br /&gt;
====Select Transfer project==== &lt;br /&gt;
*&#039;&#039;&#039;Create&#039;&#039;&#039; a new transfer project. Enter a project name. The project name will be displayed in the OCAD Sketch App. &lt;br /&gt;
*&#039;&#039;&#039;Rename&#039;&#039;&#039; an existing transfer project. &lt;br /&gt;
*&#039;&#039;&#039;Delete&#039;&#039;&#039; an existing transfer project.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|20px]] &#039;&#039;&#039;Deleting a project in the desktop version of OCAD means that sketches for this project no longer can be imported via OCAD Cloud Transfer, even when recreating a project with the same name!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Transfer direction==== &lt;br /&gt;
Select a transfer project in the list above and choose the transfer direction. If you select a transfer project for which data has already been uploaded, its data will be overwritten.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Export data to App&#039;&#039;&#039;: Use this option if you like to export your map and background maps to the app for field work. This option is described below.&amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Import data from App&#039;&#039;&#039;: Use this option if you like to import sketches from field work into OCAD Desktop, e.g. for final drawing. Read more about this step in the &#039;&#039;&#039;[[OCAD_Sketch_App#Import_data_from_App|Import data from App]]&#039;&#039;&#039; Section. &lt;br /&gt;
 &lt;br /&gt;
===Arrange Export=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_ArrangeExport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Extent==== &lt;br /&gt;
* &#039;&#039;&#039;Entire map&#039;&#039;&#039;: Includes the extent of the entire map and all its background maps. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Part of map&#039;&#039;&#039;: Choose a predefined extent or define a new one. You can define a new extent by clicking on &#039;&#039;&#039;Define&#039;&#039;&#039; or open the &#039;&#039;&#039;[[Export_Files#Setup_Part_of_Map|Setup Part of Map]]&#039;&#039;&#039; dialog and save an extent there. &lt;br /&gt;
 &lt;br /&gt;
====Background Maps==== &lt;br /&gt;
* Choose the background maps that shall be exported to the OCAD Sketch App. Use &#039;&#039;SHIFT&#039;&#039; key to select multiple files. Use &#039;&#039;CTRL&#039;&#039; key to unselect a selected file. &lt;br /&gt;
 &lt;br /&gt;
====Resolution==== &lt;br /&gt;
* Select a map resolution. This is used for the ocd map file which is displayed as a PNG image in the Sketch App. &amp;lt;br&amp;gt;&lt;br /&gt;
: Default settings:   map scale &amp;gt; 1:5000  with 762 dpi (1 px = 0.033 mm)   |   map scale &amp;lt;= 1:5000 with 1270 dpi (1 px = 0.020 mm)&lt;br /&gt;
[[File:Hint.jpg]] The resolution should be better than your thinnest lines or smallest gaps. Otherwise they may cannot be well recognized in the PNG.&lt;br /&gt;
&lt;br /&gt;
====Execute data processing==== &lt;br /&gt;
* Click &#039;&#039;&#039;Execute data processing&#039;&#039;&#039; button to prepare the data for export. &lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]]Note: This step can take several minutes if you have chosen a large extent or large background maps.&lt;br /&gt;
&lt;br /&gt;
===Transfer and Share=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====OCAD Cloud Transfer==== &lt;br /&gt;
&#039;&#039;The project is uploaded to the OCAD Cloud Transfer which creates a QR code to download the project to your mobile device.&#039;&#039; &lt;br /&gt;
  &lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Upload to OCAD Cloud Transfer&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green hint&amp;lt;/span&amp;gt;&#039;&#039;&#039; shows you if the upload was successful and the QR code is shown in the &#039;&#039;&#039;Share&#039;&#039;&#039; section. &lt;br /&gt;
&lt;br /&gt;
Scan the image directly with your mobile device (Photo or QR Scan App) and confirm to open the link. The project will be loaded automatically into the OCAD Sketch App. &lt;br /&gt;
&lt;br /&gt;
As an alternative you can Copy the QR code to the clipboard and may send it to someone by email. &lt;br /&gt;
&lt;br /&gt;
[[File:Achtung.PNG|20px]] The files will be removed from the OCAD Cloud Transfer after 7 days. Once you downloaded the data to your mobile device, the data will remain there even if the project is removed from the OCAD Cloud Transfer. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog. &lt;br /&gt;
&lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferAndShare_CloudUploaded.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Data exchange folder==== &lt;br /&gt;
&#039;&#039;This option is probably smooth if you use a data exchange service App like DropBox, iCloud or OneDrive on your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
# Choose this option and choose or create a &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; on the DropBox etc. (e.g. &#039;&#039;C:\Users\Username\Dropbox\OcadSketchAppExchange&#039;&#039;). &lt;br /&gt;
# Click &#039;&#039;&#039;Copy to data exchange folder&#039;&#039;&#039; to copy the files to the destination folder.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] In fact the files are copied to a subfolder &#039;&#039;_DesktopToApp\[ProjectName]&#039;&#039; of your chosen root folder.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] OCAD remembers the &#039;&#039;Sketch App Data Exchange root folder&#039;&#039; and it will be set by default for upcoming transfer projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
====USB cable==== &lt;br /&gt;
&#039;&#039;Copy the project folder manually to your mobile device.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Choose this option and click &#039;&#039;&#039;Open folder&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Windows Explorer&#039;&#039;&#039; opens at the folder which contains the project folder.  &lt;br /&gt;
&lt;br /&gt;
Now copy the entire project folder to the OCAD Sketch App &#039;&#039;&#039;files&#039;&#039;&#039; folder on your mobile device (e.g. \Android\data\com.ocad.mobile\files). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
==Import Data from App== &lt;br /&gt;
Open the &#039;&#039;&#039;OCAD Sketch App Data Transfer&#039;&#039;&#039; tool from the &#039;&#039;&#039;File&#039;&#039;&#039; menu. &lt;br /&gt;
&lt;br /&gt;
===Manage Transfer Projects=== &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select transfer project&#039;&#039;&#039;: as you like to import data from the OCAD Sketch App, you need to select the project that was used for the export. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Transfer direction&#039;&#039;&#039;: Choose &#039;&#039;&#039;Import data from App&#039;&#039;&#039; to import sketches from field work into OCAD Desktop, e.g. for final drawing.&lt;br /&gt;
&lt;br /&gt;
===Transfer Options=== &lt;br /&gt;
[[File:OCADSketchAppDataExchange_TransferOptions_Cloud.png|750px]]&lt;br /&gt;
&lt;br /&gt;
Choose one of the &#039;&#039;&#039;Data transfer options&#039;&#039;&#039;:&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;OCAD Cloud Transfer&#039;&#039;&#039;: Choose this option if the project was sent from OCAD Sketch App to OCAD Cloud Transfer after field work.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Data exchange folder&#039;&#039;&#039;: Copy the relevant files* on your mobile device to the data exchange folder e.g. &#039;&#039;Dropbox\OCAD Sketch App\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;USB cable&#039;&#039;&#039;: Copy the relevant files* from your mobile device to this folder in the OCAD AppData folder:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;C:\Users\[USERNAME]\AppData\Roaming\OCAD\OCAD 2018\Tmp\_OcadSketchAppDataTransfer\&#039;&#039;&#039;_AppToDesktop&#039;&#039;&#039;\[ProjectName]&#039;&#039;&lt;br /&gt;
   &lt;br /&gt;
: &#039;&#039;* Relevant files: &#039;&#039;&#039;map.ocd&#039;&#039;&#039; (the field work sketch is saved here) | &#039;&#039;&#039;position.db&#039;&#039;&#039; (GPS positions are logged here, if the option was activated)&#039;&#039;   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For all 3 options:&#039;&#039;&#039; Click the &#039;&#039;&#039;Get importable files&#039;&#039;&#039; button to get a list of all importable files. The wizard jumps to the next step.&lt;br /&gt;
&lt;br /&gt;
===Arrange Import=== &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchAppDataExchange ArrangeImport.png|750px]]&lt;br /&gt;
&lt;br /&gt;
====Choose files for import==== &lt;br /&gt;
Choose the files you want to import. Use &#039;&#039;Shift&#039;&#039; key to select multiple files.&lt;br /&gt;
* &#039;&#039;&#039;GPS log import settings&#039;&#039;&#039;: Optional: Assign a line symbol to the GPS log track.&lt;br /&gt;
[[File:Hint.jpg]] Sketches are imported to the &#039;&#039;&#039;[[Sketch#Sketch_Menu|OCAD Sketch layer]]&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] GPS positions log tracks are imported as unsymbolized or symbolized objects&lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Import data&#039;&#039;&#039; to import the file(s).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Close&#039;&#039;&#039; the dialog.&lt;br /&gt;
&lt;br /&gt;
=Usage= &lt;br /&gt;
&lt;br /&gt;
==Open a project== &lt;br /&gt;
You can load multiple projects on one device. Learn more in the &#039;&#039;&#039;[[OCAD_Sketch_App#OCAD Sketch App Data Exchange|OCAD Sketch App Data Exchange]]&#039;&#039;&#039; section how to transfer a project to your mobile device.&lt;br /&gt;
&lt;br /&gt;
You can also download the &#039;&#039;&#039;[[OCAD_Sketch_App#Demo_Project|Demo Project]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Tap on a project item to open it.  &lt;br /&gt;
&lt;br /&gt;
The first time you work with the app. you will be asked if OCAD Sketch App is allowed to retrieve the device location. Agree, if you want to work with internal GPS. &lt;br /&gt;
&lt;br /&gt;
If your device has no compass, you will get notified when starting a project. Features requiring compass won&#039;t work in this case. &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App GeneralSettings.jpg|border|400px]]&lt;br /&gt;
&lt;br /&gt;
===General Settings=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]]&lt;br /&gt;
 &lt;br /&gt;
Open the general settings to adjust your username, get help or share feedback with the developers. &lt;br /&gt;
&lt;br /&gt;
===Project Settings=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Restore backup&#039;&#039;&#039;: Option to restore a backup version of your project. Activate the &#039;&#039;&#039;Save backup versions&#039;&#039;&#039; checkbox in the &#039;&#039;&#039;[[OCAD_Sketch_App#Settings_.28GPS.2C_Compass.2C_North_lines....29|Project Settings]]&#039;&#039;&#039; tab. &lt;br /&gt;
*&#039;&#039;&#039;Send to OCAD Cloud Transfer&#039;&#039;&#039;: Upload your project to the OCAD Cloud Transfer, so you can import the project later on in OCAD Desktop.&lt;br /&gt;
*&#039;&#039;&#039;Delete from phone&#039;&#039;&#039;: Delete the project from your mobile device.&lt;br /&gt;
&lt;br /&gt;
==OCAD Sketch UI== &lt;br /&gt;
[[File:OCADSketchApp App GUI.jpg||border|400px]]&lt;br /&gt;
&lt;br /&gt;
===Finger gestures=== &lt;br /&gt;
&#039;&#039;&#039;2 Fingers&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 2 Finger gestures to Zoom, Pan and/or Rotate the map. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 Finger&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Use 1 Finger gestures with the tools from the bottom toolbar:&amp;lt;br&amp;gt;&lt;br /&gt;
* Pan / Draw Sketch / Erase Sketch &lt;br /&gt;
* Double tap with 1 Finger to zoom in (only if the Pan tool is active)&lt;br /&gt;
&lt;br /&gt;
===Undo Redo (Draw/Erase)=== &lt;br /&gt;
[[File:Sketchapp_revert.svg|30px]] &lt;br /&gt;
Undo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp redo.svg|30px]] &lt;br /&gt;
Redo the last draw/erase operation &lt;br /&gt;
&lt;br /&gt;
===Layers === &lt;br /&gt;
[[File:Sketchapp layers.svg|30px]]&lt;br /&gt;
Show/hide/dim layers (map and background map) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp check-square.svg|30px]] &lt;br /&gt;
You can make a background map visible or hide it by clicking the checkbox. &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp drag.svg|30px]] &lt;br /&gt;
Drag a background layer to a different position in the list (change order). &lt;br /&gt;
 &lt;br /&gt;
[[File:OCADSketchApp App Dim.jpg|90px]] &lt;br /&gt;
Dim a background map, i.e. make the background map appear brighter. Slider to the right means the background map is displayed in its original colors. Slider to the left means the background map appears completely white or transparent. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] The &#039;&#039;map.png&#039;&#039; is transparent by default.  &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg]] Whether the other background maps are transparent or not, depends on their &#039;&#039;&#039;[[Background_Map#Visibility_options|Transparent option]]&#039;&#039;&#039; in OCAD Desktop.&lt;br /&gt;
&lt;br /&gt;
===Settings (GPS, Compass, North lines...)=== &lt;br /&gt;
[[File:Sketchapp settings.svg|30px]] &lt;br /&gt;
 &lt;br /&gt;
*&#039;&#039;&#039;Show current position&#039;&#039;&#039;: Shows your current position based on your device GPS. Your project must me correctly georeferenced and you must be within the project extent to see your position.&lt;br /&gt;
*&#039;&#039;&#039;Show position precision&#039;&#039;&#039;: Shows the expected precision of your current position.  &lt;br /&gt;
*&#039;&#039;&#039;Log position to file&#039;&#039;&#039;: Logs your position to a gpx file, which can later be imported in OCAD Desktop. &lt;br /&gt;
*&#039;&#039;&#039;Show positions log tail&#039;&#039;&#039;: Shows the position log tail. Adjust the &#039;&#039;&#039;tail color&#039;&#039;&#039; and &#039;&#039;&#039;tail length&#039;&#039;&#039; if needed.&lt;br /&gt;
: [[File:Hint.jpg]] This option requires that &#039;&#039;&#039;Log position to file&#039;&#039;&#039; is turned on&lt;br /&gt;
*&#039;&#039;&#039;Show north lines&#039;&#039;&#039;: Show north lines on the map. Adjust the &#039;&#039;&#039;Distance between north lines&#039;&#039;&#039; if needed.&lt;br /&gt;
*&#039;&#039;&#039;Show compass&#039;&#039;&#039;: Shows compass. Only available if your device has a build-in compass. &lt;br /&gt;
*&#039;&#039;&#039;Save backup versions&#039;&#039;&#039;: Saves a backup of your project automatically according to the specified &#039;&#039;&#039;Backup interval&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg]] A backup can be restored when the project is closed &#039;&#039;&#039;[[OCAD_Sketch_App#Project_Settings|Restore a backup]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Project Management=== &lt;br /&gt;
[[File:Sketchapp menu.svg|30px]] &lt;br /&gt;
&#039;&#039;&#039;Close Project&#039;&#039;&#039; Closes your project. &lt;br /&gt;
&lt;br /&gt;
===Align North / Maximize=== &lt;br /&gt;
[[File:sketchapp_align_north.svg|30px]] &lt;br /&gt;
If map view is rotated -&amp;gt; Reset map view rotation (north lines parallel to device screen). &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp maximize.svg|30px]] &lt;br /&gt;
If map view is not rotated -&amp;gt; Show entire map. &lt;br /&gt;
&lt;br /&gt;
===Zoom=== &lt;br /&gt;
[[File:Sketchapp plus.svg|30px]] &lt;br /&gt;
Zoom in &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp minus.svg|30px]] &lt;br /&gt;
Zoom out &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Position=== &lt;br /&gt;
[[File:Sketchapp position.svg|30px]] &lt;br /&gt;
Single Tap: Center map to current position (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp position auto.svg|30px]] &lt;br /&gt;
Double Tap: Center map to position (permanently).&lt;br /&gt;
 &lt;br /&gt;
[[File:Hint.jpg]] &lt;br /&gt;
Center map works only if &#039;&#039;&#039;Show current position&#039;&#039;&#039; is turned on. &lt;br /&gt;
&lt;br /&gt;
===Compass=== &lt;br /&gt;
[[File:Sketchapp compass.svg|30px]] &lt;br /&gt;
Single Tap: Rotate map view to current magnetic north (1 x) &lt;br /&gt;
&lt;br /&gt;
[[File:Sketchapp compass auto.svg|30px]] &lt;br /&gt;
Double Tap: Rotate map view to magnetic north (permanently). &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] If your device has no compass, this tool will not be visible.  &lt;br /&gt;
&lt;br /&gt;
===Pan=== &lt;br /&gt;
[[File:Sketchapp move.svg|30px]] &lt;br /&gt;
Pan the map with a pen or 1 finger gestures. Double click to zoom in. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can also zoom in/ zoom out with 2 fingers gestures. &lt;br /&gt;
&lt;br /&gt;
===Draw Sketch=== &lt;br /&gt;
[[File:Sketchapp draw.svg|30px]] &lt;br /&gt;
&lt;br /&gt;
Click on the &#039;&#039;&#039;Draw Sketch&#039;&#039;&#039; button. Now you can start sketching with the specified line color/width.  &lt;br /&gt;
&lt;br /&gt;
You can either draw with your fingers or with a capacitive pen, which is beneficial for precise drawing (e.g. Samsung S Pen on Samsung Galaxy Note/Tab). In cold weather, a pen and gloves are suitable. &lt;br /&gt;
&lt;br /&gt;
All your drawing will be saved automatically. You do not have to save the file. Once you are done with sketching, just close the project. &lt;br /&gt;
&lt;br /&gt;
===Choose Sketch Width / Color=== &lt;br /&gt;
[[File:Sketchapp line.png|30px]]  &lt;br /&gt;
&lt;br /&gt;
Click on the Choose Sketch Width / Color button if you like another color or line width for sketching. &lt;br /&gt;
&lt;br /&gt;
There are 6 different line width and 13 different colors available. On devices with a small screen (e.g. smartphones), you can scroll to the left to see all colors. &lt;br /&gt;
&lt;br /&gt;
Line widths are: 0.05 mm | 0.10 mm | 0.2 mm | 0.4 mm | 0.8 mm | 1.6 mm &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISOM 2017 width 1:10&#039;000 scale:  &lt;br /&gt;
:Contour / Narrow ride: 0.21 mm &lt;br /&gt;
:Index contour / Impassable cliff: 0.38 mm &lt;br /&gt;
:Form line: 0.15 mm &lt;br /&gt;
:Impassable cliff / Road: 0.52 mm &lt;br /&gt;
:Passable cliff: 0.38 mm &lt;br /&gt;
:Small footpath: 0.27 mm &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Important ISSprOM 2019 width 1:4000 scale:  &lt;br /&gt;
:Uncrossable walls/ fences / hedges: 0.4 mm &lt;br /&gt;
:Step or edge of paved area: 0.1 mm &lt;br /&gt;
:Contour: 0.21 mm&lt;br /&gt;
&lt;br /&gt;
===Erase Sketch=== &lt;br /&gt;
[[File:Sketchapp eraser.svg|30px]]  &lt;br /&gt;
Erase objects by running the eraser over them. &lt;br /&gt;
&lt;br /&gt;
===Start/Stop GPS Tracking=== &lt;br /&gt;
[[File:Sketchapp map-pin.svg|30px]]  &lt;br /&gt;
Current color/width is used. &lt;br /&gt;
&lt;br /&gt;
Double Tap creates a point feature (Start/Stop at same position) &lt;br /&gt;
&lt;br /&gt;
GPS Tracking supports you to determine your current position. You can either use the internal GPS of your device (default) or connect to an external GPS. &lt;br /&gt;
 &lt;br /&gt;
GPS recording is active, even if you switch to another map (e.g. browse in the internet or make a phone call while mapping). Only if you close the OCAD Sketch App, the position recording will stop.&lt;br /&gt;
&lt;br /&gt;
=Demo Project=&lt;br /&gt;
Do you want to test the OCAD Sketch app but don&#039;t have a project available right now? Then download our demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: [[OCAD Sketch App#Installation of the OCAD Sketch App|Download]] the OCAD Sketch App to your mobile device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Scan the following QR code with your mobile device.&lt;br /&gt;
&lt;br /&gt;
::[[File:QR Code Demoproject.PNG]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: [[OCAD Sketch App#Open a project|Open]] the demo project.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Since you are most likely outside the project area, the position display will not work.&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;You cannot upload the demo project to OCAD Cloud Transfer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Known Bugs=&lt;br /&gt;
* North lines are currently oriented to geographic north instead of magnetic north&lt;br /&gt;
* On Android devices the upload of OCAD-Files larger than 10MB to OCAD Cloud Transfer failes&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12988</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12988"/>
		<updated>2021-05-07T07:37:01Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || e.g. 526.002&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbolSelectedObjects || SymbolNumber || Double &amp;lt;br&amp;gt; || e.g. 101.001&lt;br /&gt;
|-&lt;br /&gt;
| Object.MergeObjectsBySymbol|| SymbolNumber || Double &amp;lt;br&amp;gt; || e.g. 101.001&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12986</id>
		<title>XML Script Lidar and DTM Import</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12986"/>
		<updated>2021-04-27T13:27:41Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
LiDAR data are invaluable for mapping, as highly accurate contour lines and base maps can be created.&amp;lt;br&amp;gt;&lt;br /&gt;
But when processing LiDAR data (las or laz file format) and DTM for larger areas, a computer can quickly become overloaded because not enough RAM is available and crashes.&amp;lt;br&amp;gt;&lt;br /&gt;
To avoid this, you have to work with XML scripts for larger projects. This may seem complicated at first glance, but don’t worry: All you have to do is copy code and make some adjustments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:LiDARImportXML.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Huge areas can be calculated in one single step.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is what you need to do:&lt;br /&gt;
&lt;br /&gt;
*Create the folder structure first. &#039;&#039;&#039;[https://www.ocad.com/downloads/XML_LiDAR.zip Download]&#039;&#039;&#039; and unzip our folder structure in your chosen directory.&lt;br /&gt;
*Create a new, empty OCAD File with the desired symbol set, map scale and georeferencing. The &#039;&#039;&#039;[[New_Map_Wizard|New Map Wizard]]&#039;&#039;&#039; can help you with that.&lt;br /&gt;
*Save this file as &#039;&#039;Template.ocd&#039;&#039; (means overwrite the &#039;&#039;Template.ocd&#039;&#039; file in the folder structure).&lt;br /&gt;
*Put your LiDAR files in the folder &#039;&#039;0_LAZ&#039;&#039;. &lt;br /&gt;
*Open the &#039;&#039;XML_Script.xml&#039;&#039; file with a text editor and &#039;&#039;&#039;adjust the file pathes&#039;&#039;&#039; in the document, e.g. from &#039;&#039;C:\Tmp\XML_LiDAR\Template.ocd&#039;&#039; to &#039;&#039;S:\O Map ZG\Template.ocd&#039;&#039;.&lt;br /&gt;
*In the OCAD File menu, go to &#039;&#039;&#039;[[XML_Script|Execute XML Script]]&#039;&#039;&#039; and run the script.&lt;br /&gt;
&lt;br /&gt;
Before you run the script with all your data, it&#039;s recommended to put only a few LiDAR files into the &#039;&#039;0_LAZ&#039;&#039; folder and see if everything works. If it does, put all LiDAR files there and clean all folders from output data from the testrun.&lt;br /&gt;
&lt;br /&gt;
The XML function for importing las/laz files and creating contour lines and vegetation map is also available in the OCAD Orienteering edition.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This script imports laz data and create contour lines and the vegetation base map.&amp;lt;br&amp;gt; &lt;br /&gt;
The single tiles are calculated separately and then cropped and merged together in the end.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;!-- 1. step: import all laz files and create ocdDem and ocdLas tiles--&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\Map.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.DemImport&amp;gt;&lt;br /&gt;
    &amp;lt;LasImport&amp;gt;&lt;br /&gt;
      &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\0_LAZ\&amp;lt;/Directory&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasImport&amp;gt;    &lt;br /&gt;
    &amp;lt;CreateOcdDem&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Cellsize100&amp;gt;100&amp;lt;/Cellsize100&amp;gt;&lt;br /&gt;
      &amp;lt;CreateVegetationBaseMap&amp;gt;false&amp;lt;/CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDtm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;false&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;false&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;false&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;1&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDtm&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDsm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;true&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;true&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;true&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;2&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDsm&amp;gt;      &lt;br /&gt;
    &amp;lt;/CreateOcdDem&amp;gt;  &lt;br /&gt;
      &amp;lt;CreateOcdLas&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/CreateOcdLas&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.DemImport&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 2. step: match height at tile borders--&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\Map_Matching.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MatchTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MatchTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 3. step: merge ocdDem tiles to 7000m x 7000m ocdDem tiles (5000m x 5000m + 1000m border around): --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\Map_Merging.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MergeTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 4. step: crop ocdDem tiles to 5000m x 5000m --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\Map_Cropped.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.CropTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.CropTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 5. step: create contour lines --&amp;gt;    &lt;br /&gt;
  &amp;lt;Dem.CreateContourLines&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
    &amp;lt;TemplateFile&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/TemplateFile&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeCropping&amp;gt;5000&amp;lt;/TileSizeCropping&amp;gt;  &lt;br /&gt;
    &amp;lt;Merging&amp;gt;true&amp;lt;/Merging&amp;gt;  &lt;br /&gt;
    &amp;lt;EquidistanceOriginal&amp;gt;500&amp;lt;/EquidistanceOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;CreateNotSmoothedContours&amp;gt;false&amp;lt;/CreateNotSmoothedContours&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel1&amp;gt;250&amp;lt;/EquidistanceLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel2&amp;gt;1250&amp;lt;/EquidistanceLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel3&amp;gt;0&amp;lt;/EquidistanceLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1&amp;gt;101000&amp;lt;/SymbolNumberLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2&amp;gt;102000&amp;lt;/SymbolNumberLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3&amp;gt;0&amp;lt;/SymbolNumberLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;CreateSmoothedContoursUsingTpi&amp;gt;true&amp;lt;/CreateSmoothedContoursUsingTpi&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiOriginal&amp;gt;250&amp;lt;/EquidistanceTpiOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel1&amp;gt;250&amp;lt;/EquidistanceTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel2&amp;gt;1250&amp;lt;/EquidistanceTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel3&amp;gt;0&amp;lt;/EquidistanceTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1&amp;gt;101000&amp;lt;/SymbolNumberTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2&amp;gt;102000&amp;lt;/SymbolNumberTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;UseDifferentSymbolsForDepressions&amp;gt;false&amp;lt;/UseDifferentSymbolsForDepressions&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;ConvertTpiContoursToBezier&amp;gt;true&amp;lt;/ConvertTpiContoursToBezier&amp;gt;&lt;br /&gt;
    &amp;lt;DeleteCombinedDemFile&amp;gt;true&amp;lt;/DeleteCombinedDemFile&amp;gt;&lt;br /&gt;
    &amp;lt;MinimumContourValue&amp;gt;0&amp;lt;/MinimumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;MaximumContourValue&amp;gt;0&amp;lt;/MaximumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;IsMaxContourLength&amp;gt;false&amp;lt;/IsMaxContourLength&amp;gt;&lt;br /&gt;
    &amp;lt;MaxContourLength&amp;gt;0&amp;lt;/MaxContourLength&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.CreateContourLines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 6. step: merge contour lines into one ocd file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\6_ImportAllOcds\Contour Lines.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Import.Ocd&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolOption&amp;gt;0&amp;lt;/SymbolOption&amp;gt;&lt;br /&gt;
    &amp;lt;ColorOption&amp;gt;0&amp;lt;/ColorOption&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Import.Ocd&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 7. step: create vegetation base map (png file) for each ocdLas file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\7_png\Map_Vegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
      &lt;br /&gt;
    &amp;lt;CellSize&amp;gt;1&amp;lt;/CellSize&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelUndergrowth&amp;gt;3&amp;lt;/NeighborhoodKernelUndergrowth&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthLow&amp;gt;0.00&amp;lt;/ThresholdUndergrowthLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthHigh&amp;gt;0.00&amp;lt;/ThresholdUndergrowthHigh&amp;gt;  &lt;br /&gt;
    &amp;lt;ThresholdUndergrowthSlow&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthDifficult&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelVegetation&amp;gt;5&amp;lt;/NeighborhoodKernelVegetation&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationLow&amp;gt;0.30&amp;lt;/ThresholdVegetationLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationHigh&amp;gt;3.00&amp;lt;/ThresholdVegetationHigh&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdVegetationSlow&amp;gt;-0.40&amp;lt;/ThresholdVegetationSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationDifficult&amp;gt;-0.20&amp;lt;/ThresholdVegetationDifficult&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationVeryDifficult&amp;gt;+0.20&amp;lt;/ThresholdVegetationVeryDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdOverlapPointsLow&amp;gt;0.30&amp;lt;/ThresholdOverlapPointsLow&amp;gt;    &lt;br /&gt;
    &amp;lt;ShowAreaWithNoData&amp;gt;false&amp;lt;/ShowAreaWithNoData&amp;gt;&lt;br /&gt;
    &amp;lt;UseFilter&amp;gt;true&amp;lt;/UseFilter&amp;gt;&lt;br /&gt;
    &amp;lt;LasClassification&amp;gt;&lt;br /&gt;
      &amp;lt;NeverClassified&amp;gt;false&amp;lt;/NeverClassified&amp;gt;&lt;br /&gt;
      &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
      &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
      &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;MediumVegetation&amp;gt;true&amp;lt;/MediumVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
      &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
      &amp;lt;HighPoint&amp;gt;false&amp;lt;/HighPoint&amp;gt;&lt;br /&gt;
      &amp;lt;Water&amp;gt;false&amp;lt;/Water&amp;gt;&lt;br /&gt;
      &amp;lt;Railroad&amp;gt;false&amp;lt;/Railroad&amp;gt;&lt;br /&gt;
      &amp;lt;Road&amp;gt;false&amp;lt;/Road&amp;gt;&lt;br /&gt;
      &amp;lt;Overlap&amp;gt;false&amp;lt;/Overlap&amp;gt;&lt;br /&gt;
      &amp;lt;WireGuard&amp;gt;false&amp;lt;/WireGuard&amp;gt;&lt;br /&gt;
      &amp;lt;WireConductor&amp;gt;false&amp;lt;/WireConductor&amp;gt;&lt;br /&gt;
      &amp;lt;TransmissionTower&amp;gt;false&amp;lt;/TransmissionTower&amp;gt;&lt;br /&gt;
      &amp;lt;WireStructurConnector&amp;gt;false&amp;lt;/WireStructurConnector&amp;gt;&lt;br /&gt;
      &amp;lt;Bridge&amp;gt;false&amp;lt;/Bridge&amp;gt;&lt;br /&gt;
      &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasClassification&amp;gt;    &lt;br /&gt;
  &amp;lt;/Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 7. step: merge png files to bigger tiles--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\Map_mergeVegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeMeter&amp;gt;10000&amp;lt;/TileSizeMeter&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12985</id>
		<title>XML Script Lidar and DTM Import</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12985"/>
		<updated>2021-04-27T13:19:04Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
LiDAR data are invaluable for mapping, as highly accurate contour lines and base maps can be created.&amp;lt;br&amp;gt;&lt;br /&gt;
But when processing LiDAR data (las or laz file format) and DTM for larger areas, a computer can quickly become overloaded because not enough RAM is available and crashes.&amp;lt;br&amp;gt;&lt;br /&gt;
To avoid this, you have to work with XML scripts for larger projects. This may seem complicated at first glance, but don’t worry: All you have to do is copy code and make some adjustments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:LiDARImportXML.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Huge areas can be calculated in one single step.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is what you need to do:&lt;br /&gt;
&lt;br /&gt;
*Create the folder structure first. &#039;&#039;&#039;[https://www.ocad.com/downloads/XML_LiDAR.zip Download]&#039;&#039;&#039; and unzip our folder structure in your chosen directory.&lt;br /&gt;
*Create a new, empty OCAD File with the desired symbol set, map scale and georeferencing. The &#039;&#039;&#039;[[New_Map_Wizard|New Map Wizard]]&#039;&#039;&#039; can help you with that.&lt;br /&gt;
*Save this file as &#039;&#039;Template.ocd&#039;&#039; (means overwrite the &#039;&#039;Template.ocd&#039;&#039; file in the folder structure).&lt;br /&gt;
*Put your LiDAR files in the folder &#039;&#039;0_LAZ&#039;&#039;. &lt;br /&gt;
*Open the &#039;&#039;XML_Script.xml&#039;&#039; file with a text editor and &#039;&#039;&#039;adjust the file pathes&#039;&#039;&#039; in the document, e.g. from &#039;&#039;C:\Tmp\XML_LiDAR\Template.ocd&#039;&#039; to &#039;&#039;S:\O Map ZG\Template.ocd&#039;&#039;.&lt;br /&gt;
*In the OCAD File menu, go to &#039;&#039;&#039;[[XML_Script|Execute XML Script]]&#039;&#039;&#039; and run the script.&lt;br /&gt;
&lt;br /&gt;
Before you run the script with all your data, it&#039;s recommended to put only a few LiDAR files into the &#039;&#039;0_LAZ&#039;&#039; folder and see if everything works. If it does, put all LiDAR files there and clean all folders from output data from the testrun.&lt;br /&gt;
&lt;br /&gt;
The XML function for importing las/laz files and creating contour lines and vegetation map is also available in the OCAD Orienteering edition.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This script imports laz data and create contour lines and the vegetation base map.&amp;lt;br&amp;gt; &lt;br /&gt;
The single tiles are calculated separately and then cropped and merged together in the end.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;!-- 1. step: import all laz files and create ocdDem and ocdLas tiles--&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\Map.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.DemImport&amp;gt;&lt;br /&gt;
    &amp;lt;LasImport&amp;gt;&lt;br /&gt;
      &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\0_LAZ\&amp;lt;/Directory&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasImport&amp;gt;    &lt;br /&gt;
    &amp;lt;CreateOcdDem&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Cellsize100&amp;gt;100&amp;lt;/Cellsize100&amp;gt;&lt;br /&gt;
      &amp;lt;CreateVegetationBaseMap&amp;gt;false&amp;lt;/CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDtm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;false&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;false&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;false&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;1&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDtm&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDsm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;true&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;true&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;true&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;2&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDsm&amp;gt;      &lt;br /&gt;
    &amp;lt;/CreateOcdDem&amp;gt;  &lt;br /&gt;
      &amp;lt;CreateOcdLas&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/CreateOcdLas&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.DemImport&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 2. step: match height at tile borders--&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\Map_Matching.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MatchTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MatchTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 3. step: merge ocdDem tiles to 7000m x 7000m ocdDem tiles (5000m x 5000m + 1000m border around): --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\Map_Merging.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MergeTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 4. step: crop ocdDem tiles to 5000m x 5000m --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\Map_Cropped.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.CropTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.CropTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 5. step: create contour lines --&amp;gt;    &lt;br /&gt;
  &amp;lt;Dem.CreateContourLines&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
    &amp;lt;TemplateFile&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/TemplateFile&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeCropping&amp;gt;5000&amp;lt;/TileSizeCropping&amp;gt;  &lt;br /&gt;
    &amp;lt;Merging&amp;gt;true&amp;lt;/Merging&amp;gt;  &lt;br /&gt;
    &amp;lt;EquidistanceOriginal&amp;gt;500&amp;lt;/EquidistanceOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;CreateNotSmoothedContours&amp;gt;false&amp;lt;/CreateNotSmoothedContours&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel1&amp;gt;250&amp;lt;/EquidistanceLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel2&amp;gt;1250&amp;lt;/EquidistanceLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel3&amp;gt;0&amp;lt;/EquidistanceLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1&amp;gt;101000&amp;lt;/SymbolNumberLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2&amp;gt;102000&amp;lt;/SymbolNumberLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3&amp;gt;0&amp;lt;/SymbolNumberLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;CreateSmoothedContoursUsingTpi&amp;gt;true&amp;lt;/CreateSmoothedContoursUsingTpi&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiOriginal&amp;gt;250&amp;lt;/EquidistanceTpiOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel1&amp;gt;250&amp;lt;/EquidistanceTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel2&amp;gt;1250&amp;lt;/EquidistanceTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel3&amp;gt;0&amp;lt;/EquidistanceTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1&amp;gt;101000&amp;lt;/SymbolNumberTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2&amp;gt;102000&amp;lt;/SymbolNumberTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;UseDifferentSymbolsForDepressions&amp;gt;false&amp;lt;/UseDifferentSymbolsForDepressions&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;ConvertTpiContoursToBezier&amp;gt;true&amp;lt;/ConvertTpiContoursToBezier&amp;gt;&lt;br /&gt;
    &amp;lt;DeleteCombinedDemFile&amp;gt;true&amp;lt;/DeleteCombinedDemFile&amp;gt;&lt;br /&gt;
    &amp;lt;MinimumContourValue&amp;gt;0&amp;lt;/MinimumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;MaximumContourValue&amp;gt;0&amp;lt;/MaximumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;IsMaxContourLength&amp;gt;false&amp;lt;/IsMaxContourLength&amp;gt;&lt;br /&gt;
    &amp;lt;MaxContourLength&amp;gt;0&amp;lt;/MaxContourLength&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.CreateContourLines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 6. step: merge contour lines into one ocd file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\6_ImportAllOcds\Contour Lines.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Import.Ocd&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolOption&amp;gt;0&amp;lt;/SymbolOption&amp;gt;&lt;br /&gt;
    &amp;lt;ColorOption&amp;gt;0&amp;lt;/ColorOption&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Import.Ocd&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 7. step: create vegetation base map (png file) for each ocdLas file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\7_png\Map_Vegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
      &lt;br /&gt;
    &amp;lt;CellSize&amp;gt;1&amp;lt;/CellSize&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelUndergrowth&amp;gt;3&amp;lt;/NeighborhoodKernelUndergrowth&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthLow&amp;gt;0.00&amp;lt;/ThresholdUndergrowthLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthHigh&amp;gt;0.00&amp;lt;/ThresholdUndergrowthHigh&amp;gt;  &lt;br /&gt;
    &amp;lt;ThresholdUndergrowthSlow&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthDifficult&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelVegetation&amp;gt;5&amp;lt;/NeighborhoodKernelVegetation&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationLow&amp;gt;0.30&amp;lt;/ThresholdVegetationLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationHigh&amp;gt;3.00&amp;lt;/ThresholdVegetationHigh&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdVegetationSlow&amp;gt;-0.40&amp;lt;/ThresholdVegetationSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationDifficult&amp;gt;-0.20&amp;lt;/ThresholdVegetationDifficult&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationVeryDifficult&amp;gt;+0.20&amp;lt;/ThresholdVegetationVeryDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdOverlapPointsLow&amp;gt;0.30&amp;lt;/ThresholdOverlapPointsLow&amp;gt;    &lt;br /&gt;
    &amp;lt;ShowAreaWithNoData&amp;gt;false&amp;lt;/ShowAreaWithNoData&amp;gt;&lt;br /&gt;
    &amp;lt;UseFilter&amp;gt;true&amp;lt;/UseFilter&amp;gt;&lt;br /&gt;
    &amp;lt;LasClassification&amp;gt;&lt;br /&gt;
      &amp;lt;NeverClassified&amp;gt;false&amp;lt;/NeverClassified&amp;gt;&lt;br /&gt;
      &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
      &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
      &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;MediumVegetation&amp;gt;true&amp;lt;/MediumVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
      &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
      &amp;lt;HighPoint&amp;gt;false&amp;lt;/HighPoint&amp;gt;&lt;br /&gt;
      &amp;lt;Water&amp;gt;false&amp;lt;/Water&amp;gt;&lt;br /&gt;
      &amp;lt;Railroad&amp;gt;false&amp;lt;/Railroad&amp;gt;&lt;br /&gt;
      &amp;lt;Road&amp;gt;false&amp;lt;/Road&amp;gt;&lt;br /&gt;
      &amp;lt;Overlap&amp;gt;false&amp;lt;/Overlap&amp;gt;&lt;br /&gt;
      &amp;lt;WireGuard&amp;gt;false&amp;lt;/WireGuard&amp;gt;&lt;br /&gt;
      &amp;lt;WireConductor&amp;gt;false&amp;lt;/WireConductor&amp;gt;&lt;br /&gt;
      &amp;lt;TransmissionTower&amp;gt;false&amp;lt;/TransmissionTower&amp;gt;&lt;br /&gt;
      &amp;lt;WireStructurConnector&amp;gt;false&amp;lt;/WireStructurConnector&amp;gt;&lt;br /&gt;
      &amp;lt;Bridge&amp;gt;false&amp;lt;/Bridge&amp;gt;&lt;br /&gt;
      &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasClassification&amp;gt;    &lt;br /&gt;
  &amp;lt;/Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 7. step: merge png files to bigger tiles--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\Map_mergeVegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeMeter&amp;gt;10000&amp;lt;\TileSizeMeter&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_12_File_Format&amp;diff=12973</id>
		<title>OCAD 12 File Format</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_12_File_Format&amp;diff=12973"/>
		<updated>2021-04-12T07:59:24Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Parameter Strings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General==&lt;br /&gt;
This is a description of the file format of OCAD 12 files.&lt;br /&gt;
&lt;br /&gt;
Be aware that this is an internal format and may change in future versions.&lt;br /&gt;
&lt;br /&gt;
=== Data types used ===&lt;br /&gt;
OCAD is written in 64-bit Delphi and this description uses the names for the data types as they appear in Delphi. However the same data types are available in other development systems like C++.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Integer|| 32-bit signed integer&lt;br /&gt;
|-&lt;br /&gt;
| Cardinal|| 32-bit unsigned integer&lt;br /&gt;
|-&lt;br /&gt;
| SmallInt || 16-bit signed integer&lt;br /&gt;
|-&lt;br /&gt;
| Word || 16-bit unsigned integer&lt;br /&gt;
|-&lt;br /&gt;
| WordBool || 16-bit boolean&lt;br /&gt;
|-&lt;br /&gt;
| String[x] || &lt;br /&gt;
Widestring. The first byte contains the number of characters followed by the characters. The string is not zero-terminated. The maximum number of characters is x. It occupies x + 1 bytes in the file.&lt;br /&gt;
|-&lt;br /&gt;
| Double|| 64-bit floating point number&lt;br /&gt;
|-&lt;br /&gt;
| TDPoly || A special data type (64-bit) used for all coordinates and text. It is defined as &lt;br /&gt;
TDPoly = record &amp;lt;br/&amp;gt; x, y: integer;&amp;lt;br /&amp;gt;end;&lt;br /&gt;
&lt;br /&gt;
The lowest 8 Bits are used to mark special points:&lt;br /&gt;
&lt;br /&gt;
Marks for the x-coordinate:&amp;lt;br /&amp;gt;&lt;br /&gt;
1: this point is the first bezier curve point&amp;lt;br /&amp;gt;&lt;br /&gt;
2: this point is the second bezier curve point&amp;lt;br /&amp;gt;&lt;br /&gt;
4: for double lines: there is no left line between this point and the next point&amp;lt;br /&amp;gt;&lt;br /&gt;
8: this point is a area border line or a virtual line gap&lt;br /&gt;
&lt;br /&gt;
Marks for y-coordinate:&amp;lt;br /&amp;gt;&lt;br /&gt;
1: this point is a corner point&amp;lt;br /&amp;gt;&lt;br /&gt;
2: this point is the first point of a hole in an area&amp;lt;br /&amp;gt;&lt;br /&gt;
4: for double lines: there is no right line between this point and the next point&amp;lt;br /&amp;gt;&lt;br /&gt;
8: this point is a dash point&lt;br /&gt;
&lt;br /&gt;
The upper 24 bits contain the coordinate value measured in units of 0.01 mm.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: all file positions are in bytes starting from the beginning of the file.&lt;br /&gt;
&lt;br /&gt;
== File Header==&lt;br /&gt;
OCAD files start with a file header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TFileHeader = record              // size = 60 Byte &lt;br /&gt;
  OCADMark: SmallInt;             // 3245 (hex 0cad)&lt;br /&gt;
  FileType: Byte;                 // file type (0: normal map, 1: course setting project, 8: file is saved in Server) &lt;br /&gt;
  FileStatus: Byte;               // not used&lt;br /&gt;
  Version: SmallInt;              // 12&lt;br /&gt;
  Subversion: Byte;               // number of subversion (0 for 12.0, 1 for 12.1 etc.)&lt;br /&gt;
  SubSubversion: Byte;            // number of subsubversion (0 for 12.0.0, 1 for 12.0.1) &lt;br /&gt;
  FirstSymbolIndexBlk: Cardinal;  // file position of the first symbol index block&lt;br /&gt;
  ObjectIndexBlock: Cardinal;     // file position of the object index block -&amp;gt; TObjectIndexBlock    // max 65536 * 256 objects &lt;br /&gt;
  OfflineSyncSerial: integer;     // serialNumber for offline work in Server mode&lt;br /&gt;
  CurrentFileVersion: integer;    // file version for OCAD version&lt;br /&gt;
  Internal: Cardinal;             // &lt;br /&gt;
  Internal: Cardinal;             //&lt;br /&gt;
  FirstStringIndexBlk: Cardinal;  // file position of the first string index block&lt;br /&gt;
  FileNamePos: Cardinal;          // file position of the file name, used for temporary files only&lt;br /&gt;
  FileNameSize: Cardinal;         // size of the file name, used for temporary files only&lt;br /&gt;
  Internal: Cardinal;             // &lt;br /&gt;
  Res1: Cardinal;                 // not used&lt;br /&gt;
  Res2: Cardinal;                 // not used&lt;br /&gt;
  MrStartBlockPosition: Cardinal; // file position of mulitple represention index block&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Symbols ==&lt;br /&gt;
Each Symbol Index Block contains the position of the next Symbol Index Block and the file position of 256 symbols.&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TSymbolIndexBlock= record        // Size: 1028 Bytes&lt;br /&gt;
  NextSymbolIndexBlock: Cardinal;&lt;br /&gt;
  SymbolPosition: array[0..255] of integer;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
=== Base Symbol ===&lt;br /&gt;
The different types of symbols are defined in different structures. There is an abstract type TBaseSym, which contains the fields common to all symbols types. It is used for programming reasons, but does not exist in real OCAD files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TBaseSym = packed record&lt;br /&gt;
  Size: integer;                // Size of the symbol in bytes. This  depends on the type. Coordinates following the symbol are included.&lt;br /&gt;
  SymNum: integer;              // Symbol number. This is 1000 times the symbol number. &lt;br /&gt;
                                // for example:&lt;br /&gt;
                                //   203.145 is stored as 203145&lt;br /&gt;
  Otp: byte;                    // Object type&lt;br /&gt;
                                //   1: Point symbol&lt;br /&gt;
                                //   2: Line symbol or Line text symbol&lt;br /&gt;
                                //   3: Area symbol&lt;br /&gt;
                                //   4: Text symbol&lt;br /&gt;
                                //   6: Line text symbol&lt;br /&gt;
                                //   7: Rectangle symbol&lt;br /&gt;
  Flags: byte;                  // 1: rotatable symbol (not oriented to north)&lt;br /&gt;
                                // 4: belongs to favorites&lt;br /&gt;
  Selected: boolean;            // Symbol is selected in the symbol box&lt;br /&gt;
  Status: byte;                 // Status of the symbol&lt;br /&gt;
                                //   0: Normal&lt;br /&gt;
                                //   1: Protected&lt;br /&gt;
                                //   2: Hidden&lt;br /&gt;
                                // AND 16: selected&lt;br /&gt;
  PreferredDrawingTool: byte;   // Preferred drawing tool&lt;br /&gt;
                                //   0: off&lt;br /&gt;
                                //   1: Curve mode&lt;br /&gt;
                                //   2: Ellipse mode&lt;br /&gt;
                                //   3: Circle mode&lt;br /&gt;
                                //   4: Rectangular line mode&lt;br /&gt;
                                //   5: Rectangular area mode&lt;br /&gt;
                                //   6: Straight line mode&lt;br /&gt;
                                //   7: Freehand mode&lt;br /&gt;
                                //   8: Numeric mode&lt;br /&gt;
                                //   9: Stairway mode                          &lt;br /&gt;
  CsMode: byte;                 // Course setting mode&lt;br /&gt;
                                //   0: not used for course setting&lt;br /&gt;
                                //   1: course symbol&lt;br /&gt;
                                //   2: control description symbol&lt;br /&gt;
  CsObjType: byte;              // Course setting object type&lt;br /&gt;
                                //   0: Start symbol (Point symbol)&lt;br /&gt;
                                //   1: Control symbol (Point symbol)&lt;br /&gt;
                                //   2: Finish symbol (Point symbol)&lt;br /&gt;
                                //   3: Marked route (Line symbol)&lt;br /&gt;
                                //   4: Control description symbol (Point symbol)&lt;br /&gt;
                                //   5: Course title (Text symbol)&lt;br /&gt;
                                //   6: Start number (Text symbol)&lt;br /&gt;
                                //   7: Relay variant (Text symbol)&lt;br /&gt;
                                //   8: Text block for control description (Text symbol)&lt;br /&gt;
  CsCdFlags: byte;              // Course setting control description flags&lt;br /&gt;
                                //   a combination of the flags&lt;br /&gt;
                                //   64: available in column B&lt;br /&gt;
                                //   32: available in column C&lt;br /&gt;
                                //   16: available in column D&lt;br /&gt;
                                //   8: available in column E&lt;br /&gt;
                                //   4: available in column F&lt;br /&gt;
                                //   2: available in column G&lt;br /&gt;
                                //   1: available in column H&lt;br /&gt;
  Extent: integer;              // Extent how much the rendered symbols can reach outside the coordinates of an object with&lt;br /&gt;
                                // this symbol. For a point object it tells how far away from the coordinates of the object&lt;br /&gt;
                                // anything of the point symbol can appear&lt;br /&gt;
  FilePos: cardinal;            // Used internally. Value in the file is not defined.&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;            // Number of colors of the symbol max. 14, -1: the number of colors is &amp;gt; 14&lt;br /&gt;
  Colors: array[0..13] of SmallInt; // Colors of the symbol&lt;br /&gt;
  Description: array[0..63] of char;// Description text                        &lt;br /&gt;
  IconBits: array[0..483] of byte;  // Each byte represents a pixel of the icon in a 256 color palette&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // Group ID in the symbol tree, max 64 symbol groups &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point Symbol ===&lt;br /&gt;
Point symbols are stored with this structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TPointSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 1&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  DataSize: word;                        // number of coordinates (each 8 bytes) which follow this structure, each object header&lt;br /&gt;
                                         // counts as 2 Coordinates (16 bytes)&lt;br /&gt;
  Reserved: SmallInt;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this structure follow the symbol elements which build that Point symbol. These symbol elements are stored in the following structure. Note that these symbol elements are stored in a different way than ordinary map objects.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TSymElt = record&lt;br /&gt;
  stType: SmallInt;                   // type of the symbol element&lt;br /&gt;
                                      //   1: line&lt;br /&gt;
                                      //   2: area&lt;br /&gt;
                                      //   3: circle&lt;br /&gt;
                                      //   4: dot (filled circle)&lt;br /&gt;
  stFlags: word;                      // Flags&lt;br /&gt;
                                      //   1: line with round ends&lt;br /&gt;
  stColor: SmallInt;                  // color of the object. This is the number which appears in&lt;br /&gt;
                                      // the colors dialog box&lt;br /&gt;
  stLineWidth: SmallInt;              // line width for lines and circles unit 0.01 mm&lt;br /&gt;
  stDiameter: SmallInt;               // Diameter for circles and dots. The line width is included&lt;br /&gt;
                                      // one time in this dimension for circles.&lt;br /&gt;
  stnPoly: SmallInt;                  // number of coordinates&lt;br /&gt;
  stRes1: SmallInt;                   // Not used&lt;br /&gt;
  stRes2: SmallInt;                   // Not used&lt;br /&gt;
  stPoly: array[0..32767] of TPoint;  // coordinates of the symbol element&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are several objects, they just follow each other (only the coordinates used are stored). To determine the number of objects the DataSize variable must be used.&lt;br /&gt;
&lt;br /&gt;
=== Line Symbol ===&lt;br /&gt;
Line symbols are stored in the following structure. In the explanation the terms used in the Line Symbol dialog box are shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TLineSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 2&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  LineColor: SmallInt;                   // Line color&lt;br /&gt;
  LineWidth: SmallInt;                   // Line width&lt;br /&gt;
  LineStyle: SmallInt;                   // Line style&lt;br /&gt;
                                         //   0: bevel joins/flat caps&lt;br /&gt;
                                         //   1: round joins/round caps&lt;br /&gt;
                                         //   4: miter joins/flat caps&lt;br /&gt;
  DistFromStart: SmallInt;               // Distance from start&lt;br /&gt;
  DistToEnd: SmallInt;                   // Distance to the end&lt;br /&gt;
  MainLength: SmallInt;                  // Main length a&lt;br /&gt;
  EndLength: SmallInt;                   // End length b&lt;br /&gt;
  MainGap: SmallInt;                     // Main gap C&lt;br /&gt;
  SecGap: SmallInt;                      // Gap D&lt;br /&gt;
  EndGap: SmallInt;                      // Gap E&lt;br /&gt;
  MinSym: SmallInt;                      // -1: at least 0 gaps/symbols&lt;br /&gt;
                                         //  0: at least 1 gap/symbol&lt;br /&gt;
                                         //  1: at least 2 gaps/symbols&lt;br /&gt;
                                         //  etc.&lt;br /&gt;
  nPrimSym: SmallInt;                    // No. of symbols&lt;br /&gt;
  PrimSymDist: SmallInt;                 // Distance&lt;br /&gt;
  DblMode: word;                         // Mode (Double line page)&lt;br /&gt;
  DblFlags: word;                        // Double line flags&lt;br /&gt;
                                         //    1: Fill color on&lt;br /&gt;
                                         //    2: Background color on&lt;br /&gt;
  DblFillColor: SmallInt;                // Fill color&lt;br /&gt;
  DblLeftColor: SmallInt;                // Left line/Color&lt;br /&gt;
  DblRightColor: SmallInt;               // Right line/Color&lt;br /&gt;
  DblWidth: SmallInt;                    // Width&lt;br /&gt;
  DblLeftWidth: SmallInt;                // Left line/Line width&lt;br /&gt;
  DblRightWidth: SmallInt;               // Right line/Line width&lt;br /&gt;
  DblLength: SmallInt;                   // Dashed/Distance a&lt;br /&gt;
  DblGap: SmallInt;                      // Dashed/Gap&lt;br /&gt;
  DblBackgroundColor: SmallInt;          // Reserved&lt;br /&gt;
  DblRes: array[0..1] of SmallInt;       // Reserved&lt;br /&gt;
  DecMode: word;                         // Decrease mode&lt;br /&gt;
                                         //   0: off&lt;br /&gt;
                                         //   1: decreasing towards the end&lt;br /&gt;
                                         //   2: decreasing towards both ends&lt;br /&gt;
                                         //   3: decreasing towards first symbol of line&lt;br /&gt;
  DecSymbolSize: SmallInt;               // Last symbol size &lt;br /&gt;
  DecSymbolDistance: boolean;            // Option to disable decreasing symbol distance&lt;br /&gt;
  DecSymbolWidth: boolean;               // Option to decrease symbol width (of line, circle, area elements) &lt;br /&gt;
  FrColor: SmallInt;                     // Color of the framing line&lt;br /&gt;
  FrWidth: SmallInt;                     // Line width of the framing line&lt;br /&gt;
  FrStyle: SmallInt;                     // Line style of the framing line&lt;br /&gt;
                                         //   0: bevel joins/flat caps&lt;br /&gt;
                                         //   1: round joins/round caps&lt;br /&gt;
                                         //   4: miter joins/flat caps&lt;br /&gt;
                                         //  PointedEnd := LineStyle and 2 &amp;gt; 0;&lt;br /&gt;
  PrimDSize: word;                       // number or coordinates (8 bytes) for the Main symbol A which follow this structure.&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  SecDSize: word;                        // number or coordinates (8 bytes) for the Secondary symbol which follow the Main symbol A&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  CornerDSize: word;                     // number or coordinates (8 bytes) for the Corner symbol which follow the Secondary symbol&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  StartDSize: word;                      // number or coordinates (8 bytes) for the Start symbol C which follow the Corner symbol&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  EndDSize: word;                        // number or coordinates (8 bytes) for the End symbol D which follow the Start symbol C&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  UseSymbolFlags: Byte;                  // 1 = end symbol, 2 = start symbol, 4 = corner symbol, 8 = secondary symbol   &lt;br /&gt;
  Reserved: Byte;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Area Symbol ===&lt;br /&gt;
Area symbols are stored in the following structure. In the explanation the terms&lt;br /&gt;
used in the Area Symbol dialog box are shown. The unit of all dimensions is 0.01 mm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TAreaSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 3&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  BorderSym: integer;                    // Symbol for border line  activated if BorderOn is true&lt;br /&gt;
  FillColor: SmallInt;                   // Fill color activated if FillOn is true&lt;br /&gt;
  HatchMode: SmallInt;                   // Hatch mode&lt;br /&gt;
                                         //   0: None&lt;br /&gt;
                                         //   1: Single hatch&lt;br /&gt;
                                         //   2: Cross hatch&lt;br /&gt;
  HatchColor: SmallInt;                  // Color (Hatch page)&lt;br /&gt;
  HatchLineWidth: SmallInt;              // Line width&lt;br /&gt;
  HatchDist: SmallInt;                   // Distance&lt;br /&gt;
  HatchAngle1: SmallInt;                 // Angle 1&lt;br /&gt;
  HatchAngle2: SmallInt;                 // Angle 2&lt;br /&gt;
  FillOn: boolean;                       // Fill is activated&lt;br /&gt;
  BorderOn: boolean;                     // Border line is activated&lt;br /&gt;
  StructMode: byte;                      // Structure&lt;br /&gt;
                                         //   0: None&lt;br /&gt;
                                         //   1: aligned rows&lt;br /&gt;
                                         //   2: shifted rows&lt;br /&gt;
  StructDraw: byte;                      // Structure Drawing type                      &lt;br /&gt;
                                         // 0: Clip (until OCAD 11)&lt;br /&gt;
                                         // 1: draw elements completely inside area&lt;br /&gt;
                                         // 2: draw elements with center inside area&lt;br /&gt;
                                         // 3: draw elements partially inside area&lt;br /&gt;
  StructWidth: SmallInt;                 // Width&lt;br /&gt;
  StructHeight: SmallInt;                // Height&lt;br /&gt;
  StructAngle: SmallInt;                 // Angle&lt;br /&gt;
  StructIrregularVarX: byte;             // Horizontal variation in percent from StructWidth &lt;br /&gt;
  StructIrregularVarY: byte;             // Vertical variation in percent from StructHeight&lt;br /&gt;
  StructIrregularMinDist: SmallInt;      // Minimum distance between irregular symbols&lt;br /&gt;
  StructRes: SmallInt;                   // Reserved&lt;br /&gt;
  DataSize: word;                        // number of coordinates (each 8 bytes) which follow this structure, each object header&lt;br /&gt;
                                         // counts as 2 Coordinates (16 bytes)&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Text Symbol ===&lt;br /&gt;
Text symbols are stored in the following structure. In the explanation the terms used in the Text Symbol dialog box are shown. The unit of all dimensions is 0.01 mm, except for the font sizes which are measured in 0.1 typographical points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TTextSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 4&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  FontName: string[31];                  // TrueType font&lt;br /&gt;
  FontColor: SmallInt;                   // Color&lt;br /&gt;
  FontSize: SmallInt;                    // 10 times the size in pt&lt;br /&gt;
  Weight: SmallInt;                      // Bold as used in the Windows GDI&lt;br /&gt;
                                         //   400: normal&lt;br /&gt;
                                         //   700: bold&lt;br /&gt;
  Italic: boolean;                       // true if Italic is checked&lt;br /&gt;
  Res1: byte;                            // not used&lt;br /&gt;
  CharSpace: SmallInt;                   // Char. spacing&lt;br /&gt;
  WordSpace: SmallInt;                   // Word spacing&lt;br /&gt;
  Alignment: SmallInt;                   // Alignment&lt;br /&gt;
                                         //   0: Bottom Left&lt;br /&gt;
                                         //   1: Bottom Center&lt;br /&gt;
                                         //   2: Bottom Right&lt;br /&gt;
                                         //   3: Bottom Justified&lt;br /&gt;
                                         //   4: Middle Left &lt;br /&gt;
                                         //   5: Middle Center &lt;br /&gt;
                                         //   6: Middle Right&lt;br /&gt;
                                         //   7: only in LText!&lt;br /&gt;
                                         //   8: Top Left&lt;br /&gt;
                                         //   9: Top Center&lt;br /&gt;
                                         //  10: Top Right&lt;br /&gt;
                                         //  11: only in LText!&lt;br /&gt;
  LineSpace: SmallInt;                   // Line spacing&lt;br /&gt;
  ParaSpace: SmallInt;                   // Space after Paragraph&lt;br /&gt;
  IndentFirst: SmallInt;                 // Indent first line&lt;br /&gt;
  IndentOther: SmallInt;                 // Indent other lines&lt;br /&gt;
  nTabs: SmallInt;                       // number of tabulators for text symbol&lt;br /&gt;
  Tabs: array[0..31] of longint;         // Tabulators&lt;br /&gt;
  LBOn: wordbool;                        // true if Line below On is checked&lt;br /&gt;
  LBColor: SmallInt;                     // Line color (Line below)&lt;br /&gt;
  LBWidth: SmallInt;                     // Line width (Line below)&lt;br /&gt;
  LBDist: SmallInt;                      // Distance from text&lt;br /&gt;
  Res2: SmallInt;&lt;br /&gt;
  FrMode: byte;                          // Framing mode&lt;br /&gt;
                                         //   0: no framing&lt;br /&gt;
                                         //   1: shadow framing&lt;br /&gt;
                                         //   2: line framing&lt;br /&gt;
                                         //   3: rectangle framing&lt;br /&gt;
  FrLineStyle: byte;                     // Framing line style&lt;br /&gt;
                                         //   0: default OCAD 8 Miter&lt;br /&gt;
                                         //   2: ps_Join_Bevel&lt;br /&gt;
                                         //   1: ps_Join_Round&lt;br /&gt;
                                         //   4: ps_Join_Miter&lt;br /&gt;
  PointSymOn: boolean;                   // Point symbol is activated&lt;br /&gt;
  PointSymNumber: integer;               // Point symbol for text symbol activated if PointSymOn is true&lt;br /&gt;
  Res3: string[18];                      // not used&lt;br /&gt;
  FrLeft: SmallInt;                      // Left border for rectangle framing&lt;br /&gt;
  FrBottom: SmallInt;                    // Bottom border for rectangle framing&lt;br /&gt;
  FrRight: SmallInt;                     // Right border for rectangle framing&lt;br /&gt;
  FrTop: SmallInt;                       // Top border for rectangle framing&lt;br /&gt;
  FrColor: SmallInt;                     // Framing color&lt;br /&gt;
  FrWidth: SmallInt;                     // Framing width for line framing&lt;br /&gt;
  Res4: SmallInt;                        // not used&lt;br /&gt;
  Res5: wordbool;                        // not used&lt;br /&gt;
  FrOfX: SmallInt;                       // Horizontal offset for shadow framing&lt;br /&gt;
  FrOfY: SmallInt;                       // Vertical offset for shadow framing&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Line Text Symbol ===&lt;br /&gt;
Line Text symbols are stored in the following structure. In the explanation the&lt;br /&gt;
terms used in the Line Text Symbol dialog box are shown. The unit of all dimensions&lt;br /&gt;
is 0.01 mm, except for the font sizes which are measured in 0.1 typographical points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TLTextSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 6&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                      // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  FontName: string[31];                  // TrueType font&lt;br /&gt;
  FontColor: SmallInt;                   // Color&lt;br /&gt;
  FontSize: SmallInt;                    // 10 times the value entered in Size&lt;br /&gt;
  Weight: SmallInt;                      // Bold as used in the Windows GDI&lt;br /&gt;
                                         //   400: normal&lt;br /&gt;
                                         //   700: bold&lt;br /&gt;
  Italic: boolean;                       // true if Italic is checked&lt;br /&gt;
  Res1: byte;                            // not used&lt;br /&gt;
  CharSpace: SmallInt;                   // Char. spacing&lt;br /&gt;
  WordSpace: SmallInt;                   // Word spacing&lt;br /&gt;
  Alignment: SmallInt;                   // Alignment     &lt;br /&gt;
                                         //   0: Bottom Left&lt;br /&gt;
                                         //   1: Bottom Center&lt;br /&gt;
                                         //   2: Bottom Right&lt;br /&gt;
                                         //   3: Bottom All line&lt;br /&gt;
                                         //   4: Middle Left&lt;br /&gt;
                                         //   5: Middle Center&lt;br /&gt;
                                         //   6: Middle Right&lt;br /&gt;
                                         //   7: Middle All line&lt;br /&gt;
                                         //   8: Top Left&lt;br /&gt;
                                         //   9: Top Center&lt;br /&gt;
                                         //  10: Top Right&lt;br /&gt;
                                         //  11: Top All line &lt;br /&gt;
  FrMode: byte;                          // Framing mode&lt;br /&gt;
                                         //   0: no framing&lt;br /&gt;
                                         //   1: shadow framing&lt;br /&gt;
                                         //   2: line framing&lt;br /&gt;
  FrLineStyle: byte;                     // Framing line style&lt;br /&gt;
                                         //   0: default OCAD 8 and 9.0 Miter&lt;br /&gt;
                                         //   2: ps_Join_Bevel&lt;br /&gt;
                                         //   1: ps_Join_Round&lt;br /&gt;
                                         //   4: ps_Join_Miter&lt;br /&gt;
  Res2: string[31];                      // not used&lt;br /&gt;
  FrColor: SmallInt;                     // Framing color&lt;br /&gt;
  FrWidth: SmallInt;                     // Framing width for line framing&lt;br /&gt;
  Res3: SmallInt;                        // not used&lt;br /&gt;
  Res4: wordbool;                        // not used&lt;br /&gt;
  FrOfX: SmallInt;                       // Horizontal offset for shadow framing&lt;br /&gt;
  FrOfY: SmallInt;                       // Vertical offset for shadow framing&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rectangle Symbol ===&lt;br /&gt;
Rectangle symbols are stored in the following structure. In the explanation the terms used in the Rectangle Symbol dialog box are shown. The unit of all dimensions is 0.01 mm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TRectSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 7&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                      // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  LineColor: SmallInt;                   // Line color&lt;br /&gt;
  LineWidth: SmallInt;                   // Line width&lt;br /&gt;
  Radius: SmallInt;                      // Corner radius&lt;br /&gt;
  GridFlags: word;                       // A combination of the flags&lt;br /&gt;
                                         //   1: Grid On&lt;br /&gt;
                                         //   2: Numbered from the bottom&lt;br /&gt;
  CellWidth: SmallInt;                   // Cell width&lt;br /&gt;
  CellHeight: SmallInt;                  // Cell height&lt;br /&gt;
  ResGridLineColor: SmallInt;            // Reserved&lt;br /&gt;
  ResGridLineWidth: SmallInt;            // Reserved&lt;br /&gt;
  UnnumCells: SmallInt;                  // Unnumbered Cells&lt;br /&gt;
  UnnumText: string[3];                  // Text in unnumbered Cells&lt;br /&gt;
  LineStyle: SmallInt;                   // Line style&lt;br /&gt;
                                         //   1: flat caps&lt;br /&gt;
                                         //   0: round caps&lt;br /&gt;
                                         //   4: flat caps&lt;br /&gt;
  Res2: string[31];                      // not used&lt;br /&gt;
  ResFontColor: SmallInt;                // Reserved&lt;br /&gt;
  FontSize: SmallInt;                    // font size&lt;br /&gt;
  Res3: SmallInt;                        // not used&lt;br /&gt;
  Res4: wordbool;                        // not used&lt;br /&gt;
  Res5: SmallInt;                        // not used&lt;br /&gt;
  Res6: SmallInt;                        // not used&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Objects ==&lt;br /&gt;
Each Object Index Block contains the position of the next Object Index Block and the file position and other information of 256 objects.&lt;br /&gt;
&lt;br /&gt;
=== Object Index Block ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TObjectIndexBlock = record   // Size: 10296 Bytes&lt;br /&gt;
  NextObjectIndexBlock: integer;&lt;br /&gt;
  Table: array[0..255] of TObjectIndex;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OCAD Object Index===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TObjectIndex = packed record // Size: 40 Byte&lt;br /&gt;
  rc: LRect;                 // bounding box (lower left and upper right)&lt;br /&gt;
  Pos: integer;              // file position of the object -&amp;gt; TOcadObject&lt;br /&gt;
  Len: integer;              // number of coordinate pairs, the size of the object in the file is then calculated by: 32 + 8*Len&lt;br /&gt;
                             // Note: this is reserved space in the file, the effective length of the object may be shorter&lt;br /&gt;
  Sym: integer;              // -4 = layout vector object                     &lt;br /&gt;
                             // -3 = image object, imported from DTP formats (eg AI, PDF, SVG)&lt;br /&gt;
                             // -2 = graphic object&lt;br /&gt;
                             // -1 = imported, no symbol assigned or symbol number&lt;br /&gt;
  ObjType: byte;             // 1 = Point object&lt;br /&gt;
                             // 2 = Line object&lt;br /&gt;
                             // 3 = Area object&lt;br /&gt;
                             // 4 = Unformatted text&lt;br /&gt;
                             // 5 = Formatted text&lt;br /&gt;
                             // 6 = Line text&lt;br /&gt;
                             // 7 = Rectangle object&lt;br /&gt;
  EncryptedMode: byte;       // 0 = normal                                    &lt;br /&gt;
                             // 1 = encoded object (TOcadObject)&lt;br /&gt;
  Status: byte;              // 0 = deleted (not undo) (eg from symbol editor or course setting)&lt;br /&gt;
                             // 1 = normal&lt;br /&gt;
                             // 2 = hidden&lt;br /&gt;
                             // 3 = deleted for undo&lt;br /&gt;
  ViewType: byte;            // 0 = normal object&lt;br /&gt;
                             // 1 = course setting object&lt;br /&gt;
                             // 2 = modified preview object&lt;br /&gt;
                             // 3 = unmodified preview object&lt;br /&gt;
                             // 4 = temporary object (symbol editor or control description)&lt;br /&gt;
  Color: SmallInt;           // Color number for graphic objects, -1 for image or layout objects&lt;br /&gt;
  Group: SmallInt;           // Group number of grouped objects               &lt;br /&gt;
  ImpLayer: SmallInt;        // Layer number of imported objects, 0 means no layer number&lt;br /&gt;
  DbDatasetHash: byte;       // Internal use        &lt;br /&gt;
  DbKeyHash: byte;           // Internal use&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OCAD Object ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TOcadObject = packed record         //&lt;br /&gt;
  Sym: Integer;                     // &amp;gt;0 = symbol number&lt;br /&gt;
                                    // -4 = layout vector object               &lt;br /&gt;
                                    // -3 = from PDF, AI&lt;br /&gt;
                                    // -2 = graphic object&lt;br /&gt;
                                    // -1 = imported, no symbol assigned or symbol number&lt;br /&gt;
  Otp: Byte;                        // object typ&lt;br /&gt;
  _Customer: Byte;                  // &lt;br /&gt;
  Ang: SmallInt;                    // Angle, unit is 0.1 degrees, used for&lt;br /&gt;
                                    // - point object&lt;br /&gt;
                                    // - area objects with structure&lt;br /&gt;
                                    // - unformatted text objects&lt;br /&gt;
                                    // - rectangle objects&lt;br /&gt;
  Col: integer;                     // Color number for graphic objects, color value for image or layout objects&lt;br /&gt;
  LineWidth: SmallInt;              // Line width for graphic, image and layout objects&lt;br /&gt;
  DiamFlags: SmallInt;              // Line style for graphic objects&lt;br /&gt;
  ServerObjectId: Integer;          // added for server objects                &lt;br /&gt;
  Height: Integer;                  // Height [1/256 mm]                      &lt;br /&gt;
  CreationDate: Double              // creation date&lt;br /&gt;
  MultirepresentationId: Cardinal;  // id references to the main object        &lt;br /&gt;
  ModificationDate: Double          // modification date                           &lt;br /&gt;
  nItem: Cardinal;                  // number of coordinates in the Poly array&lt;br /&gt;
  nText: Word;                      // number of characters in the Poly, array used for storing text for line text objects and text objects&lt;br /&gt;
                                    // for all other objects it is 0&lt;br /&gt;
  nObjectString: Word;              // length of object string&lt;br /&gt;
  nDatabaseString: Word;            // length of database link&lt;br /&gt;
  ObjectStringType: Byte;           // type of object string in Poly array &lt;br /&gt;
                                    // None = 0&lt;br /&gt;
                                    // Coures setting object = 1  &lt;br /&gt;
                                    // Coures setting preview object = 2  &lt;br /&gt;
                                    // Coures setting layout object = 3  &lt;br /&gt;
                                    // Coures setting thematic object = 4  &lt;br /&gt;
  Res1: Byte;                       // not used                       &lt;br /&gt;
  Poly: TDPoly;                     // array[0..] coordinates of the object followed by a zero-terminated string&lt;br /&gt;
                                    // if nText &amp;gt; 0 TCord is explained at the beginning of this description&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameter Strings ==&lt;br /&gt;
The Parameter Strings contain all the information about the setup structure, background maps,course setting and database connection.&lt;br /&gt;
&lt;br /&gt;
Similar to the symbols and objects there are String Index Blocks which contain the basic information for 256 Parameter Strings and the file position of the strings.&lt;br /&gt;
&lt;br /&gt;
TStringIndexBlock contains the basic information for 256 strings&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TStringIndexBlock = record&lt;br /&gt;
  NextIndexBlock: Cardinal;            // file position of the next StringIndexBlock, 0 if this is the last StringIndexBlock&lt;br /&gt;
  Table: array[0..255] of TStringIndex;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TStIndex contains the basic information for 1 string:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TStringIndex = packed record&lt;br /&gt;
  Pos: Cardinal;                      // file position of string&lt;br /&gt;
  Len: integer;                       // length reversed for the string&lt;br /&gt;
  RecType: integer;                   // string typ number, if &amp;lt; 0 then deleted string&lt;br /&gt;
  ObjIndex: integer;                  // index of the object&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
StringIndexBlk in the FileHeader points to the first StringIndexBlock.&lt;br /&gt;
&lt;br /&gt;
The strings (null terminated) have the following structure:&lt;br /&gt;
* first field: all characters until the first tab (character 9). The first field can be missing (the string starts with a tab).&lt;br /&gt;
* tab (character 9)&lt;br /&gt;
* code: this is the first character after the tab&lt;br /&gt;
* value: all characters until the next tab&lt;br /&gt;
* tab&lt;br /&gt;
* code&lt;br /&gt;
* value&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
Some of String Types (number &amp;lt; 1000) may have multiple instances of the same type. They have to be stored as lists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Course = 2;&lt;br /&gt;
  // First = CourseName&lt;br /&gt;
  // C = Climb&lt;br /&gt;
  // E = Extra distance&lt;br /&gt;
  // F = from start number (auto created class)&lt;br /&gt;
  // H = ClassName for control description (imported from event software)       &lt;br /&gt;
  // K = Combination (imported from event software)                         &lt;br /&gt;
  // M = Map file&lt;br /&gt;
  // R = number of runners/teams (auto created class)&lt;br /&gt;
  // S = Map scale&lt;br /&gt;
  // T = to start number (auto created class)&lt;br /&gt;
  // Y = Course type (s = relay, o = one-man relay)&lt;br /&gt;
  // L = Number of Legs (used for relay and one-man relay)&lt;br /&gt;
  // s = start&lt;br /&gt;
  // c = control&lt;br /&gt;
  // m = marked route&lt;br /&gt;
  // k = mandatory crossing point&lt;br /&gt;
  // w = mandatory passage through out of bounds area&lt;br /&gt;
  // g = map change&lt;br /&gt;
  // f = finish&lt;br /&gt;
  // l = leg variation starts&lt;br /&gt;
  // b = branch of a leg variation starts&lt;br /&gt;
  // p = end of a leg variation&lt;br /&gt;
  // r = relay variation starts&lt;br /&gt;
  // v = branch of a relay variation starts&lt;br /&gt;
  // q = end of a relay variation&lt;br /&gt;
  // e = used internally only (control number)&lt;br /&gt;
  // i = used internally only (back to begin of variation)&lt;br /&gt;
  // j = used internally only (line to end of variation)&lt;br /&gt;
  // n = course name object&lt;br /&gt;
  // u = start number object&lt;br /&gt;
  // t = text block for control description&lt;br /&gt;
  // o = other object&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsClass = 3;&lt;br /&gt;
  // First = class name&lt;br /&gt;
  // c = Course name&lt;br /&gt;
  // f = FromNumber (relay)&lt;br /&gt;
  // r = Number of runners&lt;br /&gt;
  // t = ToNumber (relay)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DataSet = 4;&lt;br /&gt;
  // First = dataset name&lt;br /&gt;
  // e = dBase file&lt;br /&gt;
  // d = ODBC data source&lt;br /&gt;
  // u = database user name (encrypted)                                    &lt;br /&gt;
  // p = database password (encrypted)                                            &lt;br /&gt;
  // t = table&lt;br /&gt;
  // k = key field&lt;br /&gt;
  // r = secondary table, reference key&lt;br /&gt;
  // s = secondary table, table key&lt;br /&gt;
  // m = secondary table, key&lt;br /&gt;
  // y = symbol field&lt;br /&gt;
  // b = Assign new symbol when changing field value [boolean, false]        &lt;br /&gt;
  // x = text field&lt;br /&gt;
  // f = size field&lt;br /&gt;
  // l = length unit&lt;br /&gt;
  // a = area unit&lt;br /&gt;
  // c = decimals&lt;br /&gt;
  // h = easting field&lt;br /&gt;
  // v = northing field&lt;br /&gt;
  // g = angle field  &lt;br /&gt;
  // j = date field                                                          &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimFile = 6;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_BackgroundMap = 8;&lt;br /&gt;
  // First = file name&lt;br /&gt;
  // a = angle omega [double, 8]&lt;br /&gt;
  // b = angle phi [double, 8]&lt;br /&gt;
  // d = dim&lt;br /&gt;
  // o = render with spot colors (only for raster background maps)&lt;br /&gt;
  // p = assigned to spot color (only for raster background maps)&lt;br /&gt;
  // q = subtract from spot color (0 = normal, 1 = subtract)&lt;br /&gt;
  // r = visible in background favorites (0 = hidden, 1 = visible)&lt;br /&gt;
  // s = visible in normal, spot color and draft mode (0 = hidden, 1 = visible)&lt;br /&gt;
  // t = transparent&lt;br /&gt;
  // x = offset x [double, 6]&lt;br /&gt;
  // y = offset y [double, 6]&lt;br /&gt;
  // u = pixel size x [double, 10]&lt;br /&gt;
  // v = pixel size y [double, 10]&lt;br /&gt;
  // i = is infrared image (0=undefined, 1=32bit-infrared, 2=32bit RGB)           &lt;br /&gt;
  // m = is WMS online background map                                             &lt;br /&gt;
  // k = WMS server name                                                          &lt;br /&gt;
  // l = WMS layer name                                                          &lt;br /&gt;
  // n = WMS layer scale range                                   &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Color = 9;&lt;br /&gt;
  // First = name&lt;br /&gt;
  // n = number&lt;br /&gt;
  // c = cyan&lt;br /&gt;
  // m = magenta&lt;br /&gt;
  // y = yellow&lt;br /&gt;
  // k = black&lt;br /&gt;
  // o = overprint&lt;br /&gt;
  // t = transparency&lt;br /&gt;
  // s = spot color separation name&lt;br /&gt;
  // p = percentage in the spot color separation&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SpotColor = 10;&lt;br /&gt;
  // First = name&lt;br /&gt;
  // v = visible&lt;br /&gt;
  // n = number&lt;br /&gt;
  // f = frequency (lpi)&lt;br /&gt;
  // a = angle&lt;br /&gt;
  // c = cyan&lt;br /&gt;
  // m = magenta&lt;br /&gt;
  // y = yellow&lt;br /&gt;
  // k = black&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Zoom = 12;&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ImpLayer = 13;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // n = layer number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimFind = 14;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // c = Condition&lt;br /&gt;
  // d = Dataset&lt;br /&gt;
  // f = From zoom&lt;br /&gt;
  // h = Hint field&lt;br /&gt;
  // n = Name field&lt;br /&gt;
  // o = Hotspot type&lt;br /&gt;
  // p = Pointer type&lt;br /&gt;
  // s = Show hotspots&lt;br /&gt;
  // l = List names(in listbox)&lt;br /&gt;
  // t = To zoom&lt;br /&gt;
  // u = URL field&lt;br /&gt;
  // x = Prefix&lt;br /&gt;
  // y = Postfix&lt;br /&gt;
  // z = Target&lt;br /&gt;
  // r = Pointer color red&lt;br /&gt;
  // g = Pointer color green&lt;br /&gt;
  // b = Pointer color blue&lt;br /&gt;
  // R = Hotspot color red&lt;br /&gt;
  // G = Hotspot color green&lt;br /&gt;
  // B = Hotspot color blue&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SymTree = 15;&lt;br /&gt;
  // First = name &lt;br /&gt;
  // g = group id &lt;br /&gt;
  // v = visible&lt;br /&gt;
  // e = is node expanded (boolean)                                               &lt;br /&gt;
  // i = Level in Tree                                                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Bookmark = 18;                                                              &lt;br /&gt;
  // First = bookmark name&lt;br /&gt;
  // d = description&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Selection = 19;                                                              &lt;br /&gt;
  // First = selection name&lt;br /&gt;
  // n = number&lt;br /&gt;
  // o = object ids&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Group = 23;                                                          &lt;br /&gt;
  // First = Name&lt;br /&gt;
  // n = group number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RecentDocs = 24;                                                              &lt;br /&gt;
  // First = file name&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsAutoCdAllocationTable = 25;                                                &lt;br /&gt;
  // First = Map symbol number (STRING)&lt;br /&gt;
  // a = Control description symbol 0 (STRING)&lt;br /&gt;
  // b = Control description symbol 1 (STRING)&lt;br /&gt;
  // c = Control description symbol 2 (STRING)&lt;br /&gt;
  // d = Control description symbol 3 (STRING)&lt;br /&gt;
  // e = Control description symbol 4 (STRING)&lt;br /&gt;
  // f = Control description symbol 5 (STRING)&lt;br /&gt;
  // g = Control description dragged direction (STRING)&lt;br /&gt;
  // h = Control description click (STRING)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulerGuidesList = 26;                                                         &lt;br /&gt;
  // h = horizontal guide (0=vertical, 1=horizontal)&lt;br /&gt;
  // c = x or y ccordiante (INTEGER, OCAD coordinate)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_LayoutObjects = 27;                                                          &lt;br /&gt;
  // First = path for images; description for vector objects&lt;br /&gt;
  // r = type: raster image object = 1; vector object = 0&lt;br /&gt;
  // s = visible (0 = hidden, 1 = visible)&lt;br /&gt;
  // a = angle omega&lt;br /&gt;
  // b = angle phi&lt;br /&gt;
  // d = dim&lt;br /&gt;
  // t = transparent&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // u = pixel size x&lt;br /&gt;
  // v = pixel size y&lt;br /&gt;
  // i = is infrared image (0=undefined, 1=32bit-infrared, 2=32bit RGB)          &lt;br /&gt;
  // n = ObjectIndex&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PrintAndExportRectangleList = 29;                                           &lt;br /&gt;
  // First = Name&lt;br /&gt;
  // b = bottom [integer, ocad unit]&lt;br /&gt;
  // l = left [integer, ocad unit]&lt;br /&gt;
  // r = right [integer, ocad unit]&lt;br /&gt;
  // t = top [integer, ocad unit]&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DisplayPar = 1024;&lt;br /&gt;
  // f = Show symbol favorites&lt;br /&gt;
  // g = selected symbol group&lt;br /&gt;
  // s = selected symbol&lt;br /&gt;
  // t = Show symbol tree&lt;br /&gt;
  // h = horizontal splitter (pixel from top)                                    &lt;br /&gt;
  // v = vertical splitter (pixel from right)                                     &lt;br /&gt;
  // b = horizontal splitter for background map panel (pixel from top)           &lt;br /&gt;
  // i = display mode for unsymbolized objects (0=normal, 2=hidden)             &lt;br /&gt;
  // j = display mode for graphic objects (0=normal, 2=hidden)                    &lt;br /&gt;
  // k = display mode for image objects (0=normal, 1=protect, 2=hidden) &lt;br /&gt;
  // l = display mode for layout objects (0=normal, 2=hidden)                    &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemClassifyVegetationClassList = 30;                                           //11-1112&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // a = fromHeight100&lt;br /&gt;
  // b = toHeight100&lt;br /&gt;
  // c = fromColorCyan&lt;br /&gt;
  // d = fromColorMagenta&lt;br /&gt;
  // e = fromColorYellow&lt;br /&gt;
  // f = fromColorBlack&lt;br /&gt;
  // g = toColorCyan&lt;br /&gt;
  // h = toColorMagenta&lt;br /&gt;
  // i = toColorYellow&lt;br /&gt;
  // j = toColorBlack&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsTextBlock = 31;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapThemes = 32;                                                        //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapVisualizationProperties = 33;                                       //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapObjects = 34;                                                       //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Layers = 35;                                                                   //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SymbolStatusManager = 36;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // s = status string&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrBoundRects = 50;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrProjectMatrix = 51;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrOptions = 52;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DisplayPar = 1024;&lt;br /&gt;
  // f = Show symbol favorites&lt;br /&gt;
  // g = selected symbol group&lt;br /&gt;
  // s = selected symbol&lt;br /&gt;
  // t = Show symbol tree&lt;br /&gt;
  // h = horizontal splitter (pixel from top)                                  &lt;br /&gt;
  // v = vertical splitter (pixel from right)                                    &lt;br /&gt;
  // b = horizontal splitter for background map panel (pixel from top)          &lt;br /&gt;
  // i = display mode for unsymbolized objects (0=normal, 2=hidden)             &lt;br /&gt;
  // j = display mode for graphic objects (0=normal, 2=hidden)                   &lt;br /&gt;
  // k = display mode for image objects (0=normal, 1=protect, 2=hidden) &lt;br /&gt;
  // l = display mode for layout objects (0=normal, 2=hidden)            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimPar = 1025;&lt;br /&gt;
  // First = OpenLayers&lt;br /&gt;
  // a = Anti-Aliasing  [boolean]                                                 &lt;br /&gt;
  // b = Border width [integer]&lt;br /&gt;
  // A = Map title [string]&lt;br /&gt;
  // C = Map subtitle [string]&lt;br /&gt;
  // D = Base layer name [string]&lt;br /&gt;
  // E = Editlayer enable [boolean]&lt;br /&gt;
  // F = Searchbox enable [boolean]&lt;br /&gt;
  // s = Search/listbox with selection [boolean]&lt;br /&gt;
  // m = Do not create tiles [boolean]&lt;br /&gt;
  // H = Show layer selector [boolean]&lt;br /&gt;
  // I = Show overview map [boolean]&lt;br /&gt;
  // i = Show overview map maximized [ boolean]&lt;br /&gt;
  // K = Show mouse coordinates [boolean]&lt;br /&gt;
  // P = Show Permalink [boolean]&lt;br /&gt;
  // J = Font size in pt [integer]&lt;br /&gt;
  // L = Subheader fontsize in pt [integer]&lt;br /&gt;
  // R = Site background color red [integer: 0..255]&lt;br /&gt;
  // G = Site background color green [integer: 0..255]&lt;br /&gt;
  // B = Site background color blue  [integer: 0..255]&lt;br /&gt;
  // M = Border color [string] as hex e.g.: 00FF00 must be exact 6 values&lt;br /&gt;
  // N = Header font color [string] as hex exapmle see border color&lt;br /&gt;
  // O = Header background color [string] as hex&lt;br /&gt;
  // T = Subheader font color [string] as hex&lt;br /&gt;
  // Q = Subheader background color [string] as hex&lt;br /&gt;
  // X = Filename of last Safeplace [string]&lt;br /&gt;
  // f = Generate map from zoomlevel [integer]                                   &lt;br /&gt;
  // t = Generate map to zoomlevel [integer]&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PrintPar = 1026;&lt;br /&gt;
  // a = print scale&lt;br /&gt;
  // l = landscape&lt;br /&gt;
  // c = print (0 = color map, 1 = spot color separation)&lt;br /&gt;
  // g = print screen grid&lt;br /&gt;
  // d = screen grid color&lt;br /&gt;
  // i = intensity&lt;br /&gt;
  // w = additional width for lines and dots&lt;br /&gt;
  // r = Range (0 entire map, 1 part of map, 2 one page)&lt;br /&gt;
  // L = part of map left&lt;br /&gt;
  // B = part of map bottom&lt;br /&gt;
  // R = part of map right&lt;br /&gt;
  // T = part of map top&lt;br /&gt;
  // x = horizontal overlap&lt;br /&gt;
  // y = vertical overlap&lt;br /&gt;
  // b = print black   (course setting only)&lt;br /&gt;
  // m = Mirror        (course setting only)&lt;br /&gt;
  // s = HorScal       (course setting only)&lt;br /&gt;
  // t = VerScal       (course setting only)&lt;br /&gt;
  // p = reference point for part of map setup ([0..8])                         &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CdPrintPar = 1027;&lt;br /&gt;
  // s = Size&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DefaultBackgroundMapsPar = 1028;                                             &lt;br /&gt;
  // s = default scale&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_EpsPar = 1029;&lt;br /&gt;
  // r = EPS resolution&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ViewPar = 1030;&lt;br /&gt;
  // b = draft mode IGN for ocad-map [int: 0..100]&lt;br /&gt;
  // c = draft mode IGN background maps [int: 0..100]&lt;br /&gt;
  // d = hidden background maps&lt;br /&gt;
  // m = draft mode for ocad-map [int: 0..100]&lt;br /&gt;
  // t = draft mode background maps [int: 0..100]&lt;br /&gt;
  // v = view mode (0=normal, 1=spot colors, 2=draft, 3=draft IGN)&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
  // h = hatch areas (0 = normal, 1 = hatched)&lt;br /&gt;
  // k = keyline mode (0 = normal, 1 = keyline)                                  &lt;br /&gt;
  // i = map visible                                                             &lt;br /&gt;
  // l = hidden layout&lt;br /&gt;
  // OLD: a, p, s&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CoursePar = 1031;&lt;br /&gt;
  // a = create classes automatically&lt;br /&gt;
  // b = background for control description&lt;br /&gt;
  // B = draw white background also in draft mode (BOOL)&lt;br /&gt;
  // c = numbering (0 = number, 1 = number and code, 2 = code only)&lt;br /&gt;
  // d = control descriptions for all controls&lt;br /&gt;
  // e = event title&lt;br /&gt;
  // f = control frequencies (0 = number and frequencies, 1 = frequencies only)&lt;br /&gt;
  // h = thicker horizonal line in control description (0=not, 1=every third, 2=every fourth)&lt;br /&gt;
  // i = maximal length of control description (number of rows)&lt;br /&gt;
  // l = distance to connection line&lt;br /&gt;
  // n = distance to number&lt;br /&gt;
  // o = lock for cs object positions (0=unlocked, 1=locked) (BOOL)              &lt;br /&gt;
  // p = fullstop after control number (BOOL)                                          &lt;br /&gt;
  // q = lock for cs courses (0=unlocked, 1=locked) (BOOL)                       &lt;br /&gt;
  // r = export relay combinations&lt;br /&gt;
  // s = cell size control description&lt;br /&gt;
  // t = course title&lt;br /&gt;
  // u = punching system (0=SportIdent, 1=Emit, 2=other) (Integer)&lt;br /&gt;
  // w = write number of start to control description (BOOL)                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_TiffPar = 1032;&lt;br /&gt;
  // c = compression (1 = no compression, 2 = CCITT, 4 = FaxG4, 5 = LZW)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_TilesPar = 1033;&lt;br /&gt;
  // w = width&lt;br /&gt;
  // h = height&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbPar = 1034;&lt;br /&gt;
  // d = dataset&lt;br /&gt;
  // l = last code&lt;br /&gt;
  // n = create new record&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ExportPar = 1035;&lt;br /&gt;
  // First = Format (AI, BMP, DXF, GIF, JPEG, OIM, PDF, Shape, SVG, TIFF)&lt;br /&gt;
  // a = Anti-Aliasing&lt;br /&gt;
  // b = combined spot colors&lt;br /&gt;
  // c = color format (0 = 24 bit, 1 = 256 colors, 2 = grayscale, 3 = 1 bit, 4 = halftone screen)    &lt;br /&gt;
  // g = Raster (geo-referenced)export mode 0 = resolution, 1 = pixel size      &lt;br /&gt;
  // i = pixel size (in Meter)                                                  &lt;br /&gt;
  // l = color correction (0 off, 1 on)&lt;br /&gt;
  // o = spot color separations (0=CMYK, 1=spot colors)&lt;br /&gt;
  // p = part of map (0 off, 1 on)&lt;br /&gt;
  // q = JPEG quality (INTEGER, [0..100])                                         &lt;br /&gt;
  // r = resolution&lt;br /&gt;
  // s = scale&lt;br /&gt;
  // t = tiles (0 off, 1 on)&lt;br /&gt;
  // w = world file                                                              &lt;br /&gt;
  // z = compressed svg file (0 off, 1 on)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsExpTextPar = 1037;&lt;br /&gt;
  // C = classes (0 = courses, 1 = classes)&lt;br /&gt;
  // L = export climbing (0 = off, 1 = on)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsExpStatPar = 1038;&lt;br /&gt;
  // C = classes (0 = courses, 1 = classes)&lt;br /&gt;
  // a = separator 1&lt;br /&gt;
  // b = tab 1&lt;br /&gt;
  // c = separator 2&lt;br /&gt;
  // d = tab 2&lt;br /&gt;
  // e = separator 3&lt;br /&gt;
  // f = tab 3&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ScalePar = 1039;&lt;br /&gt;
  // a = real world angle&lt;br /&gt;
  // b = additional local easting offset in m                                 &lt;br /&gt;
  // c = additional local northing offset in m                                  &lt;br /&gt;
  // d = grid distance for real world  in m [double, 6]&lt;br /&gt;
  // g = grid distance for paper coordinates in mm [double, 6]&lt;br /&gt;
  // i = grid and zone&lt;br /&gt;
  // m = map scale&lt;br /&gt;
  // r = real world cord (0 = paper, 1 = real world)&lt;br /&gt;
  // x = real world offset easting &lt;br /&gt;
  // y = real world offset northing&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbCreateObjPar = 1040;&lt;br /&gt;
  // c = condition&lt;br /&gt;
  // d = dataset&lt;br /&gt;
  // t = text field&lt;br /&gt;
  // m = unit of measure (m = m, km = km)&lt;br /&gt;
  // u = horizontal offset&lt;br /&gt;
  // v = vertical offset&lt;br /&gt;
  // x = horizontal field&lt;br /&gt;
  // y = vertical field&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SelectedSpotColors = 1041;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_XmlScriptPar = 1042;                                                          &lt;br /&gt;
  // f = last used file&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_BackupPar = 1043;                                                             &lt;br /&gt;
  // p = path&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ExportPartOfMapPar = 1044;                                                    &lt;br /&gt;
  // b = boundary (0=rectangular boundries, 1=selected object for boundries)&lt;br /&gt;
  // s = export with selected object (0=false, 1=true)&lt;br /&gt;
  // r = reference point for part of map setup ([0..8])                         &lt;br /&gt;
  // l = export database links (0=false, 1=true)                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemPar = 1045;                                                                &lt;br /&gt;
  // First = file&lt;br /&gt;
  // l = DEM loaded&lt;br /&gt;
  // f = Frame visible&lt;br /&gt;
  // i = last used import folder                                                &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpsImportFilePar = 1046;                                                      &lt;br /&gt;
  // a = assign symbol (true/false)&lt;br /&gt;
  // t = symbol number for tracks&lt;br /&gt;
  // w = symbol number for waypoint&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ImportCsv = 1047;                                                             &lt;br /&gt;
  // n = point symbol number&lt;br /&gt;
  // t = text symbol number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RelayCoursesDialog = 1048;                                                   &lt;br /&gt;
  // First = last exported or printed course (STRING)&lt;br /&gt;
  // l = legs (-1=All) (INT)&lt;br /&gt;
  // p = variants selected (0=start numbers, 1=variants) (BOOL)&lt;br /&gt;
  // s = start number (-1=All) (STRING)&lt;br /&gt;
  // v = variants index (-1=All) (INT)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsAutoControlDescription = 1049;                                              &lt;br /&gt;
  // First = ocd background map file name for auto control description (STRING)&lt;br /&gt;
  // a = auto control description (0=off, 1=off) (BOOL)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpxExportPar = 1050;                                                           &lt;br /&gt;
  // First = description&lt;br /&gt;
  // a = author&lt;br /&gt;
  // k = keywords&lt;br /&gt;
  // r = routes or tracks (true = routes, false = tracks)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_KmlInfo = 1051;                                                       &lt;br /&gt;
  // Description in ExpKml.pas&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpsRouteAnalyzer = 1052;                                                      &lt;br /&gt;
  // First = Project file&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CoordinateSystemPar = 1053;        // only used for user defined grid                                &lt;br /&gt;
  //First = description&lt;br /&gt;
  // d = datumId&lt;br /&gt;
  // e = ellipsoidId&lt;br /&gt;
  // x = ellipsoid axis&lt;br /&gt;
  // t = ellipsoid flattening&lt;br /&gt;
  // r = projectionId&lt;br /&gt;
  // m = false easting&lt;br /&gt;
  // n = false northing&lt;br /&gt;
  // f = scale factor&lt;br /&gt;
  // c = central meridian&lt;br /&gt;
  // o = longitude of origin&lt;br /&gt;
  // a = latitude of origin&lt;br /&gt;
  // s = standard parallel 1&lt;br /&gt;
  // p = standard parallel 2&lt;br /&gt;
  // l = location&lt;br /&gt;
  // z = azimuth&lt;br /&gt;
  // g = EPSG code                                                               &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GraticulePar = 1054;                                                           &lt;br /&gt;
  // h = horizontal distance&lt;br /&gt;
  // v = vertical distance&lt;br /&gt;
  // l = symbol number for grid lines&lt;br /&gt;
  // t = symbol number for text labels&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GraticuleNameIndexPar = 1055;                                                 &lt;br /&gt;
  // s = style&lt;br /&gt;
  // x = index origin of longitude&lt;br /&gt;
  // y = index origin of latitude&lt;br /&gt;
  // h = horizontal distance&lt;br /&gt;
  // v = vertical distance&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_KmzExportPar = 1056;                                                         &lt;br /&gt;
  // first = Name: string&lt;br /&gt;
  // t = Tiles: integer (0 = no tiles, 1 = Garmin Custom Maps optimized, 2 = tiles)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_LegendPar = 1057;                                                             &lt;br /&gt;
  // u = show only Used Symbols&lt;br /&gt;
  // v = show also hidden symbols                                                &lt;br /&gt;
  // h = icon Height&lt;br /&gt;
  // w = icon Height&lt;br /&gt;
  // y = line Spacing100&lt;br /&gt;
  // p = show Point Symbols&lt;br /&gt;
  // l = show Point Symbols&lt;br /&gt;
  // a = show Point Symbols&lt;br /&gt;
  // r = show Point Symbols&lt;br /&gt;
  // t = show Point Symbols&lt;br /&gt;
  // z = show Point Symbols&lt;br /&gt;
  // d = description Symbol&lt;br /&gt;
  // s = show Symbol Number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulersPar = 1058;                                                           &lt;br /&gt;
  // no First&lt;br /&gt;
  // s = show (0=false, 1=true)&lt;br /&gt;
  // x = ruler origin x (INTEGER, OCAD coordinate)&lt;br /&gt;
  // y = ruler origin y (INTEGER, OCAD coordinate)&lt;br /&gt;
  // m = move also ruler guides (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulerGuidesPar = 1059;                                                         &lt;br /&gt;
  // no First&lt;br /&gt;
  // s = show (0=false, 1=true)&lt;br /&gt;
  // l = lock (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbOptions = 1060;                                                             &lt;br /&gt;
  // c = create record when cutting object (0=false, 1=true)&lt;br /&gt;
  // d = delete record when deleting object (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapNotes = 1061;                                                              &lt;br /&gt;
  // First = text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SendFileByEmail = 1062;                                                        &lt;br /&gt;
  // First = subject&lt;br /&gt;
  // t = to&lt;br /&gt;
  // d = add loaded DEM (0=false, 1=true)&lt;br /&gt;
  // a = add loaded databases (0=false, 1=true)&lt;br /&gt;
  // b = add loaded databases (0=false, 1=true)&lt;br /&gt;
  // l = add loaded databases (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapGridPar = 1063;                                                             &lt;br /&gt;
  // a = angle&lt;br /&gt;
  // e = easting offset&lt;br /&gt;
  // n = northing offset&lt;br /&gt;
  // h = horizontal (easting) distance&lt;br /&gt;
  // v = vertical (northing) distance&lt;br /&gt;
  // x = create easting grid lines&lt;br /&gt;
  // y = create northing grid lines&lt;br /&gt;
  // j = create vertices at grid junctions                                       &lt;br /&gt;
  // l = symbol number for grid lines&lt;br /&gt;
  // s = grid labels &lt;br /&gt;
  // t = symbol number for text labels&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemSlopePar = 1064;                                                           &lt;br /&gt;
  // m = Method: 0 = continuous; 1 = black/white&lt;br /&gt;
  // c = Slope for black pixels in continuous method&lt;br /&gt;
  // b = Slope for black pixels in black/white method&lt;br /&gt;
  // l = load slope map as background map&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemProfilePar = 1065;                                                        &lt;br /&gt;
  // First = profile template path&lt;br /&gt;
  // a = scale option (0=auto-scale, 1=used defined scale)&lt;br /&gt;
  // c = scale&lt;br /&gt;
  // d = distance unit (0=km, 1=m)&lt;br /&gt;
  // g = show grid (0=false, 1=true)&lt;br /&gt;
  // m = time unit (0=h:mm)&lt;br /&gt;
  // r = round time steps (0=no round, 5=round to 5 minutes, 10=round to 10 minutes)&lt;br /&gt;
  // t = show text at the bottom of the profile (0=false, 1=true)&lt;br /&gt;
  // x = length resolution&lt;br /&gt;
  // z = elevation resolution&lt;br /&gt;
  // k = elevation factor&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemHillshadingPar = 1066;                                                    &lt;br /&gt;
  // m = Method: 0 = simple; 1 = combined&lt;br /&gt;
  // a = azimut&lt;br /&gt;
  // c = DEM cell size (0=false, 1=true)&lt;br /&gt;
  // d = declination&lt;br /&gt;
  // e = exaggeration&lt;br /&gt;
  // i = interpolation mode (INTEGER)&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
  // r = resolution&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemHypsometricMapPar = 1067;                                                  &lt;br /&gt;
  // c = color ramp type [0..2] (INTEGER)&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
  // w = use white color for elevation 0 (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemClassifyVegetationPar = 1068;                                              &lt;br /&gt;
  // m = Method: 0 = grayscale; 1 = colored&lt;br /&gt;
  // g = Grayscale color ramp: 0 = linear, 1 = quadratic negative, 2 = quadratic positive&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ShapeExportPar = 1069;                                                       &lt;br /&gt;
  // a = item &#039;area objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // c = create projection file&lt;br /&gt;
  // d = dataset [&#039;all&#039; = All Objects or name of dataset]&lt;br /&gt;
  // l = item &#039;line objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // p = item &#039;point objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // r = replace word wrap by tilde (0=false, 1=true)&lt;br /&gt;
  // t = item &#039;text objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // u = UTF-8 Encoding (0=false, 1=true)                                        &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DxfExportPar = 1070;                                                         &lt;br /&gt;
  // a = convert text from ANSI to OEM (0=false, 1=true)&lt;br /&gt;
  // o = convert text from OEM to Unicode (0=false, 1=true)&lt;br /&gt;
  // s = only objects with selected symbol (0=false, 1=true)&lt;br /&gt;
  // l = add symbol description in DXF layer name (0=false, 1=true)&lt;br /&gt;
  // e = export OCAD Curves as DXF splines (0=false, 1=true)&lt;br /&gt;
  // c = coordinates (0=m, 1=mm)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemImportLasPar = 1071;                                                       &lt;br /&gt;
  // u = unclassified&lt;br /&gt;
  // g = ground&lt;br /&gt;
  // l = low  vegetation&lt;br /&gt;
  // m = mean vegetation&lt;br /&gt;
  // h = high vegetation&lt;br /&gt;
  // b = buildings&lt;br /&gt;
  // w = water class&lt;br /&gt;
  // o = other class&lt;br /&gt;
  // r = Return option&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapRoutingPar = 1072;                                                      &lt;br /&gt;
  // f = from (0=Location, 1=Coordinate)&lt;br /&gt;
  // l = from location&lt;br /&gt;
  // e = from easting&lt;br /&gt;
  // n = from northing&lt;br /&gt;
  // T = to (0=Location, 1=Coordiante)&lt;br /&gt;
  // L = to location&lt;br /&gt;
  // E = to easting&lt;br /&gt;
  // N = to northing&lt;br /&gt;
  // d = add driving directions (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ServerOfflineBaseObjectList = 1073;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SmoothPar = 1074;&lt;br /&gt;
  // s = smooth tolerance&lt;br /&gt;
  // a = keep vertices if angle change is greater then&lt;br /&gt;
  // c = angle change tolerance&lt;br /&gt;
  // d = keep vertices if curvature direction changes&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GeneralizePar = 1075;&lt;br /&gt;
  // a = delete vertices if angle change is less than&lt;br /&gt;
  // c = angle change tolerance&lt;br /&gt;
  // f = area factor (percent)&lt;br /&gt;
  // g = generalization type: 0=simplification; 1=rectangle; 2=corner; 3=series&lt;br /&gt;
  // i = keep corner vertices&lt;br /&gt;
  // j = keep dash vertices&lt;br /&gt;
  // n = number of rectangles&lt;br /&gt;
  // r = rectangle option: 0=rectangle for each object; 1=one rectangle for all objects; 2=corner; 3=series&lt;br /&gt;
  // t = offset tolerance (1/100mm)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PolylineToCurvePar = 1076;&lt;br /&gt;
  // t = tangent length factor&lt;br /&gt;
  // a = keep angle at polyline start/end&lt;br /&gt;
  // i = Keep incontinuity if angle change is greater than&lt;br /&gt;
  // v = angle incontinuity value&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_IntersectionPar = 1077;&lt;br /&gt;
  // a = intersection option (0=insert vertex, 1=cut line, 2=add point object)&lt;br /&gt;
  // v = vertex type (0=normal, 1=corner, 2=dash)&lt;br /&gt;
  // s = point symbol number&lt;br /&gt;
  // t = handle touching points as intersections&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OcdLasPar = 1078;&lt;br /&gt;
  // First = file&lt;br /&gt;
  // l = DEM loaded&lt;br /&gt;
  // f = Frame visible&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapPar = 1079;&lt;br /&gt;
  // First = title&lt;br /&gt;
  // a = title color&lt;br /&gt;
  // b = title opacity&lt;br /&gt;
  // c = title font name&lt;br /&gt;
  // d = title font size&lt;br /&gt;
  // e = title isBold&lt;br /&gt;
  // f = title isItalic&lt;br /&gt;
  // g = title alignment&lt;br /&gt;
  // h = map height&lt;br /&gt;
  // i = Actual theme&lt;br /&gt;
  // m = additional information text color&lt;br /&gt;
  // n = additional information text opacity&lt;br /&gt;
  // p = additional information text font name&lt;br /&gt;
  // q = additional information text font size&lt;br /&gt;
  // r = additional information text isBold&lt;br /&gt;
  // s = additional information text isItalic&lt;br /&gt;
  // t = additional information text alignment&lt;br /&gt;
  // w = map width&lt;br /&gt;
  // x = additional information text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapLegendPar = 1080;&lt;br /&gt;
  // First = EMPTY&lt;br /&gt;
  // a = legend title color&lt;br /&gt;
  // b = legend title opacity&lt;br /&gt;
  // c = legend title font name&lt;br /&gt;
  // d = legend title font size&lt;br /&gt;
  // e = legend title isBold&lt;br /&gt;
  // f = legend title isItalic&lt;br /&gt;
  // g = legend title alignment&lt;br /&gt;
  // m = legend text color&lt;br /&gt;
  // n = legend text opacity&lt;br /&gt;
  // p = legend text font name&lt;br /&gt;
  // q = legend text font size&lt;br /&gt;
  // r = legend text isBold&lt;br /&gt;
  // s = legend text isItalic&lt;br /&gt;
  // t = legend text alignment&lt;br /&gt;
  // v = add theme legend&lt;br /&gt;
  // w = add basemap legend&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapScaleBarPar = 1081;&lt;br /&gt;
  // First = EMPTY&lt;br /&gt;
  // c = scale bar color&lt;br /&gt;
  // d = scale bar line width&lt;br /&gt;
  // m = scale text color&lt;br /&gt;
  // n = scale text opacity&lt;br /&gt;
  // p = scale text font name&lt;br /&gt;
  // q = scale text font size&lt;br /&gt;
  // r = scale text isBold&lt;br /&gt;
  // s = scale text isItalic&lt;br /&gt;
  // t = scale text alignment&lt;br /&gt;
  // v = add scale bar&lt;br /&gt;
  // w = add scale text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SelectObjectsByDatePar = 1082;&lt;br /&gt;
  // c = Creation data checked (boolean: 0=false, 1=true)&lt;br /&gt;
  // f = from dataTime (double)&lt;br /&gt;
  // t = to dataTime (double)&lt;br /&gt;
  // a = All objects  checked (boolean: 0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemCreateContourLinesPar = 1083;&lt;br /&gt;
  // a = equidistance level 1, multiplyed by 100 (cardinal)&lt;br /&gt;
  // b = equidistance level 2, multiplyed by 100 (cardinal)&lt;br /&gt;
  // c = equidistance level 3, multiplyed by 100 (cardinal)&lt;br /&gt;
  // d = symbol number level 1 (cardinal)&lt;br /&gt;
  // e = symbol number level 2 (cardinal)&lt;br /&gt;
  // f = symbol number level 3 (cardinal)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_12_File_Format&amp;diff=12972</id>
		<title>OCAD 12 File Format</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_12_File_Format&amp;diff=12972"/>
		<updated>2021-04-12T07:58:26Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Symbols */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General==&lt;br /&gt;
This is a description of the file format of OCAD 12 files.&lt;br /&gt;
&lt;br /&gt;
Be aware that this is an internal format and may change in future versions.&lt;br /&gt;
&lt;br /&gt;
=== Data types used ===&lt;br /&gt;
OCAD is written in 64-bit Delphi and this description uses the names for the data types as they appear in Delphi. However the same data types are available in other development systems like C++.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Integer|| 32-bit signed integer&lt;br /&gt;
|-&lt;br /&gt;
| Cardinal|| 32-bit unsigned integer&lt;br /&gt;
|-&lt;br /&gt;
| SmallInt || 16-bit signed integer&lt;br /&gt;
|-&lt;br /&gt;
| Word || 16-bit unsigned integer&lt;br /&gt;
|-&lt;br /&gt;
| WordBool || 16-bit boolean&lt;br /&gt;
|-&lt;br /&gt;
| String[x] || &lt;br /&gt;
Widestring. The first byte contains the number of characters followed by the characters. The string is not zero-terminated. The maximum number of characters is x. It occupies x + 1 bytes in the file.&lt;br /&gt;
|-&lt;br /&gt;
| Double|| 64-bit floating point number&lt;br /&gt;
|-&lt;br /&gt;
| TDPoly || A special data type (64-bit) used for all coordinates and text. It is defined as &lt;br /&gt;
TDPoly = record &amp;lt;br/&amp;gt; x, y: integer;&amp;lt;br /&amp;gt;end;&lt;br /&gt;
&lt;br /&gt;
The lowest 8 Bits are used to mark special points:&lt;br /&gt;
&lt;br /&gt;
Marks for the x-coordinate:&amp;lt;br /&amp;gt;&lt;br /&gt;
1: this point is the first bezier curve point&amp;lt;br /&amp;gt;&lt;br /&gt;
2: this point is the second bezier curve point&amp;lt;br /&amp;gt;&lt;br /&gt;
4: for double lines: there is no left line between this point and the next point&amp;lt;br /&amp;gt;&lt;br /&gt;
8: this point is a area border line or a virtual line gap&lt;br /&gt;
&lt;br /&gt;
Marks for y-coordinate:&amp;lt;br /&amp;gt;&lt;br /&gt;
1: this point is a corner point&amp;lt;br /&amp;gt;&lt;br /&gt;
2: this point is the first point of a hole in an area&amp;lt;br /&amp;gt;&lt;br /&gt;
4: for double lines: there is no right line between this point and the next point&amp;lt;br /&amp;gt;&lt;br /&gt;
8: this point is a dash point&lt;br /&gt;
&lt;br /&gt;
The upper 24 bits contain the coordinate value measured in units of 0.01 mm.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note: all file positions are in bytes starting from the beginning of the file.&lt;br /&gt;
&lt;br /&gt;
== File Header==&lt;br /&gt;
OCAD files start with a file header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TFileHeader = record              // size = 60 Byte &lt;br /&gt;
  OCADMark: SmallInt;             // 3245 (hex 0cad)&lt;br /&gt;
  FileType: Byte;                 // file type (0: normal map, 1: course setting project, 8: file is saved in Server) &lt;br /&gt;
  FileStatus: Byte;               // not used&lt;br /&gt;
  Version: SmallInt;              // 12&lt;br /&gt;
  Subversion: Byte;               // number of subversion (0 for 12.0, 1 for 12.1 etc.)&lt;br /&gt;
  SubSubversion: Byte;            // number of subsubversion (0 for 12.0.0, 1 for 12.0.1) &lt;br /&gt;
  FirstSymbolIndexBlk: Cardinal;  // file position of the first symbol index block&lt;br /&gt;
  ObjectIndexBlock: Cardinal;     // file position of the object index block -&amp;gt; TObjectIndexBlock    // max 65536 * 256 objects &lt;br /&gt;
  OfflineSyncSerial: integer;     // serialNumber for offline work in Server mode&lt;br /&gt;
  CurrentFileVersion: integer;    // file version for OCAD version&lt;br /&gt;
  Internal: Cardinal;             // &lt;br /&gt;
  Internal: Cardinal;             //&lt;br /&gt;
  FirstStringIndexBlk: Cardinal;  // file position of the first string index block&lt;br /&gt;
  FileNamePos: Cardinal;          // file position of the file name, used for temporary files only&lt;br /&gt;
  FileNameSize: Cardinal;         // size of the file name, used for temporary files only&lt;br /&gt;
  Internal: Cardinal;             // &lt;br /&gt;
  Res1: Cardinal;                 // not used&lt;br /&gt;
  Res2: Cardinal;                 // not used&lt;br /&gt;
  MrStartBlockPosition: Cardinal; // file position of mulitple represention index block&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Symbols ==&lt;br /&gt;
Each Symbol Index Block contains the position of the next Symbol Index Block and the file position of 256 symbols.&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TSymbolIndexBlock= record        // Size: 1028 Bytes&lt;br /&gt;
  NextSymbolIndexBlock: Cardinal;&lt;br /&gt;
  SymbolPosition: array[0..255] of integer;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
=== Base Symbol ===&lt;br /&gt;
The different types of symbols are defined in different structures. There is an abstract type TBaseSym, which contains the fields common to all symbols types. It is used for programming reasons, but does not exist in real OCAD files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TBaseSym = packed record&lt;br /&gt;
  Size: integer;                // Size of the symbol in bytes. This  depends on the type. Coordinates following the symbol are included.&lt;br /&gt;
  SymNum: integer;              // Symbol number. This is 1000 times the symbol number. &lt;br /&gt;
                                // for example:&lt;br /&gt;
                                //   203.145 is stored as 203145&lt;br /&gt;
  Otp: byte;                    // Object type&lt;br /&gt;
                                //   1: Point symbol&lt;br /&gt;
                                //   2: Line symbol or Line text symbol&lt;br /&gt;
                                //   3: Area symbol&lt;br /&gt;
                                //   4: Text symbol&lt;br /&gt;
                                //   6: Line text symbol&lt;br /&gt;
                                //   7: Rectangle symbol&lt;br /&gt;
  Flags: byte;                  // 1: rotatable symbol (not oriented to north)&lt;br /&gt;
                                // 4: belongs to favorites&lt;br /&gt;
  Selected: boolean;            // Symbol is selected in the symbol box&lt;br /&gt;
  Status: byte;                 // Status of the symbol&lt;br /&gt;
                                //   0: Normal&lt;br /&gt;
                                //   1: Protected&lt;br /&gt;
                                //   2: Hidden&lt;br /&gt;
                                // AND 16: selected&lt;br /&gt;
  PreferredDrawingTool: byte;   // Preferred drawing tool&lt;br /&gt;
                                //   0: off&lt;br /&gt;
                                //   1: Curve mode&lt;br /&gt;
                                //   2: Ellipse mode&lt;br /&gt;
                                //   3: Circle mode&lt;br /&gt;
                                //   4: Rectangular line mode&lt;br /&gt;
                                //   5: Rectangular area mode&lt;br /&gt;
                                //   6: Straight line mode&lt;br /&gt;
                                //   7: Freehand mode&lt;br /&gt;
                                //   8: Numeric mode&lt;br /&gt;
                                //   9: Stairway mode                          &lt;br /&gt;
  CsMode: byte;                 // Course setting mode&lt;br /&gt;
                                //   0: not used for course setting&lt;br /&gt;
                                //   1: course symbol&lt;br /&gt;
                                //   2: control description symbol&lt;br /&gt;
  CsObjType: byte;              // Course setting object type&lt;br /&gt;
                                //   0: Start symbol (Point symbol)&lt;br /&gt;
                                //   1: Control symbol (Point symbol)&lt;br /&gt;
                                //   2: Finish symbol (Point symbol)&lt;br /&gt;
                                //   3: Marked route (Line symbol)&lt;br /&gt;
                                //   4: Control description symbol (Point symbol)&lt;br /&gt;
                                //   5: Course title (Text symbol)&lt;br /&gt;
                                //   6: Start number (Text symbol)&lt;br /&gt;
                                //   7: Relay variant (Text symbol)&lt;br /&gt;
                                //   8: Text block for control description (Text symbol)&lt;br /&gt;
  CsCdFlags: byte;              // Course setting control description flags&lt;br /&gt;
                                //   a combination of the flags&lt;br /&gt;
                                //   64: available in column B&lt;br /&gt;
                                //   32: available in column C&lt;br /&gt;
                                //   16: available in column D&lt;br /&gt;
                                //   8: available in column E&lt;br /&gt;
                                //   4: available in column F&lt;br /&gt;
                                //   2: available in column G&lt;br /&gt;
                                //   1: available in column H&lt;br /&gt;
  Extent: integer;              // Extent how much the rendered symbols can reach outside the coordinates of an object with&lt;br /&gt;
                                // this symbol. For a point object it tells how far away from the coordinates of the object&lt;br /&gt;
                                // anything of the point symbol can appear&lt;br /&gt;
  FilePos: cardinal;            // Used internally. Value in the file is not defined.&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;            // Number of colors of the symbol max. 14, -1: the number of colors is &amp;gt; 14&lt;br /&gt;
  Colors: array[0..13] of SmallInt; // Colors of the symbol&lt;br /&gt;
  Description: array[0..63] of char;// Description text                        &lt;br /&gt;
  IconBits: array[0..483] of byte;  // Each byte represents a pixel of the icon in a 256 color palette&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // Group ID in the symbol tree, max 64 symbol groups &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point Symbol ===&lt;br /&gt;
Point symbols are stored with this structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TPointSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 1&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  DataSize: word;                        // number of coordinates (each 8 bytes) which follow this structure, each object header&lt;br /&gt;
                                         // counts as 2 Coordinates (16 bytes)&lt;br /&gt;
  Reserved: SmallInt;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this structure follow the symbol elements which build that Point symbol. These symbol elements are stored in the following structure. Note that these symbol elements are stored in a different way than ordinary map objects.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TSymElt = record&lt;br /&gt;
  stType: SmallInt;                   // type of the symbol element&lt;br /&gt;
                                      //   1: line&lt;br /&gt;
                                      //   2: area&lt;br /&gt;
                                      //   3: circle&lt;br /&gt;
                                      //   4: dot (filled circle)&lt;br /&gt;
  stFlags: word;                      // Flags&lt;br /&gt;
                                      //   1: line with round ends&lt;br /&gt;
  stColor: SmallInt;                  // color of the object. This is the number which appears in&lt;br /&gt;
                                      // the colors dialog box&lt;br /&gt;
  stLineWidth: SmallInt;              // line width for lines and circles unit 0.01 mm&lt;br /&gt;
  stDiameter: SmallInt;               // Diameter for circles and dots. The line width is included&lt;br /&gt;
                                      // one time in this dimension for circles.&lt;br /&gt;
  stnPoly: SmallInt;                  // number of coordinates&lt;br /&gt;
  stRes1: SmallInt;                   // Not used&lt;br /&gt;
  stRes2: SmallInt;                   // Not used&lt;br /&gt;
  stPoly: array[0..32767] of TPoint;  // coordinates of the symbol element&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are several objects, they just follow each other (only the coordinates used are stored). To determine the number of objects the DataSize variable must be used.&lt;br /&gt;
&lt;br /&gt;
=== Line Symbol ===&lt;br /&gt;
Line symbols are stored in the following structure. In the explanation the terms used in the Line Symbol dialog box are shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TLineSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 2&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  LineColor: SmallInt;                   // Line color&lt;br /&gt;
  LineWidth: SmallInt;                   // Line width&lt;br /&gt;
  LineStyle: SmallInt;                   // Line style&lt;br /&gt;
                                         //   0: bevel joins/flat caps&lt;br /&gt;
                                         //   1: round joins/round caps&lt;br /&gt;
                                         //   4: miter joins/flat caps&lt;br /&gt;
  DistFromStart: SmallInt;               // Distance from start&lt;br /&gt;
  DistToEnd: SmallInt;                   // Distance to the end&lt;br /&gt;
  MainLength: SmallInt;                  // Main length a&lt;br /&gt;
  EndLength: SmallInt;                   // End length b&lt;br /&gt;
  MainGap: SmallInt;                     // Main gap C&lt;br /&gt;
  SecGap: SmallInt;                      // Gap D&lt;br /&gt;
  EndGap: SmallInt;                      // Gap E&lt;br /&gt;
  MinSym: SmallInt;                      // -1: at least 0 gaps/symbols&lt;br /&gt;
                                         //  0: at least 1 gap/symbol&lt;br /&gt;
                                         //  1: at least 2 gaps/symbols&lt;br /&gt;
                                         //  etc.&lt;br /&gt;
  nPrimSym: SmallInt;                    // No. of symbols&lt;br /&gt;
  PrimSymDist: SmallInt;                 // Distance&lt;br /&gt;
  DblMode: word;                         // Mode (Double line page)&lt;br /&gt;
  DblFlags: word;                        // Double line flags&lt;br /&gt;
                                         //    1: Fill color on&lt;br /&gt;
                                         //    2: Background color on&lt;br /&gt;
  DblFillColor: SmallInt;                // Fill color&lt;br /&gt;
  DblLeftColor: SmallInt;                // Left line/Color&lt;br /&gt;
  DblRightColor: SmallInt;               // Right line/Color&lt;br /&gt;
  DblWidth: SmallInt;                    // Width&lt;br /&gt;
  DblLeftWidth: SmallInt;                // Left line/Line width&lt;br /&gt;
  DblRightWidth: SmallInt;               // Right line/Line width&lt;br /&gt;
  DblLength: SmallInt;                   // Dashed/Distance a&lt;br /&gt;
  DblGap: SmallInt;                      // Dashed/Gap&lt;br /&gt;
  DblBackgroundColor: SmallInt;          // Reserved&lt;br /&gt;
  DblRes: array[0..1] of SmallInt;       // Reserved&lt;br /&gt;
  DecMode: word;                         // Decrease mode&lt;br /&gt;
                                         //   0: off&lt;br /&gt;
                                         //   1: decreasing towards the end&lt;br /&gt;
                                         //   2: decreasing towards both ends&lt;br /&gt;
                                         //   3: decreasing towards first symbol of line&lt;br /&gt;
  DecSymbolSize: SmallInt;               // Last symbol size &lt;br /&gt;
  DecSymbolDistance: boolean;            // Option to disable decreasing symbol distance&lt;br /&gt;
  DecSymbolWidth: boolean;               // Option to decrease symbol width (of line, circle, area elements) &lt;br /&gt;
  FrColor: SmallInt;                     // Color of the framing line&lt;br /&gt;
  FrWidth: SmallInt;                     // Line width of the framing line&lt;br /&gt;
  FrStyle: SmallInt;                     // Line style of the framing line&lt;br /&gt;
                                         //   0: bevel joins/flat caps&lt;br /&gt;
                                         //   1: round joins/round caps&lt;br /&gt;
                                         //   4: miter joins/flat caps&lt;br /&gt;
                                         //  PointedEnd := LineStyle and 2 &amp;gt; 0;&lt;br /&gt;
  PrimDSize: word;                       // number or coordinates (8 bytes) for the Main symbol A which follow this structure.&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  SecDSize: word;                        // number or coordinates (8 bytes) for the Secondary symbol which follow the Main symbol A&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  CornerDSize: word;                     // number or coordinates (8 bytes) for the Corner symbol which follow the Secondary symbol&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  StartDSize: word;                      // number or coordinates (8 bytes) for the Start symbol C which follow the Corner symbol&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  EndDSize: word;                        // number or coordinates (8 bytes) for the End symbol D which follow the Start symbol C&lt;br /&gt;
                                         // Each symbol header counts as 2 coordinates (16 bytes).&lt;br /&gt;
  UseSymbolFlags: Byte;                  // 1 = end symbol, 2 = start symbol, 4 = corner symbol, 8 = secondary symbol   &lt;br /&gt;
  Reserved: Byte;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Area Symbol ===&lt;br /&gt;
Area symbols are stored in the following structure. In the explanation the terms&lt;br /&gt;
used in the Area Symbol dialog box are shown. The unit of all dimensions is 0.01 mm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TAreaSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 3&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  BorderSym: integer;                    // Symbol for border line  activated if BorderOn is true&lt;br /&gt;
  FillColor: SmallInt;                   // Fill color activated if FillOn is true&lt;br /&gt;
  HatchMode: SmallInt;                   // Hatch mode&lt;br /&gt;
                                         //   0: None&lt;br /&gt;
                                         //   1: Single hatch&lt;br /&gt;
                                         //   2: Cross hatch&lt;br /&gt;
  HatchColor: SmallInt;                  // Color (Hatch page)&lt;br /&gt;
  HatchLineWidth: SmallInt;              // Line width&lt;br /&gt;
  HatchDist: SmallInt;                   // Distance&lt;br /&gt;
  HatchAngle1: SmallInt;                 // Angle 1&lt;br /&gt;
  HatchAngle2: SmallInt;                 // Angle 2&lt;br /&gt;
  FillOn: boolean;                       // Fill is activated&lt;br /&gt;
  BorderOn: boolean;                     // Border line is activated&lt;br /&gt;
  StructMode: byte;                      // Structure&lt;br /&gt;
                                         //   0: None&lt;br /&gt;
                                         //   1: aligned rows&lt;br /&gt;
                                         //   2: shifted rows&lt;br /&gt;
  StructDraw: byte;                      // Structure Drawing type                      &lt;br /&gt;
                                         // 0: Clip (until OCAD 11)&lt;br /&gt;
                                         // 1: draw elements completely inside area&lt;br /&gt;
                                         // 2: draw elements with center inside area&lt;br /&gt;
                                         // 3: draw elements partially inside area&lt;br /&gt;
  StructWidth: SmallInt;                 // Width&lt;br /&gt;
  StructHeight: SmallInt;                // Height&lt;br /&gt;
  StructAngle: SmallInt;                 // Angle&lt;br /&gt;
  StructIrregularVarX: byte;             // Horizontal variation in percent from StructWidth &lt;br /&gt;
  StructIrregularVarY: byte;             // Vertical variation in percent from StructHeight&lt;br /&gt;
  StructIrregularMinDist: SmallInt;      // Minimum distance between irregular symbols&lt;br /&gt;
  StructRes: SmallInt;                   // Reserved&lt;br /&gt;
  DataSize: word;                        // number of coordinates (each 8 bytes) which follow this structure, each object header&lt;br /&gt;
                                         // counts as 2 Coordinates (16 bytes)&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Text Symbol ===&lt;br /&gt;
Text symbols are stored in the following structure. In the explanation the terms used in the Text Symbol dialog box are shown. The unit of all dimensions is 0.01 mm, except for the font sizes which are measured in 0.1 typographical points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TTextSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 4&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                     // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  FontName: string[31];                  // TrueType font&lt;br /&gt;
  FontColor: SmallInt;                   // Color&lt;br /&gt;
  FontSize: SmallInt;                    // 10 times the size in pt&lt;br /&gt;
  Weight: SmallInt;                      // Bold as used in the Windows GDI&lt;br /&gt;
                                         //   400: normal&lt;br /&gt;
                                         //   700: bold&lt;br /&gt;
  Italic: boolean;                       // true if Italic is checked&lt;br /&gt;
  Res1: byte;                            // not used&lt;br /&gt;
  CharSpace: SmallInt;                   // Char. spacing&lt;br /&gt;
  WordSpace: SmallInt;                   // Word spacing&lt;br /&gt;
  Alignment: SmallInt;                   // Alignment&lt;br /&gt;
                                         //   0: Bottom Left&lt;br /&gt;
                                         //   1: Bottom Center&lt;br /&gt;
                                         //   2: Bottom Right&lt;br /&gt;
                                         //   3: Bottom Justified&lt;br /&gt;
                                         //   4: Middle Left &lt;br /&gt;
                                         //   5: Middle Center &lt;br /&gt;
                                         //   6: Middle Right&lt;br /&gt;
                                         //   7: only in LText!&lt;br /&gt;
                                         //   8: Top Left&lt;br /&gt;
                                         //   9: Top Center&lt;br /&gt;
                                         //  10: Top Right&lt;br /&gt;
                                         //  11: only in LText!&lt;br /&gt;
  LineSpace: SmallInt;                   // Line spacing&lt;br /&gt;
  ParaSpace: SmallInt;                   // Space after Paragraph&lt;br /&gt;
  IndentFirst: SmallInt;                 // Indent first line&lt;br /&gt;
  IndentOther: SmallInt;                 // Indent other lines&lt;br /&gt;
  nTabs: SmallInt;                       // number of tabulators for text symbol&lt;br /&gt;
  Tabs: array[0..31] of longint;         // Tabulators&lt;br /&gt;
  LBOn: wordbool;                        // true if Line below On is checked&lt;br /&gt;
  LBColor: SmallInt;                     // Line color (Line below)&lt;br /&gt;
  LBWidth: SmallInt;                     // Line width (Line below)&lt;br /&gt;
  LBDist: SmallInt;                      // Distance from text&lt;br /&gt;
  Res2: SmallInt;&lt;br /&gt;
  FrMode: byte;                          // Framing mode&lt;br /&gt;
                                         //   0: no framing&lt;br /&gt;
                                         //   1: shadow framing&lt;br /&gt;
                                         //   2: line framing&lt;br /&gt;
                                         //   3: rectangle framing&lt;br /&gt;
  FrLineStyle: byte;                     // Framing line style&lt;br /&gt;
                                         //   0: default OCAD 8 Miter&lt;br /&gt;
                                         //   2: ps_Join_Bevel&lt;br /&gt;
                                         //   1: ps_Join_Round&lt;br /&gt;
                                         //   4: ps_Join_Miter&lt;br /&gt;
  PointSymOn: boolean;                   // Point symbol is activated&lt;br /&gt;
  PointSymNumber: integer;               // Point symbol for text symbol activated if PointSymOn is true&lt;br /&gt;
  Res3: string[18];                      // not used&lt;br /&gt;
  FrLeft: SmallInt;                      // Left border for rectangle framing&lt;br /&gt;
  FrBottom: SmallInt;                    // Bottom border for rectangle framing&lt;br /&gt;
  FrRight: SmallInt;                     // Right border for rectangle framing&lt;br /&gt;
  FrTop: SmallInt;                       // Top border for rectangle framing&lt;br /&gt;
  FrColor: SmallInt;                     // Framing color&lt;br /&gt;
  FrWidth: SmallInt;                     // Framing width for line framing&lt;br /&gt;
  Res4: SmallInt;                        // not used&lt;br /&gt;
  Res5: wordbool;                        // not used&lt;br /&gt;
  FrOfX: SmallInt;                       // Horizontal offset for shadow framing&lt;br /&gt;
  FrOfY: SmallInt;                       // Vertical offset for shadow framing&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Line Text Symbol ===&lt;br /&gt;
Line Text symbols are stored in the following structure. In the explanation the&lt;br /&gt;
terms used in the Line Text Symbol dialog box are shown. The unit of all dimensions&lt;br /&gt;
is 0.01 mm, except for the font sizes which are measured in 0.1 typographical points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TLTextSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 6&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                      // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  FontName: string[31];                  // TrueType font&lt;br /&gt;
  FontColor: SmallInt;                   // Color&lt;br /&gt;
  FontSize: SmallInt;                    // 10 times the value entered in Size&lt;br /&gt;
  Weight: SmallInt;                      // Bold as used in the Windows GDI&lt;br /&gt;
                                         //   400: normal&lt;br /&gt;
                                         //   700: bold&lt;br /&gt;
  Italic: boolean;                       // true if Italic is checked&lt;br /&gt;
  Res1: byte;                            // not used&lt;br /&gt;
  CharSpace: SmallInt;                   // Char. spacing&lt;br /&gt;
  WordSpace: SmallInt;                   // Word spacing&lt;br /&gt;
  Alignment: SmallInt;                   // Alignment     &lt;br /&gt;
                                         //   0: Bottom Left&lt;br /&gt;
                                         //   1: Bottom Center&lt;br /&gt;
                                         //   2: Bottom Right&lt;br /&gt;
                                         //   3: Bottom All line&lt;br /&gt;
                                         //   4: Middle Left&lt;br /&gt;
                                         //   5: Middle Center&lt;br /&gt;
                                         //   6: Middle Right&lt;br /&gt;
                                         //   7: Middle All line&lt;br /&gt;
                                         //   8: Top Left&lt;br /&gt;
                                         //   9: Top Center&lt;br /&gt;
                                         //  10: Top Right&lt;br /&gt;
                                         //  11: Top All line &lt;br /&gt;
  FrMode: byte;                          // Framing mode&lt;br /&gt;
                                         //   0: no framing&lt;br /&gt;
                                         //   1: shadow framing&lt;br /&gt;
                                         //   2: line framing&lt;br /&gt;
  FrLineStyle: byte;                     // Framing line style&lt;br /&gt;
                                         //   0: default OCAD 8 and 9.0 Miter&lt;br /&gt;
                                         //   2: ps_Join_Bevel&lt;br /&gt;
                                         //   1: ps_Join_Round&lt;br /&gt;
                                         //   4: ps_Join_Miter&lt;br /&gt;
  Res2: string[31];                      // not used&lt;br /&gt;
  FrColor: SmallInt;                     // Framing color&lt;br /&gt;
  FrWidth: SmallInt;                     // Framing width for line framing&lt;br /&gt;
  Res3: SmallInt;                        // not used&lt;br /&gt;
  Res4: wordbool;                        // not used&lt;br /&gt;
  FrOfX: SmallInt;                       // Horizontal offset for shadow framing&lt;br /&gt;
  FrOfY: SmallInt;                       // Vertical offset for shadow framing&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rectangle Symbol ===&lt;br /&gt;
Rectangle symbols are stored in the following structure. In the explanation the terms used in the Rectangle Symbol dialog box are shown. The unit of all dimensions is 0.01 mm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TRectSym = packed record&lt;br /&gt;
  Size: integer;                         // see TBaseSym&lt;br /&gt;
  SymNum: integer;                       // see TBaseSym&lt;br /&gt;
  Otp: byte;                             // 7&lt;br /&gt;
  Flags: byte;                           // see TBaseSym&lt;br /&gt;
  Selected: boolean;                     // see TBaseSym&lt;br /&gt;
  Status: byte;                          // see TBaseSym&lt;br /&gt;
  PreferredDrawingTool: byte;            // see TBaseSym&lt;br /&gt;
  CsMode: byte;                          // see TBaseSym&lt;br /&gt;
  CsObjType: byte;                       // see TBaseSym&lt;br /&gt;
  CsCDFlags: byte;                       // see TBaseSym&lt;br /&gt;
  Extent: integer;                       // see TBaseSym&lt;br /&gt;
  FilePos: cardinal;                      // see TBaseSym&lt;br /&gt;
  notUsed1: Byte;            &lt;br /&gt;
  notUsed2: Byte;            &lt;br /&gt;
  nColors: SmallInt;                     // see TBaseSym&lt;br /&gt;
  Colors: array[0..13] of SmallInt;      // see TBaseSym&lt;br /&gt;
  Description: array[0..63] of char;     // see TBaseSym&lt;br /&gt;
  IconBits: array[0..483] of byte;       // see TBaseSym&lt;br /&gt;
  SymbolTreeGroup: Array[0..63] of Word; // see TBaseSym&lt;br /&gt;
  LineColor: SmallInt;                   // Line color&lt;br /&gt;
  LineWidth: SmallInt;                   // Line width&lt;br /&gt;
  Radius: SmallInt;                      // Corner radius&lt;br /&gt;
  GridFlags: word;                       // A combination of the flags&lt;br /&gt;
                                         //   1: Grid On&lt;br /&gt;
                                         //   2: Numbered from the bottom&lt;br /&gt;
  CellWidth: SmallInt;                   // Cell width&lt;br /&gt;
  CellHeight: SmallInt;                  // Cell height&lt;br /&gt;
  ResGridLineColor: SmallInt;            // Reserved&lt;br /&gt;
  ResGridLineWidth: SmallInt;            // Reserved&lt;br /&gt;
  UnnumCells: SmallInt;                  // Unnumbered Cells&lt;br /&gt;
  UnnumText: string[3];                  // Text in unnumbered Cells&lt;br /&gt;
  LineStyle: SmallInt;                   // Line style&lt;br /&gt;
                                         //   1: flat caps&lt;br /&gt;
                                         //   0: round caps&lt;br /&gt;
                                         //   4: flat caps&lt;br /&gt;
  Res2: string[31];                      // not used&lt;br /&gt;
  ResFontColor: SmallInt;                // Reserved&lt;br /&gt;
  FontSize: SmallInt;                    // font size&lt;br /&gt;
  Res3: SmallInt;                        // not used&lt;br /&gt;
  Res4: wordbool;                        // not used&lt;br /&gt;
  Res5: SmallInt;                        // not used&lt;br /&gt;
  Res6: SmallInt;                        // not used&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Objects ==&lt;br /&gt;
Each Object Index Block contains the position of the next Object Index Block and the file position and other information of 256 objects.&lt;br /&gt;
&lt;br /&gt;
=== Object Index Block ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TObjectIndexBlock = record   // Size: 10296 Bytes&lt;br /&gt;
  NextObjectIndexBlock: integer;&lt;br /&gt;
  Table: array[0..255] of TObjectIndex;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OCAD Object Index===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TObjectIndex = packed record // Size: 40 Byte&lt;br /&gt;
  rc: LRect;                 // bounding box (lower left and upper right)&lt;br /&gt;
  Pos: integer;              // file position of the object -&amp;gt; TOcadObject&lt;br /&gt;
  Len: integer;              // number of coordinate pairs, the size of the object in the file is then calculated by: 32 + 8*Len&lt;br /&gt;
                             // Note: this is reserved space in the file, the effective length of the object may be shorter&lt;br /&gt;
  Sym: integer;              // -4 = layout vector object                     &lt;br /&gt;
                             // -3 = image object, imported from DTP formats (eg AI, PDF, SVG)&lt;br /&gt;
                             // -2 = graphic object&lt;br /&gt;
                             // -1 = imported, no symbol assigned or symbol number&lt;br /&gt;
  ObjType: byte;             // 1 = Point object&lt;br /&gt;
                             // 2 = Line object&lt;br /&gt;
                             // 3 = Area object&lt;br /&gt;
                             // 4 = Unformatted text&lt;br /&gt;
                             // 5 = Formatted text&lt;br /&gt;
                             // 6 = Line text&lt;br /&gt;
                             // 7 = Rectangle object&lt;br /&gt;
  EncryptedMode: byte;       // 0 = normal                                    &lt;br /&gt;
                             // 1 = encoded object (TOcadObject)&lt;br /&gt;
  Status: byte;              // 0 = deleted (not undo) (eg from symbol editor or course setting)&lt;br /&gt;
                             // 1 = normal&lt;br /&gt;
                             // 2 = hidden&lt;br /&gt;
                             // 3 = deleted for undo&lt;br /&gt;
  ViewType: byte;            // 0 = normal object&lt;br /&gt;
                             // 1 = course setting object&lt;br /&gt;
                             // 2 = modified preview object&lt;br /&gt;
                             // 3 = unmodified preview object&lt;br /&gt;
                             // 4 = temporary object (symbol editor or control description)&lt;br /&gt;
  Color: SmallInt;           // Color number for graphic objects, -1 for image or layout objects&lt;br /&gt;
  Group: SmallInt;           // Group number of grouped objects               &lt;br /&gt;
  ImpLayer: SmallInt;        // Layer number of imported objects, 0 means no layer number&lt;br /&gt;
  DbDatasetHash: byte;       // Internal use        &lt;br /&gt;
  DbKeyHash: byte;           // Internal use&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OCAD Object ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TOcadObject = packed record         //&lt;br /&gt;
  Sym: Integer;                     // &amp;gt;0 = symbol number&lt;br /&gt;
                                    // -4 = layout vector object               &lt;br /&gt;
                                    // -3 = from PDF, AI&lt;br /&gt;
                                    // -2 = graphic object&lt;br /&gt;
                                    // -1 = imported, no symbol assigned or symbol number&lt;br /&gt;
  Otp: Byte;                        // object typ&lt;br /&gt;
  _Customer: Byte;                  // &lt;br /&gt;
  Ang: SmallInt;                    // Angle, unit is 0.1 degrees, used for&lt;br /&gt;
                                    // - point object&lt;br /&gt;
                                    // - area objects with structure&lt;br /&gt;
                                    // - unformatted text objects&lt;br /&gt;
                                    // - rectangle objects&lt;br /&gt;
  Col: integer;                     // Color number for graphic objects, color value for image or layout objects&lt;br /&gt;
  LineWidth: SmallInt;              // Line width for graphic, image and layout objects&lt;br /&gt;
  DiamFlags: SmallInt;              // Line style for graphic objects&lt;br /&gt;
  ServerObjectId: Integer;          // added for server objects                &lt;br /&gt;
  Height: Integer;                  // Height [1/256 mm]                      &lt;br /&gt;
  CreationDate: Double              // creation date&lt;br /&gt;
  MultirepresentationId: Cardinal;  // id references to the main object        &lt;br /&gt;
  ModificationDate: Double          // modification date                           &lt;br /&gt;
  nItem: Cardinal;                  // number of coordinates in the Poly array&lt;br /&gt;
  nText: Word;                      // number of characters in the Poly, array used for storing text for line text objects and text objects&lt;br /&gt;
                                    // for all other objects it is 0&lt;br /&gt;
  nObjectString: Word;              // length of object string&lt;br /&gt;
  nDatabaseString: Word;            // length of database link&lt;br /&gt;
  ObjectStringType: Byte;           // type of object string in Poly array &lt;br /&gt;
                                    // None = 0&lt;br /&gt;
                                    // Coures setting object = 1  &lt;br /&gt;
                                    // Coures setting preview object = 2  &lt;br /&gt;
                                    // Coures setting layout object = 3  &lt;br /&gt;
                                    // Coures setting thematic object = 4  &lt;br /&gt;
  Res1: Byte;                       // not used                       &lt;br /&gt;
  Poly: TDPoly;                     // array[0..] coordinates of the object followed by a zero-terminated string&lt;br /&gt;
                                    // if nText &amp;gt; 0 TCord is explained at the beginning of this description&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameter Strings ==&lt;br /&gt;
The Parameter Strings contain all the information about the setup structure, background maps,course setting and database connection.&lt;br /&gt;
&lt;br /&gt;
Similar to the symbols and objects there are String Index Blocks which contain the basic information for 256 Parameter Strings and the file position of the strings.&lt;br /&gt;
&lt;br /&gt;
TStringIndexBlock contains the basic information for 256 strings&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TStringIndexBlock = record&lt;br /&gt;
  NextIndexBlock: integer;            // file position of the next StringIndexBlock, 0 if this is the last StringIndexBlock&lt;br /&gt;
  Table: array[0..255] of TStringIndex;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TStIndex contains the basic information for 1 string:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
TStringIndex = packed record&lt;br /&gt;
  Pos: integer;                       // file position of string&lt;br /&gt;
  Len: integer;                       // length reversed for the string&lt;br /&gt;
  RecType: integer;                   // string typ number, if &amp;lt; 0 then deleted string&lt;br /&gt;
  ObjIndex: integer;                  // index of the object&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
StringIndexBlk in the FileHeader points to the first StringIndexBlock.&lt;br /&gt;
&lt;br /&gt;
The strings (null terminated) have the following structure:&lt;br /&gt;
* first field: all characters until the first tab (character 9). The first field can be missing (the string starts with a tab).&lt;br /&gt;
* tab (character 9)&lt;br /&gt;
* code: this is the first character after the tab&lt;br /&gt;
* value: all characters until the next tab&lt;br /&gt;
* tab&lt;br /&gt;
* code&lt;br /&gt;
* value&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
Some of String Types (number &amp;lt; 1000) may have multiple instances of the same type. They have to be stored as lists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Course = 2;&lt;br /&gt;
  // First = CourseName&lt;br /&gt;
  // C = Climb&lt;br /&gt;
  // E = Extra distance&lt;br /&gt;
  // F = from start number (auto created class)&lt;br /&gt;
  // H = ClassName for control description (imported from event software)       &lt;br /&gt;
  // K = Combination (imported from event software)                         &lt;br /&gt;
  // M = Map file&lt;br /&gt;
  // R = number of runners/teams (auto created class)&lt;br /&gt;
  // S = Map scale&lt;br /&gt;
  // T = to start number (auto created class)&lt;br /&gt;
  // Y = Course type (s = relay, o = one-man relay)&lt;br /&gt;
  // L = Number of Legs (used for relay and one-man relay)&lt;br /&gt;
  // s = start&lt;br /&gt;
  // c = control&lt;br /&gt;
  // m = marked route&lt;br /&gt;
  // k = mandatory crossing point&lt;br /&gt;
  // w = mandatory passage through out of bounds area&lt;br /&gt;
  // g = map change&lt;br /&gt;
  // f = finish&lt;br /&gt;
  // l = leg variation starts&lt;br /&gt;
  // b = branch of a leg variation starts&lt;br /&gt;
  // p = end of a leg variation&lt;br /&gt;
  // r = relay variation starts&lt;br /&gt;
  // v = branch of a relay variation starts&lt;br /&gt;
  // q = end of a relay variation&lt;br /&gt;
  // e = used internally only (control number)&lt;br /&gt;
  // i = used internally only (back to begin of variation)&lt;br /&gt;
  // j = used internally only (line to end of variation)&lt;br /&gt;
  // n = course name object&lt;br /&gt;
  // u = start number object&lt;br /&gt;
  // t = text block for control description&lt;br /&gt;
  // o = other object&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsClass = 3;&lt;br /&gt;
  // First = class name&lt;br /&gt;
  // c = Course name&lt;br /&gt;
  // f = FromNumber (relay)&lt;br /&gt;
  // r = Number of runners&lt;br /&gt;
  // t = ToNumber (relay)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DataSet = 4;&lt;br /&gt;
  // First = dataset name&lt;br /&gt;
  // e = dBase file&lt;br /&gt;
  // d = ODBC data source&lt;br /&gt;
  // u = database user name (encrypted)                                    &lt;br /&gt;
  // p = database password (encrypted)                                            &lt;br /&gt;
  // t = table&lt;br /&gt;
  // k = key field&lt;br /&gt;
  // r = secondary table, reference key&lt;br /&gt;
  // s = secondary table, table key&lt;br /&gt;
  // m = secondary table, key&lt;br /&gt;
  // y = symbol field&lt;br /&gt;
  // b = Assign new symbol when changing field value [boolean, false]        &lt;br /&gt;
  // x = text field&lt;br /&gt;
  // f = size field&lt;br /&gt;
  // l = length unit&lt;br /&gt;
  // a = area unit&lt;br /&gt;
  // c = decimals&lt;br /&gt;
  // h = easting field&lt;br /&gt;
  // v = northing field&lt;br /&gt;
  // g = angle field  &lt;br /&gt;
  // j = date field                                                          &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimFile = 6;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_BackgroundMap = 8;&lt;br /&gt;
  // First = file name&lt;br /&gt;
  // a = angle omega [double, 8]&lt;br /&gt;
  // b = angle phi [double, 8]&lt;br /&gt;
  // d = dim&lt;br /&gt;
  // o = render with spot colors (only for raster background maps)&lt;br /&gt;
  // p = assigned to spot color (only for raster background maps)&lt;br /&gt;
  // q = subtract from spot color (0 = normal, 1 = subtract)&lt;br /&gt;
  // r = visible in background favorites (0 = hidden, 1 = visible)&lt;br /&gt;
  // s = visible in normal, spot color and draft mode (0 = hidden, 1 = visible)&lt;br /&gt;
  // t = transparent&lt;br /&gt;
  // x = offset x [double, 6]&lt;br /&gt;
  // y = offset y [double, 6]&lt;br /&gt;
  // u = pixel size x [double, 10]&lt;br /&gt;
  // v = pixel size y [double, 10]&lt;br /&gt;
  // i = is infrared image (0=undefined, 1=32bit-infrared, 2=32bit RGB)           &lt;br /&gt;
  // m = is WMS online background map                                             &lt;br /&gt;
  // k = WMS server name                                                          &lt;br /&gt;
  // l = WMS layer name                                                          &lt;br /&gt;
  // n = WMS layer scale range                                   &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Color = 9;&lt;br /&gt;
  // First = name&lt;br /&gt;
  // n = number&lt;br /&gt;
  // c = cyan&lt;br /&gt;
  // m = magenta&lt;br /&gt;
  // y = yellow&lt;br /&gt;
  // k = black&lt;br /&gt;
  // o = overprint&lt;br /&gt;
  // t = transparency&lt;br /&gt;
  // s = spot color separation name&lt;br /&gt;
  // p = percentage in the spot color separation&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SpotColor = 10;&lt;br /&gt;
  // First = name&lt;br /&gt;
  // v = visible&lt;br /&gt;
  // n = number&lt;br /&gt;
  // f = frequency (lpi)&lt;br /&gt;
  // a = angle&lt;br /&gt;
  // c = cyan&lt;br /&gt;
  // m = magenta&lt;br /&gt;
  // y = yellow&lt;br /&gt;
  // k = black&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Zoom = 12;&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ImpLayer = 13;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // n = layer number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimFind = 14;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // c = Condition&lt;br /&gt;
  // d = Dataset&lt;br /&gt;
  // f = From zoom&lt;br /&gt;
  // h = Hint field&lt;br /&gt;
  // n = Name field&lt;br /&gt;
  // o = Hotspot type&lt;br /&gt;
  // p = Pointer type&lt;br /&gt;
  // s = Show hotspots&lt;br /&gt;
  // l = List names(in listbox)&lt;br /&gt;
  // t = To zoom&lt;br /&gt;
  // u = URL field&lt;br /&gt;
  // x = Prefix&lt;br /&gt;
  // y = Postfix&lt;br /&gt;
  // z = Target&lt;br /&gt;
  // r = Pointer color red&lt;br /&gt;
  // g = Pointer color green&lt;br /&gt;
  // b = Pointer color blue&lt;br /&gt;
  // R = Hotspot color red&lt;br /&gt;
  // G = Hotspot color green&lt;br /&gt;
  // B = Hotspot color blue&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SymTree = 15;&lt;br /&gt;
  // First = name &lt;br /&gt;
  // g = group id &lt;br /&gt;
  // v = visible&lt;br /&gt;
  // e = is node expanded (boolean)                                               &lt;br /&gt;
  // i = Level in Tree                                                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Bookmark = 18;                                                              &lt;br /&gt;
  // First = bookmark name&lt;br /&gt;
  // d = description&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Selection = 19;                                                              &lt;br /&gt;
  // First = selection name&lt;br /&gt;
  // n = number&lt;br /&gt;
  // o = object ids&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Group = 23;                                                          &lt;br /&gt;
  // First = Name&lt;br /&gt;
  // n = group number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RecentDocs = 24;                                                              &lt;br /&gt;
  // First = file name&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsAutoCdAllocationTable = 25;                                                &lt;br /&gt;
  // First = Map symbol number (STRING)&lt;br /&gt;
  // a = Control description symbol 0 (STRING)&lt;br /&gt;
  // b = Control description symbol 1 (STRING)&lt;br /&gt;
  // c = Control description symbol 2 (STRING)&lt;br /&gt;
  // d = Control description symbol 3 (STRING)&lt;br /&gt;
  // e = Control description symbol 4 (STRING)&lt;br /&gt;
  // f = Control description symbol 5 (STRING)&lt;br /&gt;
  // g = Control description dragged direction (STRING)&lt;br /&gt;
  // h = Control description click (STRING)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulerGuidesList = 26;                                                         &lt;br /&gt;
  // h = horizontal guide (0=vertical, 1=horizontal)&lt;br /&gt;
  // c = x or y ccordiante (INTEGER, OCAD coordinate)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_LayoutObjects = 27;                                                          &lt;br /&gt;
  // First = path for images; description for vector objects&lt;br /&gt;
  // r = type: raster image object = 1; vector object = 0&lt;br /&gt;
  // s = visible (0 = hidden, 1 = visible)&lt;br /&gt;
  // a = angle omega&lt;br /&gt;
  // b = angle phi&lt;br /&gt;
  // d = dim&lt;br /&gt;
  // t = transparent&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // u = pixel size x&lt;br /&gt;
  // v = pixel size y&lt;br /&gt;
  // i = is infrared image (0=undefined, 1=32bit-infrared, 2=32bit RGB)          &lt;br /&gt;
  // n = ObjectIndex&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PrintAndExportRectangleList = 29;                                           &lt;br /&gt;
  // First = Name&lt;br /&gt;
  // b = bottom [integer, ocad unit]&lt;br /&gt;
  // l = left [integer, ocad unit]&lt;br /&gt;
  // r = right [integer, ocad unit]&lt;br /&gt;
  // t = top [integer, ocad unit]&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DisplayPar = 1024;&lt;br /&gt;
  // f = Show symbol favorites&lt;br /&gt;
  // g = selected symbol group&lt;br /&gt;
  // s = selected symbol&lt;br /&gt;
  // t = Show symbol tree&lt;br /&gt;
  // h = horizontal splitter (pixel from top)                                    &lt;br /&gt;
  // v = vertical splitter (pixel from right)                                     &lt;br /&gt;
  // b = horizontal splitter for background map panel (pixel from top)           &lt;br /&gt;
  // i = display mode for unsymbolized objects (0=normal, 2=hidden)             &lt;br /&gt;
  // j = display mode for graphic objects (0=normal, 2=hidden)                    &lt;br /&gt;
  // k = display mode for image objects (0=normal, 1=protect, 2=hidden) &lt;br /&gt;
  // l = display mode for layout objects (0=normal, 2=hidden)                    &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemClassifyVegetationClassList = 30;                                           //11-1112&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // a = fromHeight100&lt;br /&gt;
  // b = toHeight100&lt;br /&gt;
  // c = fromColorCyan&lt;br /&gt;
  // d = fromColorMagenta&lt;br /&gt;
  // e = fromColorYellow&lt;br /&gt;
  // f = fromColorBlack&lt;br /&gt;
  // g = toColorCyan&lt;br /&gt;
  // h = toColorMagenta&lt;br /&gt;
  // i = toColorYellow&lt;br /&gt;
  // j = toColorBlack&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsTextBlock = 31;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapThemes = 32;                                                        //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapVisualizationProperties = 33;                                       //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapObjects = 34;                                                       //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_Layers = 35;                                                                   //12-0192&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SymbolStatusManager = 36;&lt;br /&gt;
  // First = Name&lt;br /&gt;
  // s = status string&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrBoundRects = 50;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrProjectMatrix = 51;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MrOptions = 52;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DisplayPar = 1024;&lt;br /&gt;
  // f = Show symbol favorites&lt;br /&gt;
  // g = selected symbol group&lt;br /&gt;
  // s = selected symbol&lt;br /&gt;
  // t = Show symbol tree&lt;br /&gt;
  // h = horizontal splitter (pixel from top)                                  &lt;br /&gt;
  // v = vertical splitter (pixel from right)                                    &lt;br /&gt;
  // b = horizontal splitter for background map panel (pixel from top)          &lt;br /&gt;
  // i = display mode for unsymbolized objects (0=normal, 2=hidden)             &lt;br /&gt;
  // j = display mode for graphic objects (0=normal, 2=hidden)                   &lt;br /&gt;
  // k = display mode for image objects (0=normal, 1=protect, 2=hidden) &lt;br /&gt;
  // l = display mode for layout objects (0=normal, 2=hidden)            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OimPar = 1025;&lt;br /&gt;
  // First = OpenLayers&lt;br /&gt;
  // a = Anti-Aliasing  [boolean]                                                 &lt;br /&gt;
  // b = Border width [integer]&lt;br /&gt;
  // A = Map title [string]&lt;br /&gt;
  // C = Map subtitle [string]&lt;br /&gt;
  // D = Base layer name [string]&lt;br /&gt;
  // E = Editlayer enable [boolean]&lt;br /&gt;
  // F = Searchbox enable [boolean]&lt;br /&gt;
  // s = Search/listbox with selection [boolean]&lt;br /&gt;
  // m = Do not create tiles [boolean]&lt;br /&gt;
  // H = Show layer selector [boolean]&lt;br /&gt;
  // I = Show overview map [boolean]&lt;br /&gt;
  // i = Show overview map maximized [ boolean]&lt;br /&gt;
  // K = Show mouse coordinates [boolean]&lt;br /&gt;
  // P = Show Permalink [boolean]&lt;br /&gt;
  // J = Font size in pt [integer]&lt;br /&gt;
  // L = Subheader fontsize in pt [integer]&lt;br /&gt;
  // R = Site background color red [integer: 0..255]&lt;br /&gt;
  // G = Site background color green [integer: 0..255]&lt;br /&gt;
  // B = Site background color blue  [integer: 0..255]&lt;br /&gt;
  // M = Border color [string] as hex e.g.: 00FF00 must be exact 6 values&lt;br /&gt;
  // N = Header font color [string] as hex exapmle see border color&lt;br /&gt;
  // O = Header background color [string] as hex&lt;br /&gt;
  // T = Subheader font color [string] as hex&lt;br /&gt;
  // Q = Subheader background color [string] as hex&lt;br /&gt;
  // X = Filename of last Safeplace [string]&lt;br /&gt;
  // f = Generate map from zoomlevel [integer]                                   &lt;br /&gt;
  // t = Generate map to zoomlevel [integer]&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PrintPar = 1026;&lt;br /&gt;
  // a = print scale&lt;br /&gt;
  // l = landscape&lt;br /&gt;
  // c = print (0 = color map, 1 = spot color separation)&lt;br /&gt;
  // g = print screen grid&lt;br /&gt;
  // d = screen grid color&lt;br /&gt;
  // i = intensity&lt;br /&gt;
  // w = additional width for lines and dots&lt;br /&gt;
  // r = Range (0 entire map, 1 part of map, 2 one page)&lt;br /&gt;
  // L = part of map left&lt;br /&gt;
  // B = part of map bottom&lt;br /&gt;
  // R = part of map right&lt;br /&gt;
  // T = part of map top&lt;br /&gt;
  // x = horizontal overlap&lt;br /&gt;
  // y = vertical overlap&lt;br /&gt;
  // b = print black   (course setting only)&lt;br /&gt;
  // m = Mirror        (course setting only)&lt;br /&gt;
  // s = HorScal       (course setting only)&lt;br /&gt;
  // t = VerScal       (course setting only)&lt;br /&gt;
  // p = reference point for part of map setup ([0..8])                         &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CdPrintPar = 1027;&lt;br /&gt;
  // s = Size&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DefaultBackgroundMapsPar = 1028;                                             &lt;br /&gt;
  // s = default scale&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_EpsPar = 1029;&lt;br /&gt;
  // r = EPS resolution&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ViewPar = 1030;&lt;br /&gt;
  // b = draft mode IGN for ocad-map [int: 0..100]&lt;br /&gt;
  // c = draft mode IGN background maps [int: 0..100]&lt;br /&gt;
  // d = hidden background maps&lt;br /&gt;
  // m = draft mode for ocad-map [int: 0..100]&lt;br /&gt;
  // t = draft mode background maps [int: 0..100]&lt;br /&gt;
  // v = view mode (0=normal, 1=spot colors, 2=draft, 3=draft IGN)&lt;br /&gt;
  // x = offset x&lt;br /&gt;
  // y = offset y&lt;br /&gt;
  // z = zoom&lt;br /&gt;
  // h = hatch areas (0 = normal, 1 = hatched)&lt;br /&gt;
  // k = keyline mode (0 = normal, 1 = keyline)                                  &lt;br /&gt;
  // i = map visible                                                             &lt;br /&gt;
  // l = hidden layout&lt;br /&gt;
  // OLD: a, p, s&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CoursePar = 1031;&lt;br /&gt;
  // a = create classes automatically&lt;br /&gt;
  // b = background for control description&lt;br /&gt;
  // B = draw white background also in draft mode (BOOL)&lt;br /&gt;
  // c = numbering (0 = number, 1 = number and code, 2 = code only)&lt;br /&gt;
  // d = control descriptions for all controls&lt;br /&gt;
  // e = event title&lt;br /&gt;
  // f = control frequencies (0 = number and frequencies, 1 = frequencies only)&lt;br /&gt;
  // h = thicker horizonal line in control description (0=not, 1=every third, 2=every fourth)&lt;br /&gt;
  // i = maximal length of control description (number of rows)&lt;br /&gt;
  // l = distance to connection line&lt;br /&gt;
  // n = distance to number&lt;br /&gt;
  // o = lock for cs object positions (0=unlocked, 1=locked) (BOOL)              &lt;br /&gt;
  // p = fullstop after control number (BOOL)                                          &lt;br /&gt;
  // q = lock for cs courses (0=unlocked, 1=locked) (BOOL)                       &lt;br /&gt;
  // r = export relay combinations&lt;br /&gt;
  // s = cell size control description&lt;br /&gt;
  // t = course title&lt;br /&gt;
  // u = punching system (0=SportIdent, 1=Emit, 2=other) (Integer)&lt;br /&gt;
  // w = write number of start to control description (BOOL)                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_TiffPar = 1032;&lt;br /&gt;
  // c = compression (1 = no compression, 2 = CCITT, 4 = FaxG4, 5 = LZW)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_TilesPar = 1033;&lt;br /&gt;
  // w = width&lt;br /&gt;
  // h = height&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbPar = 1034;&lt;br /&gt;
  // d = dataset&lt;br /&gt;
  // l = last code&lt;br /&gt;
  // n = create new record&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ExportPar = 1035;&lt;br /&gt;
  // First = Format (AI, BMP, DXF, GIF, JPEG, OIM, PDF, Shape, SVG, TIFF)&lt;br /&gt;
  // a = Anti-Aliasing&lt;br /&gt;
  // b = combined spot colors&lt;br /&gt;
  // c = color format (0 = 24 bit, 1 = 256 colors, 2 = grayscale, 3 = 1 bit, 4 = halftone screen)    &lt;br /&gt;
  // g = Raster (geo-referenced)export mode 0 = resolution, 1 = pixel size      &lt;br /&gt;
  // i = pixel size (in Meter)                                                  &lt;br /&gt;
  // l = color correction (0 off, 1 on)&lt;br /&gt;
  // o = spot color separations (0=CMYK, 1=spot colors)&lt;br /&gt;
  // p = part of map (0 off, 1 on)&lt;br /&gt;
  // q = JPEG quality (INTEGER, [0..100])                                         &lt;br /&gt;
  // r = resolution&lt;br /&gt;
  // s = scale&lt;br /&gt;
  // t = tiles (0 off, 1 on)&lt;br /&gt;
  // w = world file                                                              &lt;br /&gt;
  // z = compressed svg file (0 off, 1 on)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsExpTextPar = 1037;&lt;br /&gt;
  // C = classes (0 = courses, 1 = classes)&lt;br /&gt;
  // L = export climbing (0 = off, 1 = on)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsExpStatPar = 1038;&lt;br /&gt;
  // C = classes (0 = courses, 1 = classes)&lt;br /&gt;
  // a = separator 1&lt;br /&gt;
  // b = tab 1&lt;br /&gt;
  // c = separator 2&lt;br /&gt;
  // d = tab 2&lt;br /&gt;
  // e = separator 3&lt;br /&gt;
  // f = tab 3&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ScalePar = 1039;&lt;br /&gt;
  // a = real world angle&lt;br /&gt;
  // b = additional local easting offset in m                                 &lt;br /&gt;
  // c = additional local northing offset in m                                  &lt;br /&gt;
  // d = grid distance for real world  in m [double, 6]&lt;br /&gt;
  // g = grid distance for paper coordinates in mm [double, 6]&lt;br /&gt;
  // i = grid and zone&lt;br /&gt;
  // m = map scale&lt;br /&gt;
  // r = real world cord (0 = paper, 1 = real world)&lt;br /&gt;
  // x = real world offset easting &lt;br /&gt;
  // y = real world offset northing&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbCreateObjPar = 1040;&lt;br /&gt;
  // c = condition&lt;br /&gt;
  // d = dataset&lt;br /&gt;
  // t = text field&lt;br /&gt;
  // m = unit of measure (m = m, km = km)&lt;br /&gt;
  // u = horizontal offset&lt;br /&gt;
  // v = vertical offset&lt;br /&gt;
  // x = horizontal field&lt;br /&gt;
  // y = vertical field&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SelectedSpotColors = 1041;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_XmlScriptPar = 1042;                                                          &lt;br /&gt;
  // f = last used file&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_BackupPar = 1043;                                                             &lt;br /&gt;
  // p = path&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ExportPartOfMapPar = 1044;                                                    &lt;br /&gt;
  // b = boundary (0=rectangular boundries, 1=selected object for boundries)&lt;br /&gt;
  // s = export with selected object (0=false, 1=true)&lt;br /&gt;
  // r = reference point for part of map setup ([0..8])                         &lt;br /&gt;
  // l = export database links (0=false, 1=true)                            &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemPar = 1045;                                                                &lt;br /&gt;
  // First = file&lt;br /&gt;
  // l = DEM loaded&lt;br /&gt;
  // f = Frame visible&lt;br /&gt;
  // i = last used import folder                                                &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpsImportFilePar = 1046;                                                      &lt;br /&gt;
  // a = assign symbol (true/false)&lt;br /&gt;
  // t = symbol number for tracks&lt;br /&gt;
  // w = symbol number for waypoint&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ImportCsv = 1047;                                                             &lt;br /&gt;
  // n = point symbol number&lt;br /&gt;
  // t = text symbol number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RelayCoursesDialog = 1048;                                                   &lt;br /&gt;
  // First = last exported or printed course (STRING)&lt;br /&gt;
  // l = legs (-1=All) (INT)&lt;br /&gt;
  // p = variants selected (0=start numbers, 1=variants) (BOOL)&lt;br /&gt;
  // s = start number (-1=All) (STRING)&lt;br /&gt;
  // v = variants index (-1=All) (INT)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CsAutoControlDescription = 1049;                                              &lt;br /&gt;
  // First = ocd background map file name for auto control description (STRING)&lt;br /&gt;
  // a = auto control description (0=off, 1=off) (BOOL)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpxExportPar = 1050;                                                           &lt;br /&gt;
  // First = description&lt;br /&gt;
  // a = author&lt;br /&gt;
  // k = keywords&lt;br /&gt;
  // r = routes or tracks (true = routes, false = tracks)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_KmlInfo = 1051;                                                       &lt;br /&gt;
  // Description in ExpKml.pas&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GpsRouteAnalyzer = 1052;                                                      &lt;br /&gt;
  // First = Project file&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_CoordinateSystemPar = 1053;        // only used for user defined grid                                &lt;br /&gt;
  //First = description&lt;br /&gt;
  // d = datumId&lt;br /&gt;
  // e = ellipsoidId&lt;br /&gt;
  // x = ellipsoid axis&lt;br /&gt;
  // t = ellipsoid flattening&lt;br /&gt;
  // r = projectionId&lt;br /&gt;
  // m = false easting&lt;br /&gt;
  // n = false northing&lt;br /&gt;
  // f = scale factor&lt;br /&gt;
  // c = central meridian&lt;br /&gt;
  // o = longitude of origin&lt;br /&gt;
  // a = latitude of origin&lt;br /&gt;
  // s = standard parallel 1&lt;br /&gt;
  // p = standard parallel 2&lt;br /&gt;
  // l = location&lt;br /&gt;
  // z = azimuth&lt;br /&gt;
  // g = EPSG code                                                               &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GraticulePar = 1054;                                                           &lt;br /&gt;
  // h = horizontal distance&lt;br /&gt;
  // v = vertical distance&lt;br /&gt;
  // l = symbol number for grid lines&lt;br /&gt;
  // t = symbol number for text labels&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GraticuleNameIndexPar = 1055;                                                 &lt;br /&gt;
  // s = style&lt;br /&gt;
  // x = index origin of longitude&lt;br /&gt;
  // y = index origin of latitude&lt;br /&gt;
  // h = horizontal distance&lt;br /&gt;
  // v = vertical distance&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_KmzExportPar = 1056;                                                         &lt;br /&gt;
  // first = Name: string&lt;br /&gt;
  // t = Tiles: integer (0 = no tiles, 1 = Garmin Custom Maps optimized, 2 = tiles)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_LegendPar = 1057;                                                             &lt;br /&gt;
  // u = show only Used Symbols&lt;br /&gt;
  // v = show also hidden symbols                                                &lt;br /&gt;
  // h = icon Height&lt;br /&gt;
  // w = icon Height&lt;br /&gt;
  // y = line Spacing100&lt;br /&gt;
  // p = show Point Symbols&lt;br /&gt;
  // l = show Point Symbols&lt;br /&gt;
  // a = show Point Symbols&lt;br /&gt;
  // r = show Point Symbols&lt;br /&gt;
  // t = show Point Symbols&lt;br /&gt;
  // z = show Point Symbols&lt;br /&gt;
  // d = description Symbol&lt;br /&gt;
  // s = show Symbol Number&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulersPar = 1058;                                                           &lt;br /&gt;
  // no First&lt;br /&gt;
  // s = show (0=false, 1=true)&lt;br /&gt;
  // x = ruler origin x (INTEGER, OCAD coordinate)&lt;br /&gt;
  // y = ruler origin y (INTEGER, OCAD coordinate)&lt;br /&gt;
  // m = move also ruler guides (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_RulerGuidesPar = 1059;                                                         &lt;br /&gt;
  // no First&lt;br /&gt;
  // s = show (0=false, 1=true)&lt;br /&gt;
  // l = lock (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DbOptions = 1060;                                                             &lt;br /&gt;
  // c = create record when cutting object (0=false, 1=true)&lt;br /&gt;
  // d = delete record when deleting object (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapNotes = 1061;                                                              &lt;br /&gt;
  // First = text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SendFileByEmail = 1062;                                                        &lt;br /&gt;
  // First = subject&lt;br /&gt;
  // t = to&lt;br /&gt;
  // d = add loaded DEM (0=false, 1=true)&lt;br /&gt;
  // a = add loaded databases (0=false, 1=true)&lt;br /&gt;
  // b = add loaded databases (0=false, 1=true)&lt;br /&gt;
  // l = add loaded databases (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapGridPar = 1063;                                                             &lt;br /&gt;
  // a = angle&lt;br /&gt;
  // e = easting offset&lt;br /&gt;
  // n = northing offset&lt;br /&gt;
  // h = horizontal (easting) distance&lt;br /&gt;
  // v = vertical (northing) distance&lt;br /&gt;
  // x = create easting grid lines&lt;br /&gt;
  // y = create northing grid lines&lt;br /&gt;
  // j = create vertices at grid junctions                                       &lt;br /&gt;
  // l = symbol number for grid lines&lt;br /&gt;
  // s = grid labels &lt;br /&gt;
  // t = symbol number for text labels&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemSlopePar = 1064;                                                           &lt;br /&gt;
  // m = Method: 0 = continuous; 1 = black/white&lt;br /&gt;
  // c = Slope for black pixels in continuous method&lt;br /&gt;
  // b = Slope for black pixels in black/white method&lt;br /&gt;
  // l = load slope map as background map&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemProfilePar = 1065;                                                        &lt;br /&gt;
  // First = profile template path&lt;br /&gt;
  // a = scale option (0=auto-scale, 1=used defined scale)&lt;br /&gt;
  // c = scale&lt;br /&gt;
  // d = distance unit (0=km, 1=m)&lt;br /&gt;
  // g = show grid (0=false, 1=true)&lt;br /&gt;
  // m = time unit (0=h:mm)&lt;br /&gt;
  // r = round time steps (0=no round, 5=round to 5 minutes, 10=round to 10 minutes)&lt;br /&gt;
  // t = show text at the bottom of the profile (0=false, 1=true)&lt;br /&gt;
  // x = length resolution&lt;br /&gt;
  // z = elevation resolution&lt;br /&gt;
  // k = elevation factor&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemHillshadingPar = 1066;                                                    &lt;br /&gt;
  // m = Method: 0 = simple; 1 = combined&lt;br /&gt;
  // a = azimut&lt;br /&gt;
  // c = DEM cell size (0=false, 1=true)&lt;br /&gt;
  // d = declination&lt;br /&gt;
  // e = exaggeration&lt;br /&gt;
  // i = interpolation mode (INTEGER)&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
  // r = resolution&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemHypsometricMapPar = 1067;                                                  &lt;br /&gt;
  // c = color ramp type [0..2] (INTEGER)&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
  // w = use white color for elevation 0 (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemClassifyVegetationPar = 1068;                                              &lt;br /&gt;
  // m = Method: 0 = grayscale; 1 = colored&lt;br /&gt;
  // g = Grayscale color ramp: 0 = linear, 1 = quadratic negative, 2 = quadratic positive&lt;br /&gt;
  // l = load hillshading as background map&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ShapeExportPar = 1069;                                                       &lt;br /&gt;
  // a = item &#039;area objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // c = create projection file&lt;br /&gt;
  // d = dataset [&#039;all&#039; = All Objects or name of dataset]&lt;br /&gt;
  // l = item &#039;line objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // p = item &#039;point objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // r = replace word wrap by tilde (0=false, 1=true)&lt;br /&gt;
  // t = item &#039;text objects&#039; selected (0=false, 1=true)&lt;br /&gt;
  // u = UTF-8 Encoding (0=false, 1=true)                                        &lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DxfExportPar = 1070;                                                         &lt;br /&gt;
  // a = convert text from ANSI to OEM (0=false, 1=true)&lt;br /&gt;
  // o = convert text from OEM to Unicode (0=false, 1=true)&lt;br /&gt;
  // s = only objects with selected symbol (0=false, 1=true)&lt;br /&gt;
  // l = add symbol description in DXF layer name (0=false, 1=true)&lt;br /&gt;
  // e = export OCAD Curves as DXF splines (0=false, 1=true)&lt;br /&gt;
  // c = coordinates (0=m, 1=mm)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemImportLasPar = 1071;                                                       &lt;br /&gt;
  // u = unclassified&lt;br /&gt;
  // g = ground&lt;br /&gt;
  // l = low  vegetation&lt;br /&gt;
  // m = mean vegetation&lt;br /&gt;
  // h = high vegetation&lt;br /&gt;
  // b = buildings&lt;br /&gt;
  // w = water class&lt;br /&gt;
  // o = other class&lt;br /&gt;
  // r = Return option&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_MapRoutingPar = 1072;                                                      &lt;br /&gt;
  // f = from (0=Location, 1=Coordinate)&lt;br /&gt;
  // l = from location&lt;br /&gt;
  // e = from easting&lt;br /&gt;
  // n = from northing&lt;br /&gt;
  // T = to (0=Location, 1=Coordiante)&lt;br /&gt;
  // L = to location&lt;br /&gt;
  // E = to easting&lt;br /&gt;
  // N = to northing&lt;br /&gt;
  // d = add driving directions (0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ServerOfflineBaseObjectList = 1073;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SmoothPar = 1074;&lt;br /&gt;
  // s = smooth tolerance&lt;br /&gt;
  // a = keep vertices if angle change is greater then&lt;br /&gt;
  // c = angle change tolerance&lt;br /&gt;
  // d = keep vertices if curvature direction changes&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_GeneralizePar = 1075;&lt;br /&gt;
  // a = delete vertices if angle change is less than&lt;br /&gt;
  // c = angle change tolerance&lt;br /&gt;
  // f = area factor (percent)&lt;br /&gt;
  // g = generalization type: 0=simplification; 1=rectangle; 2=corner; 3=series&lt;br /&gt;
  // i = keep corner vertices&lt;br /&gt;
  // j = keep dash vertices&lt;br /&gt;
  // n = number of rectangles&lt;br /&gt;
  // r = rectangle option: 0=rectangle for each object; 1=one rectangle for all objects; 2=corner; 3=series&lt;br /&gt;
  // t = offset tolerance (1/100mm)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_PolylineToCurvePar = 1076;&lt;br /&gt;
  // t = tangent length factor&lt;br /&gt;
  // a = keep angle at polyline start/end&lt;br /&gt;
  // i = Keep incontinuity if angle change is greater than&lt;br /&gt;
  // v = angle incontinuity value&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_IntersectionPar = 1077;&lt;br /&gt;
  // a = intersection option (0=insert vertex, 1=cut line, 2=add point object)&lt;br /&gt;
  // v = vertex type (0=normal, 1=corner, 2=dash)&lt;br /&gt;
  // s = point symbol number&lt;br /&gt;
  // t = handle touching points as intersections&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_OcdLasPar = 1078;&lt;br /&gt;
  // First = file&lt;br /&gt;
  // l = DEM loaded&lt;br /&gt;
  // f = Frame visible&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapPar = 1079;&lt;br /&gt;
  // First = title&lt;br /&gt;
  // a = title color&lt;br /&gt;
  // b = title opacity&lt;br /&gt;
  // c = title font name&lt;br /&gt;
  // d = title font size&lt;br /&gt;
  // e = title isBold&lt;br /&gt;
  // f = title isItalic&lt;br /&gt;
  // g = title alignment&lt;br /&gt;
  // h = map height&lt;br /&gt;
  // i = Actual theme&lt;br /&gt;
  // m = additional information text color&lt;br /&gt;
  // n = additional information text opacity&lt;br /&gt;
  // p = additional information text font name&lt;br /&gt;
  // q = additional information text font size&lt;br /&gt;
  // r = additional information text isBold&lt;br /&gt;
  // s = additional information text isItalic&lt;br /&gt;
  // t = additional information text alignment&lt;br /&gt;
  // w = map width&lt;br /&gt;
  // x = additional information text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapLegendPar = 1080;&lt;br /&gt;
  // First = EMPTY&lt;br /&gt;
  // a = legend title color&lt;br /&gt;
  // b = legend title opacity&lt;br /&gt;
  // c = legend title font name&lt;br /&gt;
  // d = legend title font size&lt;br /&gt;
  // e = legend title isBold&lt;br /&gt;
  // f = legend title isItalic&lt;br /&gt;
  // g = legend title alignment&lt;br /&gt;
  // m = legend text color&lt;br /&gt;
  // n = legend text opacity&lt;br /&gt;
  // p = legend text font name&lt;br /&gt;
  // q = legend text font size&lt;br /&gt;
  // r = legend text isBold&lt;br /&gt;
  // s = legend text isItalic&lt;br /&gt;
  // t = legend text alignment&lt;br /&gt;
  // v = add theme legend&lt;br /&gt;
  // w = add basemap legend&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_ThematicMapScaleBarPar = 1081;&lt;br /&gt;
  // First = EMPTY&lt;br /&gt;
  // c = scale bar color&lt;br /&gt;
  // d = scale bar line width&lt;br /&gt;
  // m = scale text color&lt;br /&gt;
  // n = scale text opacity&lt;br /&gt;
  // p = scale text font name&lt;br /&gt;
  // q = scale text font size&lt;br /&gt;
  // r = scale text isBold&lt;br /&gt;
  // s = scale text isItalic&lt;br /&gt;
  // t = scale text alignment&lt;br /&gt;
  // v = add scale bar&lt;br /&gt;
  // w = add scale text&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_SelectObjectsByDatePar = 1082;&lt;br /&gt;
  // c = Creation data checked (boolean: 0=false, 1=true)&lt;br /&gt;
  // f = from dataTime (double)&lt;br /&gt;
  // t = to dataTime (double)&lt;br /&gt;
  // a = All objects  checked (boolean: 0=false, 1=true)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
si_DemCreateContourLinesPar = 1083;&lt;br /&gt;
  // a = equidistance level 1, multiplyed by 100 (cardinal)&lt;br /&gt;
  // b = equidistance level 2, multiplyed by 100 (cardinal)&lt;br /&gt;
  // c = equidistance level 3, multiplyed by 100 (cardinal)&lt;br /&gt;
  // d = symbol number level 1 (cardinal)&lt;br /&gt;
  // e = symbol number level 2 (cardinal)&lt;br /&gt;
  // f = symbol number level 3 (cardinal)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12940</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12940"/>
		<updated>2021-03-31T06:32:01Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Geoviewer url */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose (...)&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePathNew.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;br /&gt;
===Geoviewer url===&lt;br /&gt;
Enter here the user-defined url to open a geoviewer clicking the &#039;&#039;&#039;Open Geoviewer&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar.  &lt;br /&gt;
&lt;br /&gt;
By default it is Google Street View.&lt;br /&gt;
&lt;br /&gt;
Supported variables:&lt;br /&gt;
* {easting}&lt;br /&gt;
* {northing}&lt;br /&gt;
* {latitude}&lt;br /&gt;
* {longitude}&lt;br /&gt;
* {direction}&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* Google Street View: http://maps.google.com/maps?q=&amp;amp;layer=c&amp;amp;cbll={latitude},{longitude}&amp;amp;cbp=11,{direction},0,0,0&lt;br /&gt;
&lt;br /&gt;
* swisstopo map: https://map.geo.admin.ch/?lang=de&amp;amp;topic=ech&amp;amp;bgLayer=ch.swisstopo.swissimage&amp;amp;layers_opacity=0.8&amp;amp;layers_visibility=false&amp;amp;E={easting}&amp;amp;N={northing}&amp;amp;zoom=13&lt;br /&gt;
&lt;br /&gt;
* mapy.cz: https://mapy.cz/zakladni?x={longitude}&amp;amp;y={latitude}&amp;amp;z=17&lt;br /&gt;
&lt;br /&gt;
* Ordnance Survey map: https://osmaps.ordnancesurvey.co.uk/{latitude},{longitude},17&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12939</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12939"/>
		<updated>2021-03-30T06:39:16Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Geoviewer url */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose (...)&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePathNew.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;br /&gt;
===Geoviewer url===&lt;br /&gt;
Enter here the user-defined url to open a geoviewer clicking the &#039;&#039;&#039;Open Geoviewer&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar.  &lt;br /&gt;
&lt;br /&gt;
By default it is Google Street View.&lt;br /&gt;
&lt;br /&gt;
Supported variables:&lt;br /&gt;
* {easting}&lt;br /&gt;
* {northing}&lt;br /&gt;
* {latitude}&lt;br /&gt;
* {longitude}&lt;br /&gt;
* {direction}&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* http://maps.google.com/maps?q=&amp;amp;layer=c&amp;amp;cbll={latitude},{longitude}&amp;amp;cbp=11,{direction},0,0,0&lt;br /&gt;
&lt;br /&gt;
* https://map.geo.admin.ch/?lang=de&amp;amp;topic=ech&amp;amp;bgLayer=ch.swisstopo.swissimage&amp;amp;layers_opacity=0.8&amp;amp;layers_visibility=false&amp;amp;E={easting}&amp;amp;N={northing}&amp;amp;zoom=13&lt;br /&gt;
&lt;br /&gt;
* https://mapy.cz/zakladni?x={longitude}&amp;amp;y={latitude}&amp;amp;z=17&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12938</id>
		<title>Open Geoviewer</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12938"/>
		<updated>2021-03-30T06:38:28Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Open Google Street View File:Space.PNGThis function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartographyThis function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteeringThis function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteeringThis function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Open Geoviewer [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
# Select the &#039;&#039;&#039;Open Geoviewer&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar. The cursor changes to an arrow.&amp;lt;br&amp;gt;[[File:Hint.jpg|hint]] The toolbar icon is disabled if the map is not georeferenced.&lt;br /&gt;
# Click into the drawing area and drag a direction. &amp;lt;br&amp;gt;[[File:GoogleStreetViewDragDirection.png]] &lt;br /&gt;
# OCAD opens the web browser with Google Street View at the chosen position and direction.&amp;lt;br&amp;gt;&lt;br /&gt;
::Here you see the building, in which OCAD has its office.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GoogleStreetView.jpg]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12937</id>
		<title>Open Geoviewer</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12937"/>
		<updated>2021-03-30T06:38:14Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Open Google Street View File:Space.PNGThis function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartographyThis function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteeringThis function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteeringThis function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Open Google Street View [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
# Select the &#039;&#039;&#039;Open Geoviewer&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar. The cursor changes to an arrow.&amp;lt;br&amp;gt;[[File:Hint.jpg|hint]] The toolbar icon is disabled if the map is not georeferenced.&lt;br /&gt;
# Click into the drawing area and drag a direction. &amp;lt;br&amp;gt;[[File:GoogleStreetViewDragDirection.png]] &lt;br /&gt;
# OCAD opens the web browser with Google Street View at the chosen position and direction.&amp;lt;br&amp;gt;&lt;br /&gt;
::Here you see the building, in which OCAD has its office.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GoogleStreetView.jpg]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12936</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12936"/>
		<updated>2021-03-30T06:37:35Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Google API Key */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose (...)&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePathNew.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;br /&gt;
===Geoviewer url===&lt;br /&gt;
Enter here the user-defined url to open a geoviewer clicking the &#039;&#039;&#039;Open Geoviewer&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar.  &lt;br /&gt;
&lt;br /&gt;
By default it is Google Street View.&lt;br /&gt;
&lt;br /&gt;
Supported variables:&lt;br /&gt;
* {easting}&lt;br /&gt;
* {northing}&lt;br /&gt;
* {latitude}&lt;br /&gt;
* {longitude}&lt;br /&gt;
* {direction}&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
http://maps.google.com/maps?q=&amp;amp;layer=c&amp;amp;cbll={latitude},{longitude}&amp;amp;cbp=11,{direction},0,0,0&lt;br /&gt;
&lt;br /&gt;
https://map.geo.admin.ch/?lang=de&amp;amp;topic=ech&amp;amp;bgLayer=ch.swisstopo.swissimage&amp;amp;layers_opacity=0.8&amp;amp;layers_visibility=false&amp;amp;E={easting}&amp;amp;N={northing}&amp;amp;zoom=13&lt;br /&gt;
&lt;br /&gt;
https://mapy.cz/zakladni?x={longitude}&amp;amp;y={latitude}&amp;amp;z=17&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Google_Street_View&amp;diff=12935</id>
		<title>Open Google Street View</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Google_Street_View&amp;diff=12935"/>
		<updated>2021-03-30T06:33:00Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: Admin moved page Open Google Street View to Open Geoviewer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Open Geoviewer]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12934</id>
		<title>Open Geoviewer</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Open_Geoviewer&amp;diff=12934"/>
		<updated>2021-03-30T06:32:59Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: Admin moved page Open Google Street View to Open Geoviewer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Open Google Street View [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
# Select the &#039;&#039;&#039;Open Google Street View&#039;&#039;&#039; icon [[File:IconGSV.PNG]] in the toolbar. The cursor changes to an arrow.&amp;lt;br&amp;gt;[[File:Hint.jpg|hint]] The toolbar icon is disabled if the map is not georeferenced.&lt;br /&gt;
# Click into the drawing area and drag a direction. &amp;lt;br&amp;gt;[[File:GoogleStreetViewDragDirection.png]] &lt;br /&gt;
# OCAD opens the web browser with Google Street View at the chosen position and direction.&amp;lt;br&amp;gt;&lt;br /&gt;
::Here you see the building, in which OCAD has its office.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GoogleStreetView.jpg]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Upload_to_Livelox&amp;diff=12915</id>
		<title>Upload to Livelox</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Upload_to_Livelox&amp;diff=12915"/>
		<updated>2021-03-29T11:18:26Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: Created page with &amp;quot;ToDo&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ToDo&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12910</id>
		<title>Technical Data</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12910"/>
		<updated>2021-03-26T13:15:44Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Tablets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Computer / System Requirements==&lt;br /&gt;
* OCAD requires Windows 8 or Windows 10 (32- or 64-bit). OCAD is available as 32-bit and 64-bit software.&lt;br /&gt;
* We strongly recommend for Windows Vista und Windows 7 to use the default Aero Theme to avoid unnecessary screen redraws or erased maps when moving dialogs. &lt;br /&gt;
* 100 MB of free disk space for the installation&lt;br /&gt;
* At least 1 GB RAM (depends on the size of open maps and background maps). The OCAD program without any open map needs only 70 MB RAM.&lt;br /&gt;
* OCAD as 32-bit software can allocate up to approx. 3.5 GB RAM (&#039;&#039;&#039;32-bit&#039;&#039;&#039; Windows 7 consult the page [[Physical_Memory|Physical Memory]]). OCAD as 64-bit software and can allocate more than 3.5 GB RAM if available.&lt;br /&gt;
* Screen resolution: 1280 x 1024 or higher recommended (needs to be multiplied with the screen scaling factor e.g. 2560 x 2048 when using 200% scaling)&lt;br /&gt;
* OCAD Mapping Solution: We recommend to install the [http://www.ocad.com/download/bde.exe Borland Database Engine] (import shape files, database connections to dBase files, using OCAD to create thematic maps) and the [http://www.microsoft.com/download/en/details.aspx?id=13255 Microsoft Access Database Engine 32-bit] (database connections to Access/Excel files, using OCAD to create thematic maps).&lt;br /&gt;
&lt;br /&gt;
[[File:hint.jpg]] OCAD 64-bit version cannot connect to Microsoft Excel/Access if the 32-bit version of Microsoft Access Database Engine is installed. The same with 64-bit Microsoft Access Database Engine and OCAD 32 bit version. &lt;br /&gt;
In this case use the same OCAD version as installed Microsoft Access Database Engine..&lt;br /&gt;
&lt;br /&gt;
== 64-bit Version vs. 32-bit Version == &lt;br /&gt;
&#039;&#039;&#039;OCAD Orienteering&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Mapping Solution&#039;&#039;&#039; are new available as 64-bit version. However, we have still also a 32-bit version. The OCAD Setup installs both versions. Both versions uses the same resources, nevertheless it is possible to run both version at the same time. The installer creates a program shortcut for each version.&amp;lt;br&amp;gt;&lt;br /&gt;
Please note, the 64-bit version isn&#039;t faster than the 32-bit version. The big advantage of 64-bit is that OCAD can allocate more than 3 GB RAM if available on the computer. That is important when loading huge raster background maps or DEM files.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; only come as a 32-bit verion. &lt;br /&gt;
&lt;br /&gt;
You can check your Windows version in the OCAD map information dialog.&lt;br /&gt;
 &lt;br /&gt;
OCAD 64-bit runs only in Windows 64-bit version. Nowadays, most computers are running on a 64-bit Windows version. OCAD 32-bit runs on both Windows 64-bit and 32-bit. The ocd files are 100% compatible between both versions. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Please note that not all OCAD functions are available in both versions. The restrictions for OCAD 64-bit version are: &lt;br /&gt;
* dbf database file cannot be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation ocd files are assicated with OCAD 32-bit version. To change to 64-bit see &#039;&#039;&#039;[[How to Change Default Program Association]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Mac OS X ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Mac OS X]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Linux ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Linux]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD Limits ==&lt;br /&gt;
* Maximal map size: 4 x 4 meters (OCAD Orienteering edition), 80 x 80 meters (Mapping Solution edition)&lt;br /&gt;
* Resolution (accuracy of coordinates) 0.01 mm&lt;br /&gt;
* 10000 objects (Starter edition), 16 million objects (OCAD Mapping Solution, Orienteering, Course Setting and Viewer edition) &lt;br /&gt;
* 4 million vertices for each object&lt;br /&gt;
* Unlimited number of symbols (number range 0.001 to 999&#039;999.999)&lt;br /&gt;
* 32&#039;000 colors (number range from 0 to 32&#039;000)&lt;br /&gt;
* 2 GB file size&lt;br /&gt;
&lt;br /&gt;
== OCAD File Format ==&lt;br /&gt;
This description of the OCAD file format is intended for programmers who want to directly access the information in OCAD files.&lt;br /&gt;
&lt;br /&gt;
* [[OCAD 12 File Format]]&lt;br /&gt;
* [http://www.ocad.com/wiki/ocad11/en/?title=Main_Page OCAD 11 File Format]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD10Format.txt OCAD 10 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.pdf OCAD 9/10 Graphic]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.txt OCAD 9 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/format8.txt OCAD 6/7/8 File Format]&lt;br /&gt;
&lt;br /&gt;
== Recommendations ==&lt;br /&gt;
OCAD runs on all 7 / 8 or 10 computers except Windows 8 RT (ARM tablets).&lt;br /&gt;
===Mapping on TabletPC===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Tablet PC with Windows &lt;br /&gt;
* Long battery life (8 hours or longer)&lt;br /&gt;
* Outdoor screen&lt;br /&gt;
* GPS with USB or Bluetooth connection&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition&lt;br /&gt;
&lt;br /&gt;
====Toughpads / Rugged Computes====&lt;br /&gt;
&lt;br /&gt;
Nowadays you will find many rugged computers for tough environments as you will need it when mapping in the terrain. However, these devices are rather expensive if you are not a professional mapper and can cost up to a few thousand Euros. Also consider the weight of the device, which can be over 1kg.&lt;br /&gt;
As a big plus point, these devices are working well in all weathers and are possible to use in rain. For most devices, the GNSS module also support Galileo additional to GPS and GLONASS. Battery should last a working day.&lt;br /&gt;
More information can found e.g. on www.forest-it.se&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
* Handheld Algiz 8X &lt;br /&gt;
* Trimble Yuma 2&lt;br /&gt;
* Panasonic Toughpad FZ-G1&lt;br /&gt;
* Gen2wave RP70&lt;br /&gt;
* FIDS Zelo&lt;br /&gt;
* Welo R10S&lt;br /&gt;
&lt;br /&gt;
====Tablets====&lt;br /&gt;
&lt;br /&gt;
Other OCAD user are working with a normal tablet in the terrain. Battery lifetime is an issue and can vary not only from device to device but is also dependend on outside temperature. In cold conditions, a normal battery lifetime of 6 hours can be reduced to only 3-4 hours. Use an external battery pack in a bag connected by wire to the tablet to extend battery lifetime. When it rains, the computer needs to be packed into a plastic bag to continue working.&lt;br /&gt;
All in all, it is an attractive alternative to rugged computers, as this setting is less weight and cheaper.&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Microsoft Surface Pro&lt;br /&gt;
*Microsoft Surface Go&lt;br /&gt;
*Lenovo tablet (Intel Atom CPU Z3795)&lt;br /&gt;
&lt;br /&gt;
In addition, it is a good idea to connect an external GPS receiver to the tablet to have your current position shown in OCAD with a few meters accuracy. GPS receivers which support external positioning services have a much higher accuray (cm)&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Garmin GLO 2 &lt;br /&gt;
*Navilock BT-821G Bluetooth GNSS Receiver MT3333&lt;br /&gt;
&lt;br /&gt;
===Draw Orienteering Maps and Course Setting===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop or Laptop with Windows&lt;br /&gt;
* 4 GB or more RAM (at least 8 GB RAM when working with big Airborne Laserscanning Files) &lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition or OCAD Course Setting Edition&lt;br /&gt;
&lt;br /&gt;
===Map Publishing Companies===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop PC with Windows one or two screens&lt;br /&gt;
* 4 or more GB RAM&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Mapping Solution&lt;br /&gt;
Special OCAD Settings:&lt;br /&gt;
* Switch on the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; in &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;View&#039;&#039;&#039; tab in &#039;&#039;&#039;Options&#039;&#039;&#039; menu.&lt;br /&gt;
* Switch off the &#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039; mode in &#039;&#039;&#039;View&#039;&#039;&#039; menu. If Anti-Aliasing is switched off then OCAD draws the screen color by color. Otherwise OCAD draws the screen once after a short time.&lt;br /&gt;
&lt;br /&gt;
== Digital Signature ==&lt;br /&gt;
The OCAD program file and the OCAD setup file are signed with the [https://en.wikipedia.org/wiki/Code_signing digital signature] of OCAD AG. That confirms the software author and guarantee that the code has not been altered or corrupted since it was signed by use of a cryptographic hash. OCAD uses the digital signature algorithm sha256RSA.&lt;br /&gt;
&lt;br /&gt;
That is the reason why OCAD doesn&#039;t run on Windows XP and Vista. &lt;br /&gt;
&lt;br /&gt;
The see the digital signature open the context menu of the OCAD setup file (.exe file) in &#039;&#039;&#039;File Explorer&#039;&#039;&#039; and click &#039;&#039;&#039;Properies&#039;&#039;&#039;. The &#039;&#039;&#039;Properties dialog&#039;&#039;&#039; opens. Click the &#039;&#039;&#039;Digital Signature&#039;&#039;&#039; tab.&lt;br /&gt;
Click &#039;&#039;&#039;Details&#039;&#039;&#039;. In  &#039;&#039;&#039;Digital Signature Details&#039;&#039;&#039; dialog is the &#039;&#039;&#039;Signer Name&#039;&#039;&#039; &#039;&#039;OCAD AG&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:DigitalSignature.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12909</id>
		<title>Technical Data</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12909"/>
		<updated>2021-03-26T13:15:19Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Tablets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Computer / System Requirements==&lt;br /&gt;
* OCAD requires Windows 8 or Windows 10 (32- or 64-bit). OCAD is available as 32-bit and 64-bit software.&lt;br /&gt;
* We strongly recommend for Windows Vista und Windows 7 to use the default Aero Theme to avoid unnecessary screen redraws or erased maps when moving dialogs. &lt;br /&gt;
* 100 MB of free disk space for the installation&lt;br /&gt;
* At least 1 GB RAM (depends on the size of open maps and background maps). The OCAD program without any open map needs only 70 MB RAM.&lt;br /&gt;
* OCAD as 32-bit software can allocate up to approx. 3.5 GB RAM (&#039;&#039;&#039;32-bit&#039;&#039;&#039; Windows 7 consult the page [[Physical_Memory|Physical Memory]]). OCAD as 64-bit software and can allocate more than 3.5 GB RAM if available.&lt;br /&gt;
* Screen resolution: 1280 x 1024 or higher recommended (needs to be multiplied with the screen scaling factor e.g. 2560 x 2048 when using 200% scaling)&lt;br /&gt;
* OCAD Mapping Solution: We recommend to install the [http://www.ocad.com/download/bde.exe Borland Database Engine] (import shape files, database connections to dBase files, using OCAD to create thematic maps) and the [http://www.microsoft.com/download/en/details.aspx?id=13255 Microsoft Access Database Engine 32-bit] (database connections to Access/Excel files, using OCAD to create thematic maps).&lt;br /&gt;
&lt;br /&gt;
[[File:hint.jpg]] OCAD 64-bit version cannot connect to Microsoft Excel/Access if the 32-bit version of Microsoft Access Database Engine is installed. The same with 64-bit Microsoft Access Database Engine and OCAD 32 bit version. &lt;br /&gt;
In this case use the same OCAD version as installed Microsoft Access Database Engine..&lt;br /&gt;
&lt;br /&gt;
== 64-bit Version vs. 32-bit Version == &lt;br /&gt;
&#039;&#039;&#039;OCAD Orienteering&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Mapping Solution&#039;&#039;&#039; are new available as 64-bit version. However, we have still also a 32-bit version. The OCAD Setup installs both versions. Both versions uses the same resources, nevertheless it is possible to run both version at the same time. The installer creates a program shortcut for each version.&amp;lt;br&amp;gt;&lt;br /&gt;
Please note, the 64-bit version isn&#039;t faster than the 32-bit version. The big advantage of 64-bit is that OCAD can allocate more than 3 GB RAM if available on the computer. That is important when loading huge raster background maps or DEM files.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; only come as a 32-bit verion. &lt;br /&gt;
&lt;br /&gt;
You can check your Windows version in the OCAD map information dialog.&lt;br /&gt;
 &lt;br /&gt;
OCAD 64-bit runs only in Windows 64-bit version. Nowadays, most computers are running on a 64-bit Windows version. OCAD 32-bit runs on both Windows 64-bit and 32-bit. The ocd files are 100% compatible between both versions. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Please note that not all OCAD functions are available in both versions. The restrictions for OCAD 64-bit version are: &lt;br /&gt;
* dbf database file cannot be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation ocd files are assicated with OCAD 32-bit version. To change to 64-bit see &#039;&#039;&#039;[[How to Change Default Program Association]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Mac OS X ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Mac OS X]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Linux ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Linux]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD Limits ==&lt;br /&gt;
* Maximal map size: 4 x 4 meters (OCAD Orienteering edition), 80 x 80 meters (Mapping Solution edition)&lt;br /&gt;
* Resolution (accuracy of coordinates) 0.01 mm&lt;br /&gt;
* 10000 objects (Starter edition), 16 million objects (OCAD Mapping Solution, Orienteering, Course Setting and Viewer edition) &lt;br /&gt;
* 4 million vertices for each object&lt;br /&gt;
* Unlimited number of symbols (number range 0.001 to 999&#039;999.999)&lt;br /&gt;
* 32&#039;000 colors (number range from 0 to 32&#039;000)&lt;br /&gt;
* 2 GB file size&lt;br /&gt;
&lt;br /&gt;
== OCAD File Format ==&lt;br /&gt;
This description of the OCAD file format is intended for programmers who want to directly access the information in OCAD files.&lt;br /&gt;
&lt;br /&gt;
* [[OCAD 12 File Format]]&lt;br /&gt;
* [http://www.ocad.com/wiki/ocad11/en/?title=Main_Page OCAD 11 File Format]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD10Format.txt OCAD 10 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.pdf OCAD 9/10 Graphic]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.txt OCAD 9 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/format8.txt OCAD 6/7/8 File Format]&lt;br /&gt;
&lt;br /&gt;
== Recommendations ==&lt;br /&gt;
OCAD runs on all 7 / 8 or 10 computers except Windows 8 RT (ARM tablets).&lt;br /&gt;
===Mapping on TabletPC===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Tablet PC with Windows &lt;br /&gt;
* Long battery life (8 hours or longer)&lt;br /&gt;
* Outdoor screen&lt;br /&gt;
* GPS with USB or Bluetooth connection&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition&lt;br /&gt;
&lt;br /&gt;
====Toughpads / Rugged Computes====&lt;br /&gt;
&lt;br /&gt;
Nowadays you will find many rugged computers for tough environments as you will need it when mapping in the terrain. However, these devices are rather expensive if you are not a professional mapper and can cost up to a few thousand Euros. Also consider the weight of the device, which can be over 1kg.&lt;br /&gt;
As a big plus point, these devices are working well in all weathers and are possible to use in rain. For most devices, the GNSS module also support Galileo additional to GPS and GLONASS. Battery should last a working day.&lt;br /&gt;
More information can found e.g. on www.forest-it.se&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
* Handheld Algiz 8X &lt;br /&gt;
* Trimble Yuma 2&lt;br /&gt;
* Panasonic Toughpad FZ-G1&lt;br /&gt;
* Gen2wave RP70&lt;br /&gt;
* FIDS Zelo&lt;br /&gt;
* Welo R10S&lt;br /&gt;
&lt;br /&gt;
====Tablets====&lt;br /&gt;
&lt;br /&gt;
Other OCAD user are working with a normal tablet in the terrain. Battery lifetime is an issue and can vary not only from device to device but is also dependend on outside temperature. In cold conditions, a normal battery lifetime of 6 hours can be reduced to only 3-4 hours. Use an external battery pack in a bag connected by wire to the tablet to extend battery lifetime. When it rains, the computer needs to be packed into a plastic bag to continue working.&lt;br /&gt;
All in all, it is an attractive alternative to rugged computers, as this setting is less weight and cheaper.&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Microsoft Surface Pro&lt;br /&gt;
*Microsoft Surface Go&lt;br /&gt;
*Lenovo tablet (Intel Atom CPU Z3795)&lt;br /&gt;
&lt;br /&gt;
In addition, it is a good idea to connect an external GPS receiver to the tablet to have your current position shown in OCAD with a few meters accuracy. GPS which supports external positioning services have a much higher accuray (cm)&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Garmin GLO 2 &lt;br /&gt;
*Navilock BT-821G Bluetooth GNSS Receiver MT3333&lt;br /&gt;
&lt;br /&gt;
===Draw Orienteering Maps and Course Setting===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop or Laptop with Windows&lt;br /&gt;
* 4 GB or more RAM (at least 8 GB RAM when working with big Airborne Laserscanning Files) &lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition or OCAD Course Setting Edition&lt;br /&gt;
&lt;br /&gt;
===Map Publishing Companies===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop PC with Windows one or two screens&lt;br /&gt;
* 4 or more GB RAM&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Mapping Solution&lt;br /&gt;
Special OCAD Settings:&lt;br /&gt;
* Switch on the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; in &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;View&#039;&#039;&#039; tab in &#039;&#039;&#039;Options&#039;&#039;&#039; menu.&lt;br /&gt;
* Switch off the &#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039; mode in &#039;&#039;&#039;View&#039;&#039;&#039; menu. If Anti-Aliasing is switched off then OCAD draws the screen color by color. Otherwise OCAD draws the screen once after a short time.&lt;br /&gt;
&lt;br /&gt;
== Digital Signature ==&lt;br /&gt;
The OCAD program file and the OCAD setup file are signed with the [https://en.wikipedia.org/wiki/Code_signing digital signature] of OCAD AG. That confirms the software author and guarantee that the code has not been altered or corrupted since it was signed by use of a cryptographic hash. OCAD uses the digital signature algorithm sha256RSA.&lt;br /&gt;
&lt;br /&gt;
That is the reason why OCAD doesn&#039;t run on Windows XP and Vista. &lt;br /&gt;
&lt;br /&gt;
The see the digital signature open the context menu of the OCAD setup file (.exe file) in &#039;&#039;&#039;File Explorer&#039;&#039;&#039; and click &#039;&#039;&#039;Properies&#039;&#039;&#039;. The &#039;&#039;&#039;Properties dialog&#039;&#039;&#039; opens. Click the &#039;&#039;&#039;Digital Signature&#039;&#039;&#039; tab.&lt;br /&gt;
Click &#039;&#039;&#039;Details&#039;&#039;&#039;. In  &#039;&#039;&#039;Digital Signature Details&#039;&#039;&#039; dialog is the &#039;&#039;&#039;Signer Name&#039;&#039;&#039; &#039;&#039;OCAD AG&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:DigitalSignature.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12908</id>
		<title>Technical Data</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12908"/>
		<updated>2021-03-26T13:13:55Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Toughpads / Rugged Computes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Computer / System Requirements==&lt;br /&gt;
* OCAD requires Windows 8 or Windows 10 (32- or 64-bit). OCAD is available as 32-bit and 64-bit software.&lt;br /&gt;
* We strongly recommend for Windows Vista und Windows 7 to use the default Aero Theme to avoid unnecessary screen redraws or erased maps when moving dialogs. &lt;br /&gt;
* 100 MB of free disk space for the installation&lt;br /&gt;
* At least 1 GB RAM (depends on the size of open maps and background maps). The OCAD program without any open map needs only 70 MB RAM.&lt;br /&gt;
* OCAD as 32-bit software can allocate up to approx. 3.5 GB RAM (&#039;&#039;&#039;32-bit&#039;&#039;&#039; Windows 7 consult the page [[Physical_Memory|Physical Memory]]). OCAD as 64-bit software and can allocate more than 3.5 GB RAM if available.&lt;br /&gt;
* Screen resolution: 1280 x 1024 or higher recommended (needs to be multiplied with the screen scaling factor e.g. 2560 x 2048 when using 200% scaling)&lt;br /&gt;
* OCAD Mapping Solution: We recommend to install the [http://www.ocad.com/download/bde.exe Borland Database Engine] (import shape files, database connections to dBase files, using OCAD to create thematic maps) and the [http://www.microsoft.com/download/en/details.aspx?id=13255 Microsoft Access Database Engine 32-bit] (database connections to Access/Excel files, using OCAD to create thematic maps).&lt;br /&gt;
&lt;br /&gt;
[[File:hint.jpg]] OCAD 64-bit version cannot connect to Microsoft Excel/Access if the 32-bit version of Microsoft Access Database Engine is installed. The same with 64-bit Microsoft Access Database Engine and OCAD 32 bit version. &lt;br /&gt;
In this case use the same OCAD version as installed Microsoft Access Database Engine..&lt;br /&gt;
&lt;br /&gt;
== 64-bit Version vs. 32-bit Version == &lt;br /&gt;
&#039;&#039;&#039;OCAD Orienteering&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Mapping Solution&#039;&#039;&#039; are new available as 64-bit version. However, we have still also a 32-bit version. The OCAD Setup installs both versions. Both versions uses the same resources, nevertheless it is possible to run both version at the same time. The installer creates a program shortcut for each version.&amp;lt;br&amp;gt;&lt;br /&gt;
Please note, the 64-bit version isn&#039;t faster than the 32-bit version. The big advantage of 64-bit is that OCAD can allocate more than 3 GB RAM if available on the computer. That is important when loading huge raster background maps or DEM files.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; only come as a 32-bit verion. &lt;br /&gt;
&lt;br /&gt;
You can check your Windows version in the OCAD map information dialog.&lt;br /&gt;
 &lt;br /&gt;
OCAD 64-bit runs only in Windows 64-bit version. Nowadays, most computers are running on a 64-bit Windows version. OCAD 32-bit runs on both Windows 64-bit and 32-bit. The ocd files are 100% compatible between both versions. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Please note that not all OCAD functions are available in both versions. The restrictions for OCAD 64-bit version are: &lt;br /&gt;
* dbf database file cannot be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation ocd files are assicated with OCAD 32-bit version. To change to 64-bit see &#039;&#039;&#039;[[How to Change Default Program Association]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Mac OS X ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Mac OS X]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Linux ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Linux]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD Limits ==&lt;br /&gt;
* Maximal map size: 4 x 4 meters (OCAD Orienteering edition), 80 x 80 meters (Mapping Solution edition)&lt;br /&gt;
* Resolution (accuracy of coordinates) 0.01 mm&lt;br /&gt;
* 10000 objects (Starter edition), 16 million objects (OCAD Mapping Solution, Orienteering, Course Setting and Viewer edition) &lt;br /&gt;
* 4 million vertices for each object&lt;br /&gt;
* Unlimited number of symbols (number range 0.001 to 999&#039;999.999)&lt;br /&gt;
* 32&#039;000 colors (number range from 0 to 32&#039;000)&lt;br /&gt;
* 2 GB file size&lt;br /&gt;
&lt;br /&gt;
== OCAD File Format ==&lt;br /&gt;
This description of the OCAD file format is intended for programmers who want to directly access the information in OCAD files.&lt;br /&gt;
&lt;br /&gt;
* [[OCAD 12 File Format]]&lt;br /&gt;
* [http://www.ocad.com/wiki/ocad11/en/?title=Main_Page OCAD 11 File Format]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD10Format.txt OCAD 10 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.pdf OCAD 9/10 Graphic]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.txt OCAD 9 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/format8.txt OCAD 6/7/8 File Format]&lt;br /&gt;
&lt;br /&gt;
== Recommendations ==&lt;br /&gt;
OCAD runs on all 7 / 8 or 10 computers except Windows 8 RT (ARM tablets).&lt;br /&gt;
===Mapping on TabletPC===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Tablet PC with Windows &lt;br /&gt;
* Long battery life (8 hours or longer)&lt;br /&gt;
* Outdoor screen&lt;br /&gt;
* GPS with USB or Bluetooth connection&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition&lt;br /&gt;
&lt;br /&gt;
====Toughpads / Rugged Computes====&lt;br /&gt;
&lt;br /&gt;
Nowadays you will find many rugged computers for tough environments as you will need it when mapping in the terrain. However, these devices are rather expensive if you are not a professional mapper and can cost up to a few thousand Euros. Also consider the weight of the device, which can be over 1kg.&lt;br /&gt;
As a big plus point, these devices are working well in all weathers and are possible to use in rain. For most devices, the GNSS module also support Galileo additional to GPS and GLONASS. Battery should last a working day.&lt;br /&gt;
More information can found e.g. on www.forest-it.se&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
* Handheld Algiz 8X &lt;br /&gt;
* Trimble Yuma 2&lt;br /&gt;
* Panasonic Toughpad FZ-G1&lt;br /&gt;
* Gen2wave RP70&lt;br /&gt;
* FIDS Zelo&lt;br /&gt;
* Welo R10S&lt;br /&gt;
&lt;br /&gt;
====Tablets====&lt;br /&gt;
&lt;br /&gt;
Other OCAD user are working with a normal tablet in the terrain. Battery lifetime is an issue and can vary not only from device to device but is also dependend on outside temperature. In cold conditions, a normal battery lifetime of 6 hours can be reduced to only 3-4 hours. Use an external battery pack in a bag connected by wire to the tablet to extend battery lifetime. When it rains, the computer needs to be packed into a plastic bag to continue working.&lt;br /&gt;
All in all, it is an attractive alternative to rugged computers, as this setting is less weight and cheaper.&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Microsoft Surface Pro&lt;br /&gt;
*Microsoft Surface Go&lt;br /&gt;
*Lenovo tablet (Intel Atom CPU Z3795)&lt;br /&gt;
&lt;br /&gt;
In addition, it is a good idea to connect an external GPS receiver to the tablet to have your current position shown in OCAD with a few meters accuracy.&amp;lt;br&amp;gt;&lt;br /&gt;
Some recommendation of our customers:&amp;lt;br&amp;gt;&lt;br /&gt;
*Garmin GLO 2 &lt;br /&gt;
*Navilock BT-821G Bluetooth GNSS Receiver MT3333&lt;br /&gt;
&lt;br /&gt;
===Draw Orienteering Maps and Course Setting===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop or Laptop with Windows&lt;br /&gt;
* 4 GB or more RAM (at least 8 GB RAM when working with big Airborne Laserscanning Files) &lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition or OCAD Course Setting Edition&lt;br /&gt;
&lt;br /&gt;
===Map Publishing Companies===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop PC with Windows one or two screens&lt;br /&gt;
* 4 or more GB RAM&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Mapping Solution&lt;br /&gt;
Special OCAD Settings:&lt;br /&gt;
* Switch on the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; in &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;View&#039;&#039;&#039; tab in &#039;&#039;&#039;Options&#039;&#039;&#039; menu.&lt;br /&gt;
* Switch off the &#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039; mode in &#039;&#039;&#039;View&#039;&#039;&#039; menu. If Anti-Aliasing is switched off then OCAD draws the screen color by color. Otherwise OCAD draws the screen once after a short time.&lt;br /&gt;
&lt;br /&gt;
== Digital Signature ==&lt;br /&gt;
The OCAD program file and the OCAD setup file are signed with the [https://en.wikipedia.org/wiki/Code_signing digital signature] of OCAD AG. That confirms the software author and guarantee that the code has not been altered or corrupted since it was signed by use of a cryptographic hash. OCAD uses the digital signature algorithm sha256RSA.&lt;br /&gt;
&lt;br /&gt;
That is the reason why OCAD doesn&#039;t run on Windows XP and Vista. &lt;br /&gt;
&lt;br /&gt;
The see the digital signature open the context menu of the OCAD setup file (.exe file) in &#039;&#039;&#039;File Explorer&#039;&#039;&#039; and click &#039;&#039;&#039;Properies&#039;&#039;&#039;. The &#039;&#039;&#039;Properties dialog&#039;&#039;&#039; opens. Click the &#039;&#039;&#039;Digital Signature&#039;&#039;&#039; tab.&lt;br /&gt;
Click &#039;&#039;&#039;Details&#039;&#039;&#039;. In  &#039;&#039;&#039;Digital Signature Details&#039;&#039;&#039; dialog is the &#039;&#039;&#039;Signer Name&#039;&#039;&#039; &#039;&#039;OCAD AG&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:DigitalSignature.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12905</id>
		<title>XML Script Lidar and DTM Import</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12905"/>
		<updated>2021-03-26T10:17:47Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
LiDAR data are invaluable for mapping, as highly accurate contour lines and base maps can be created.&amp;lt;br&amp;gt;&lt;br /&gt;
But when processing LiDAR data (las or laz file format) and DTM for larger areas, a computer can quickly become overloaded because not enough RAM is available and crashes.&amp;lt;br&amp;gt;&lt;br /&gt;
To avoid this, you have to work with XML scripts for larger projects. This may seem complicated at first glance, but don’t worry: All you have to do is copy code and make some adjustments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:LiDARImportXML.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Huge areas can be calculated in one single step.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is what you need to do:&lt;br /&gt;
&lt;br /&gt;
*Create the folder structure first. &#039;&#039;&#039;[https://www.ocad.com/downloads/XML_LiDAR.zip Download]&#039;&#039;&#039; and unzip our folder structure in your chosen directory.&lt;br /&gt;
*Create a new, empty OCAD File with the desired symbol set, map scale and georeferencing. The &#039;&#039;&#039;[[New_Map_Wizard|New Map Wizard]]&#039;&#039;&#039; can help you with that.&lt;br /&gt;
*Save this file as &#039;&#039;Template.ocd&#039;&#039; (means overwrite the &#039;&#039;Template.ocd&#039;&#039; file in the folder structure).&lt;br /&gt;
*Put your LiDAR files in the folder &#039;&#039;0_LAZ&#039;&#039;. &lt;br /&gt;
*Open the &#039;&#039;XML_Script.xml&#039;&#039; file with a text editor and &#039;&#039;&#039;adjust the file pathes&#039;&#039;&#039; in the document, e.g. from &#039;&#039;C:\Tmp\XML_LiDAR\Template.ocd&#039;&#039; to &#039;&#039;S:\O Map ZG\Template.ocd&#039;&#039;.&lt;br /&gt;
*In the OCAD File menu, go to &#039;&#039;&#039;[[XML_Script|Execute XML Script]]&#039;&#039;&#039; and run the script.&lt;br /&gt;
&lt;br /&gt;
Before you run the script with all your data, it&#039;s recommended to put only a few LiDAR files into the &#039;&#039;0_LAZ&#039;&#039; folder and see if everything works. If it does, put all LiDAR files there and clean all folders from output data from the testrun.&lt;br /&gt;
&lt;br /&gt;
The XML function for importing las/laz files and creating contour lines and vegetation map is also available in the OCAD Orienteering edition.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This script imports laz data and create contour lines and the vegetation base map.&amp;lt;br&amp;gt; &lt;br /&gt;
The single tiles are calculated separately and then cropped and merged together in the end.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;!-- 1. step: import all laz files and create ocdDem and ocdLas tiles--&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\Map.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.DemImport&amp;gt;&lt;br /&gt;
    &amp;lt;LasImport&amp;gt;&lt;br /&gt;
      &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\0_LAZ\&amp;lt;/Directory&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasImport&amp;gt;    &lt;br /&gt;
    &amp;lt;CreateOcdDem&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Cellsize100&amp;gt;100&amp;lt;/Cellsize100&amp;gt;&lt;br /&gt;
      &amp;lt;CreateVegetationBaseMap&amp;gt;false&amp;lt;/CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDtm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;false&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;false&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;false&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;1&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDtm&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDsm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;true&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;true&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;true&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;2&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDsm&amp;gt;      &lt;br /&gt;
    &amp;lt;/CreateOcdDem&amp;gt;  &lt;br /&gt;
      &amp;lt;CreateOcdLas&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/CreateOcdLas&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.DemImport&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 2. step: match height at tile borders--&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\Map_Matching.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MatchTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MatchTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 3. step: merge ocdDem tiles to 7000m x 7000m ocdDem tiles (5000m x 5000m + 1000m border around): --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\Map_Merging.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MergeTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 4. step: crop ocdDem tiles to 5000m x 5000m --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\Map_Cropped.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.CropTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.CropTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 5. step: create contour lines --&amp;gt;    &lt;br /&gt;
  &amp;lt;Dem.CreateContourLines&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
    &amp;lt;TemplateFile&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/TemplateFile&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeCropping&amp;gt;5000&amp;lt;/TileSizeCropping&amp;gt;  &lt;br /&gt;
    &amp;lt;Merging&amp;gt;true&amp;lt;/Merging&amp;gt;  &lt;br /&gt;
    &amp;lt;EquidistanceOriginal&amp;gt;500&amp;lt;/EquidistanceOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;CreateNotSmoothedContours&amp;gt;false&amp;lt;/CreateNotSmoothedContours&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel1&amp;gt;250&amp;lt;/EquidistanceLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel2&amp;gt;1250&amp;lt;/EquidistanceLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel3&amp;gt;0&amp;lt;/EquidistanceLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1&amp;gt;101000&amp;lt;/SymbolNumberLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2&amp;gt;102000&amp;lt;/SymbolNumberLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3&amp;gt;0&amp;lt;/SymbolNumberLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;CreateSmoothedContoursUsingTpi&amp;gt;true&amp;lt;/CreateSmoothedContoursUsingTpi&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiOriginal&amp;gt;250&amp;lt;/EquidistanceTpiOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel1&amp;gt;250&amp;lt;/EquidistanceTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel2&amp;gt;1250&amp;lt;/EquidistanceTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel3&amp;gt;0&amp;lt;/EquidistanceTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1&amp;gt;101000&amp;lt;/SymbolNumberTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2&amp;gt;102000&amp;lt;/SymbolNumberTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;UseDifferentSymbolsForDepressions&amp;gt;false&amp;lt;/UseDifferentSymbolsForDepressions&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;ConvertTpiContoursToBezier&amp;gt;true&amp;lt;/ConvertTpiContoursToBezier&amp;gt;&lt;br /&gt;
    &amp;lt;DeleteCombinedDemFile&amp;gt;true&amp;lt;/DeleteCombinedDemFile&amp;gt;&lt;br /&gt;
    &amp;lt;MinimumContourValue&amp;gt;0&amp;lt;/MinimumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;MaximumContourValue&amp;gt;0&amp;lt;/MaximumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;IsMaxContourLength&amp;gt;false&amp;lt;/IsMaxContourLength&amp;gt;&lt;br /&gt;
    &amp;lt;MaxContourLength&amp;gt;0&amp;lt;/MaxContourLength&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.CreateContourLines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 6. step: merge contour lines into one ocd file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\6_ImportAllOcds\Contour Lines.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Import.Ocd&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolOption&amp;gt;0&amp;lt;/SymbolOption&amp;gt;&lt;br /&gt;
    &amp;lt;ColorOption&amp;gt;0&amp;lt;/ColorOption&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Import.Ocd&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 7. step: create vegetation base map (png file) for each ocdLas file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\7_png\Map_Vegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
      &lt;br /&gt;
    &amp;lt;CellSize&amp;gt;1&amp;lt;/CellSize&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelUndergrowth&amp;gt;3&amp;lt;/NeighborhoodKernelUndergrowth&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthLow&amp;gt;0.00&amp;lt;/ThresholdUndergrowthLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthHigh&amp;gt;0.00&amp;lt;/ThresholdUndergrowthHigh&amp;gt;  &lt;br /&gt;
    &amp;lt;ThresholdUndergrowthSlow&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthDifficult&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelVegetation&amp;gt;5&amp;lt;/NeighborhoodKernelVegetation&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationLow&amp;gt;0.30&amp;lt;/ThresholdVegetationLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationHigh&amp;gt;3.00&amp;lt;/ThresholdVegetationHigh&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdVegetationSlow&amp;gt;-0.40&amp;lt;/ThresholdVegetationSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationDifficult&amp;gt;-0.20&amp;lt;/ThresholdVegetationDifficult&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationVeryDifficult&amp;gt;+0.20&amp;lt;/ThresholdVegetationVeryDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdOverlapPointsLow&amp;gt;0.30&amp;lt;/ThresholdOverlapPointsLow&amp;gt;    &lt;br /&gt;
    &amp;lt;ShowAreaWithNoData&amp;gt;false&amp;lt;/ShowAreaWithNoData&amp;gt;&lt;br /&gt;
    &amp;lt;UseFilter&amp;gt;true&amp;lt;/UseFilter&amp;gt;&lt;br /&gt;
    &amp;lt;LasClassification&amp;gt;&lt;br /&gt;
      &amp;lt;NeverClassified&amp;gt;false&amp;lt;/NeverClassified&amp;gt;&lt;br /&gt;
      &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
      &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
      &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;MediumVegetation&amp;gt;true&amp;lt;/MediumVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
      &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
      &amp;lt;HighPoint&amp;gt;false&amp;lt;/HighPoint&amp;gt;&lt;br /&gt;
      &amp;lt;Water&amp;gt;false&amp;lt;/Water&amp;gt;&lt;br /&gt;
      &amp;lt;Railroad&amp;gt;false&amp;lt;/Railroad&amp;gt;&lt;br /&gt;
      &amp;lt;Road&amp;gt;false&amp;lt;/Road&amp;gt;&lt;br /&gt;
      &amp;lt;Overlap&amp;gt;false&amp;lt;/Overlap&amp;gt;&lt;br /&gt;
      &amp;lt;WireGuard&amp;gt;false&amp;lt;/WireGuard&amp;gt;&lt;br /&gt;
      &amp;lt;WireConductor&amp;gt;false&amp;lt;/WireConductor&amp;gt;&lt;br /&gt;
      &amp;lt;TransmissionTower&amp;gt;false&amp;lt;/TransmissionTower&amp;gt;&lt;br /&gt;
      &amp;lt;WireStructurConnector&amp;gt;false&amp;lt;/WireStructurConnector&amp;gt;&lt;br /&gt;
      &amp;lt;Bridge&amp;gt;false&amp;lt;/Bridge&amp;gt;&lt;br /&gt;
      &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasClassification&amp;gt;    &lt;br /&gt;
  &amp;lt;/Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 7. step: merge png files to bigger tiles--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\Map_mergeVegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12904</id>
		<title>XML Script Lidar and DTM Import</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script_Lidar_and_DTM_Import&amp;diff=12904"/>
		<updated>2021-03-26T10:17:28Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
LiDAR data are invaluable for mapping, as highly accurate contour lines and base maps can be created.&amp;lt;br&amp;gt;&lt;br /&gt;
But when processing LiDAR data (las or laz file format) and DTM for larger areas, a computer can quickly become overloaded because not enough RAM is available and crashes.&amp;lt;br&amp;gt;&lt;br /&gt;
To avoid this, you have to work with XML scripts for larger projects. This may seem complicated at first glance, but don’t worry: All you have to do is copy code and make some adjustments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:LiDARImportXML.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Huge areas can be calculated in one single step.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is what you need to do:&lt;br /&gt;
&lt;br /&gt;
*Create the folder sturcture first. &#039;&#039;&#039;[https://www.ocad.com/downloads/XML_LiDAR.zip Download]&#039;&#039;&#039; and unzip our folder structure in your chosen directory.&lt;br /&gt;
*Create a new, empty OCAD File with the desired symbol set, map scale and georeferencing. The &#039;&#039;&#039;[[New_Map_Wizard|New Map Wizard]]&#039;&#039;&#039; can help you with that.&lt;br /&gt;
*Save this file as &#039;&#039;Template.ocd&#039;&#039; (means overwrite the &#039;&#039;Template.ocd&#039;&#039; file in the folder structure).&lt;br /&gt;
*Put your LiDAR files in the folder &#039;&#039;0_LAZ&#039;&#039;. &lt;br /&gt;
*Open the &#039;&#039;XML_Script.xml&#039;&#039; file with a text editor and &#039;&#039;&#039;adjust the file pathes&#039;&#039;&#039; in the document, e.g. from &#039;&#039;C:\Tmp\XML_LiDAR\Template.ocd&#039;&#039; to &#039;&#039;S:\O Map ZG\Template.ocd&#039;&#039;.&lt;br /&gt;
*In the OCAD File menu, go to &#039;&#039;&#039;[[XML_Script|Execute XML Script]]&#039;&#039;&#039; and run the script.&lt;br /&gt;
&lt;br /&gt;
Before you run the script with all your data, it&#039;s recommended to put only a few LiDAR files into the &#039;&#039;0_LAZ&#039;&#039; folder and see if everything works. If it does, put all LiDAR files there and clean all folders from output data from the testrun.&lt;br /&gt;
&lt;br /&gt;
The XML function for importing las/laz files and creating contour lines and vegetation map is also available in the OCAD Orienteering edition.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This script imports laz data and create contour lines and the vegetation base map.&amp;lt;br&amp;gt; &lt;br /&gt;
The single tiles are calculated separately and then cropped and merged together in the end.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;!-- 1. step: import all laz files and create ocdDem and ocdLas tiles--&amp;gt;&lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\Map.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.DemImport&amp;gt;&lt;br /&gt;
    &amp;lt;LasImport&amp;gt;&lt;br /&gt;
      &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\0_LAZ\&amp;lt;/Directory&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasImport&amp;gt;    &lt;br /&gt;
    &amp;lt;CreateOcdDem&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;Cellsize100&amp;gt;100&amp;lt;/Cellsize100&amp;gt;&lt;br /&gt;
      &amp;lt;CreateVegetationBaseMap&amp;gt;false&amp;lt;/CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDtm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;false&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;false&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;false&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;1&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDtm&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;LasDsm&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Classification&amp;gt;&lt;br /&gt;
          &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
          &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
          &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;MeanVegetation&amp;gt;true&amp;lt;/MeanVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
          &amp;lt;Building&amp;gt;true&amp;lt;/Building&amp;gt;&lt;br /&gt;
          &amp;lt;LowPoint&amp;gt;true&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
          &amp;lt;Water&amp;gt;true&amp;lt;/Water&amp;gt;&lt;br /&gt;
          &amp;lt;OverlapPoints&amp;gt;false&amp;lt;/OverlapPoints&amp;gt;&lt;br /&gt;
          &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;&lt;br /&gt;
        &amp;lt;/Classification&amp;gt;&lt;br /&gt;
        &amp;lt;ReturnType&amp;gt;2&amp;lt;/ReturnType&amp;gt;&lt;br /&gt;
        &amp;lt;CreateAndLoadIntensityAndClassificationMap&amp;gt;false&amp;lt;/CreateAndLoadIntensityAndClassificationMap&amp;gt;&lt;br /&gt;
      &amp;lt;/LasDsm&amp;gt;      &lt;br /&gt;
    &amp;lt;/CreateOcdDem&amp;gt;  &lt;br /&gt;
      &amp;lt;CreateOcdLas&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/CreateOcdLas&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.DemImport&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 2. step: match height at tile borders--&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\Map_Matching.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MatchTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MatchTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 3. step: merge ocdDem tiles to 7000m x 7000m ocdDem tiles (5000m x 5000m + 1000m border around): --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\Map_Merging.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.MergeTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\2_ocdDemMatching\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 4. step: crop ocdDem tiles to 5000m x 5000m --&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\Map_Cropped.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;Dem.CropTiles&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\3_ocdDemMerging\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSize&amp;gt;5000&amp;lt;/TileSize&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.CropTiles&amp;gt;&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 5. step: create contour lines --&amp;gt;    &lt;br /&gt;
  &amp;lt;Dem.CreateContourLines&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
    &amp;lt;TemplateFile&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/TemplateFile&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\4_ocdDem_Cropped\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;TileSizeCropping&amp;gt;5000&amp;lt;/TileSizeCropping&amp;gt;  &lt;br /&gt;
    &amp;lt;Merging&amp;gt;true&amp;lt;/Merging&amp;gt;  &lt;br /&gt;
    &amp;lt;EquidistanceOriginal&amp;gt;500&amp;lt;/EquidistanceOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;CreateNotSmoothedContours&amp;gt;false&amp;lt;/CreateNotSmoothedContours&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel1&amp;gt;250&amp;lt;/EquidistanceLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel2&amp;gt;1250&amp;lt;/EquidistanceLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceLevel3&amp;gt;0&amp;lt;/EquidistanceLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1&amp;gt;101000&amp;lt;/SymbolNumberLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2&amp;gt;102000&amp;lt;/SymbolNumberLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3&amp;gt;0&amp;lt;/SymbolNumberLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;CreateSmoothedContoursUsingTpi&amp;gt;true&amp;lt;/CreateSmoothedContoursUsingTpi&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiOriginal&amp;gt;250&amp;lt;/EquidistanceTpiOriginal&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel1&amp;gt;250&amp;lt;/EquidistanceTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel2&amp;gt;1250&amp;lt;/EquidistanceTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;EquidistanceTpiLevel3&amp;gt;0&amp;lt;/EquidistanceTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1&amp;gt;101000&amp;lt;/SymbolNumberTpiLevel1&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2&amp;gt;102000&amp;lt;/SymbolNumberTpiLevel2&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3&amp;gt;&lt;br /&gt;
    &amp;lt;UseDifferentSymbolsForDepressions&amp;gt;false&amp;lt;/UseDifferentSymbolsForDepressions&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel1Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel1Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel2Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel2Depr&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolNumberTpiLevel3Depr&amp;gt;0&amp;lt;/SymbolNumberTpiLevel3Depr&amp;gt;&lt;br /&gt;
    &amp;lt;ConvertTpiContoursToBezier&amp;gt;true&amp;lt;/ConvertTpiContoursToBezier&amp;gt;&lt;br /&gt;
    &amp;lt;DeleteCombinedDemFile&amp;gt;true&amp;lt;/DeleteCombinedDemFile&amp;gt;&lt;br /&gt;
    &amp;lt;MinimumContourValue&amp;gt;0&amp;lt;/MinimumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;MaximumContourValue&amp;gt;0&amp;lt;/MaximumContourValue&amp;gt;&lt;br /&gt;
    &amp;lt;IsMaxContourLength&amp;gt;false&amp;lt;/IsMaxContourLength&amp;gt;&lt;br /&gt;
    &amp;lt;MaxContourLength&amp;gt;0&amp;lt;/MaxContourLength&amp;gt;&lt;br /&gt;
  &amp;lt;/Dem.CreateContourLines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 6. step: merge contour lines into one ocd file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\6_ImportAllOcds\Contour Lines.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &amp;lt;File.Import.Ocd&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Tmp\XML_LiDAR\5_CreateContourLines\&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;SymbolOption&amp;gt;0&amp;lt;/SymbolOption&amp;gt;&lt;br /&gt;
    &amp;lt;ColorOption&amp;gt;0&amp;lt;/ColorOption&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Import.Ocd&amp;gt;  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- 7. step: create vegetation base map (png file) for each ocdLas file--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\7_png\Map_Vegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\1_ocdDem\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
      &lt;br /&gt;
    &amp;lt;CellSize&amp;gt;1&amp;lt;/CellSize&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelUndergrowth&amp;gt;3&amp;lt;/NeighborhoodKernelUndergrowth&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthLow&amp;gt;0.00&amp;lt;/ThresholdUndergrowthLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthHigh&amp;gt;0.00&amp;lt;/ThresholdUndergrowthHigh&amp;gt;  &lt;br /&gt;
    &amp;lt;ThresholdUndergrowthSlow&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdUndergrowthDifficult&amp;gt;+1.00&amp;lt;/ThresholdUndergrowthDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;NeighborhoodKernelVegetation&amp;gt;5&amp;lt;/NeighborhoodKernelVegetation&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationLow&amp;gt;0.30&amp;lt;/ThresholdVegetationLow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationHigh&amp;gt;3.00&amp;lt;/ThresholdVegetationHigh&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdVegetationSlow&amp;gt;-0.40&amp;lt;/ThresholdVegetationSlow&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationDifficult&amp;gt;-0.20&amp;lt;/ThresholdVegetationDifficult&amp;gt;&lt;br /&gt;
    &amp;lt;ThresholdVegetationVeryDifficult&amp;gt;+0.20&amp;lt;/ThresholdVegetationVeryDifficult&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;ThresholdOverlapPointsLow&amp;gt;0.30&amp;lt;/ThresholdOverlapPointsLow&amp;gt;    &lt;br /&gt;
    &amp;lt;ShowAreaWithNoData&amp;gt;false&amp;lt;/ShowAreaWithNoData&amp;gt;&lt;br /&gt;
    &amp;lt;UseFilter&amp;gt;true&amp;lt;/UseFilter&amp;gt;&lt;br /&gt;
    &amp;lt;LasClassification&amp;gt;&lt;br /&gt;
      &amp;lt;NeverClassified&amp;gt;false&amp;lt;/NeverClassified&amp;gt;&lt;br /&gt;
      &amp;lt;Unclassified&amp;gt;false&amp;lt;/Unclassified&amp;gt;&lt;br /&gt;
      &amp;lt;Ground&amp;gt;true&amp;lt;/Ground&amp;gt;&lt;br /&gt;
      &amp;lt;LowVegetation&amp;gt;true&amp;lt;/LowVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;MediumVegetation&amp;gt;true&amp;lt;/MediumVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;HighVegetation&amp;gt;true&amp;lt;/HighVegetation&amp;gt;&lt;br /&gt;
      &amp;lt;Building&amp;gt;false&amp;lt;/Building&amp;gt;&lt;br /&gt;
      &amp;lt;LowPoint&amp;gt;false&amp;lt;/LowPoint&amp;gt;&lt;br /&gt;
      &amp;lt;HighPoint&amp;gt;false&amp;lt;/HighPoint&amp;gt;&lt;br /&gt;
      &amp;lt;Water&amp;gt;false&amp;lt;/Water&amp;gt;&lt;br /&gt;
      &amp;lt;Railroad&amp;gt;false&amp;lt;/Railroad&amp;gt;&lt;br /&gt;
      &amp;lt;Road&amp;gt;false&amp;lt;/Road&amp;gt;&lt;br /&gt;
      &amp;lt;Overlap&amp;gt;false&amp;lt;/Overlap&amp;gt;&lt;br /&gt;
      &amp;lt;WireGuard&amp;gt;false&amp;lt;/WireGuard&amp;gt;&lt;br /&gt;
      &amp;lt;WireConductor&amp;gt;false&amp;lt;/WireConductor&amp;gt;&lt;br /&gt;
      &amp;lt;TransmissionTower&amp;gt;false&amp;lt;/TransmissionTower&amp;gt;&lt;br /&gt;
      &amp;lt;WireStructurConnector&amp;gt;false&amp;lt;/WireStructurConnector&amp;gt;&lt;br /&gt;
      &amp;lt;Bridge&amp;gt;false&amp;lt;/Bridge&amp;gt;&lt;br /&gt;
      &amp;lt;Other&amp;gt;false&amp;lt;/Other&amp;gt;  &lt;br /&gt;
    &amp;lt;/LasClassification&amp;gt;    &lt;br /&gt;
  &amp;lt;/Dem.CreateVegetationBaseMap&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;!-- 7. step: merge png files to bigger tiles--&amp;gt;    &lt;br /&gt;
  &amp;lt;File.Open&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\Template.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Open&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\Map_mergeVegetation.ocd&amp;lt;/File&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;InputFolder&amp;gt;C:\Tmp\XML_LiDAR\7_png\&amp;lt;/InputFolder&amp;gt;  &lt;br /&gt;
    &amp;lt;OutputFolder&amp;gt;C:\Tmp\XML_LiDAR\8_mergePNG\&amp;lt;/OutputFolder&amp;gt;  &lt;br /&gt;
  &amp;lt;/Dem.MergeRasterMapTiles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;  &lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;  &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12903</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12903"/>
		<updated>2021-03-26T09:54:48Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Real Time GPS File:Space.PNGThis function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartographyThis function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:RealTimeGPS.PNG]]&lt;br /&gt;
==Real Time GPS [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu for mobile mapping with GPS. The GPS device must be connected to the computer via the COM interface with Bluetooth.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] If your GPS device is connected via an USB port or an internal GPS cannot be connected via Windows Location API, please install a software like &#039;&#039;&#039;[https://gpsgate.com/products/gpsgate_client GpsGate Splitter]&#039;&#039;&#039; to transfer the data to a virtual COM port (&#039;&#039;Add Output -&amp;gt; Virtual COM port / NMEA filter&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] All COM ports that are listed in the Windows registry key &#039;&#039;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM&#039;&#039; are available in OCAD.&lt;br /&gt;
&lt;br /&gt;
When you choose the &#039;&#039;&#039;Real Time GPS&#039;&#039;&#039; command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu, the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog appears.&lt;br /&gt;
&lt;br /&gt;
===Real Time GPS Settings===&lt;br /&gt;
[[File:RealTimeGpsSettings.png]]&lt;br /&gt;
====Connection Settings====&lt;br /&gt;
There are two Connection Settings:&lt;br /&gt;
&lt;br /&gt;
=====COM=====&lt;br /&gt;
&lt;br /&gt;
Choose this option to connect your GPS device with a COM port.&lt;br /&gt;
# &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the COM port where the GPS device is connected. The GPS device must send the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/NMEA_0183 NMEA 0183 Format]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Baud rate:&#039;&#039;&#039; Choose the baud rate the serial port. NMEA 0183 defines 4800 bps but some devices may send data at a different speed.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Test:&#039;&#039;&#039; Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to open the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; dialog box. The NMEA messages received from the GPS device are displayed there and you can verify the connection of the GPS device. Read more about this dialog in the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; article on this page.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can use an app (we tested &#039;&#039;Share GPS&#039;&#039;) and connect your &#039;&#039;&#039;smarphone&#039;&#039;&#039; via bluetooth with the computer/tablet. After that, set up the connection via COM interface.&lt;br /&gt;
&lt;br /&gt;
=====Windows Location API=====&lt;br /&gt;
&lt;br /&gt;
Internal or external GPS devices can be connected using the [https://msdn.microsoft.com/en-us/library/windows/desktop/dd464636%28v=vs.85%29.aspx Windows Location API]. This options is recommended if the Windows computer does not anymore support COM ports.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Location service&#039;&#039;&#039; must be activated in the Windows settings. For Windows 10 you can find this option in the &#039;&#039;&#039;Privacy&#039;&#039;&#039; settings -&amp;gt; &#039;&#039;&#039;Location&#039;&#039;&#039;. Switch on the &#039;&#039;&#039;Location service&#039;&#039;&#039; and switch on the app &#039;&#039;&#039;App connector&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Choose a sensor from the &#039;&#039;&#039;sensor list&#039;&#039;&#039; and click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to test the connection settings.&lt;br /&gt;
The real time GPS works still in the habitual way.&lt;br /&gt;
: [[File:Hint.jpg|hint]] The GPS may needs to be manually activated as a location sensor in the &#039;&#039;&#039;Windows settings&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] if no sensor is listed, please use a tool like [[GPS#Real_Time_GPS|GpsGate Splitter]] to transfer the GPS signal to a virtual COM port.&lt;br /&gt;
&lt;br /&gt;
====Requirements====&lt;br /&gt;
The following requirements can be given:&lt;br /&gt;
* &#039;&#039;&#039;DGPS, RTK, Float RTK:&#039;&#039;&#039; Check this option to use DGPS, RTK, Float RTK and define if the positions calculated without &#039;&#039;&#039;[https://en.wikipedia.org/wiki/DGPS DGPS]&#039;&#039;&#039;, &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Real_Time_Kinematic RTK]&#039;&#039;&#039;, &#039;&#039;&#039;Float RTK&#039;&#039;&#039; are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;Min. 4 satellites:&#039;&#039;&#039; Check this option as a kind of precision requirement and define if the positions calculated from less than 4 satellites are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; Check this option to define an upper limit for the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Dilution_of_precision_%28GPS%29 HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; value and define if the positions calculated with a higher HDOP are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
&lt;br /&gt;
====Options====&lt;br /&gt;
* &#039;&#039;&#039;Filter:&#039;&#039;&#039; Check this option to activate a filter and specify how many GPS positions are averaged. This results in a more stable position, but the update is slower.&lt;br /&gt;
* &#039;&#039;&#039;Accuracy circle:&#039;&#039;&#039;  This option is enabled when the &#039;&#039;&#039;Filter&#039;&#039;&#039; option is checked. Check this option to show the accuracy circle. This shows the accuracy of the last 5 measurements with a circle around the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Auto scroll (moving map):&#039;&#039;&#039; Check this option to move the map automatically with the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Subtract antenna height from Z value:&#039;&#039;&#039; Check this option to define a correction for the Z value. The entered value gets subtracted from the measured height value.&lt;br /&gt;
*&#039;&#039;&#039;GPS Connection tail:&#039;&#039;&#039; Check this option to show GPS positions tail.&amp;lt;br&amp;gt; &lt;br /&gt;
- You can also choose the length of the tail.&amp;lt;br&amp;gt;&lt;br /&gt;
- The tail color is the same as the &#039;&#039;&#039;[[OCAD_Preferences#Mark|mark color]]&#039;&#039;&#039;, which can be set in the OCAD Preferences.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeShowTail.png]]&lt;br /&gt;
&lt;br /&gt;
====Coordinate system====&lt;br /&gt;
Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Connect&#039;&#039;&#039; button to turn on the real time GPS mode. The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if the connection to the GPS device was successful.&lt;br /&gt;
&lt;br /&gt;
Close the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog or click the &#039;&#039;&#039;Disconnect&#039;&#039;&#039; button to turn off real time GPS.&lt;br /&gt;
&lt;br /&gt;
===Test GPS===&lt;br /&gt;
Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog to open the &#039;&#039;&#039;Test GPS&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:TestGPS.PNG]]&lt;br /&gt;
&lt;br /&gt;
If OCAD receives &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Messages]&#039;&#039;&#039;, those messages are displayed in the &#039;&#039;&#039;Serial data&#039;&#039;&#039; field. Characters 4 to 6 show the abbreviation GGA (e.g. $XXGGA...). &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#RMC RMC Messages]&#039;&#039;&#039; are displayed if OCAD does not receive any GGA messages. RMC messages contain no information about DGPS and the number of satellites. However, the position can still be used in OCAD. The serial data box remains empty, if the GPS device is sending neither of the two messages or if there is a connection problem. Check that you have selected the right port in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog box and that the GPS device is connected correctly to the PC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GGA message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76&lt;br /&gt;
&#039;&#039;&#039;RMC message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPRMC,092750.000,A,5321.6802,N,00630.3372,W,0.02,31.66,280511,,,A*43&lt;br /&gt;
&lt;br /&gt;
OCAD takes the serial data apart and displays it in a bit more user-friendly view below the &#039;&#039;&#039;Serial data&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
=== Mapping with Real Time GPS ===&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if OCAD is successfully connected to a GPS device.&lt;br /&gt;
&lt;br /&gt;
[[File:RealTimeGPSBox.PNG]]&lt;br /&gt;
&lt;br /&gt;
The following information is given in this box:&lt;br /&gt;
* &#039;&#039;&#039;Easting:&#039;&#039;&#039; In this field the easting value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Northing:&#039;&#039;&#039; In this field the northing value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Height:&#039;&#039;&#039; In this field the height is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;DGPS:&#039;&#039;&#039; A &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt; dot shows if a &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Differential_GPS DGPS]&#039;&#039;&#039; signal is received. &lt;br /&gt;
* &#039;&#039;&#039;Satellites:&#039;&#039;&#039; In this field the number of received satellites is displayed. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; The &#039;&#039;&#039;[https://en.wikipedia.org/wiki/HDOP HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; is displayed in this field. HDOP is a quality indicator for the position of the useable satellites on the local sky. HDOP values less than 4 are very good, HDOP greater than 8 are bad. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;Precision (x Val):&#039;&#039;&#039; In this field the accuracy (root mean square) of specified number of the last measurements is displayed. The &#039;&#039;&#039;Filter length&#039;&#039;&#039; can be specified in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
Below the information part of the box, there are several icons:&lt;br /&gt;
: [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039;: Click this icon to create an OCAD object with the receiving GPS information. A symbol must be selected. Choose a point symbol and click the &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create an object at the position of the GPS marker. If a line or area symbol is selected, OCAD starts with the measurement and draws a vertice for every recieved position. The object is represented with a thin black line.&lt;br /&gt;
: [[File:Icon_PauseGPSMeasurement.PNG]] &#039;&#039;&#039;Pause GPS Measurement&#039;&#039;&#039;: Click this icon to interrupt the GPS measurement without finishing the object. Click the icon again to continue with the measurement.&lt;br /&gt;
: [[File:Icon_StopGPSMeasurement.PNG]] &#039;&#039;&#039; Stop GPS Measurement&#039;&#039;&#039;: Click this icon to finish the line or area object. The object is displayed with the assigned symbol.&lt;br /&gt;
: [[File:Icon_FindGPSMarker.PNG]] &#039;&#039;&#039;Find GPS Marker&#039;&#039;&#039;: Click this icon to move the view to the GPS marker. Enable the &#039;&#039;&#039;[[GPS#Options|Auto Scroll]]&#039;&#039;&#039; option to always move the view, when the GPS marker is leaving the current view.&lt;br /&gt;
: [[File:Icon_GPSFilter.PNG]] &#039;&#039;&#039;Filter&#039;&#039;&#039;: Turn on or off the filter by clicking this icon. The filter can be adjusted in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
: [[File:Icon_AccuracyCircle.PNG]] &#039;&#039;&#039;Accuracy Circle:&#039;&#039;&#039; Turn on or off the accuracy circle by clicking this icon. This shows the accuracy of the last 5 measurements with a circle around the GPS marker. This option is only available when the &#039;&#039;&#039;Filter&#039;&#039;&#039; is enabled. &lt;br /&gt;
: &#039;&#039;&#039;Select Vertex Type&#039;&#039;&#039;: In this dropdown list you can select between two types of &#039;&#039;&#039;[[Vertices]]&#039;&#039;&#039;: &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Normal Vertex&#039;&#039;&#039; option when a point should be added to the object for every position received from the GPS device. &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Corner Vertex&#039;&#039;&#039; option when a position should be manually added to the object by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; button. This option is typically used to draw objects with straight parts and corners like a fence. If a point or text object is selected, the vertex type cannot be changed.&lt;br /&gt;
: [[File:Icon_AddGPSPositionToCalculateAverage.PNG]] &#039;&#039;&#039;Add GPS Position to Calculate Average&#039;&#039;&#039;: Click this button for every position you want include into an average calculation. The number of added positions is shown in the button hint. Click the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create the object at the calculated average position. This function is only available when a point symbol is selected. This is especially useful when the GPS position of an uncrossable feature (e.g. small house, deep hole, huge tree etc.) is to be measured. Some points around the feature have to be recorded and by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon, the average point can be found.&lt;br /&gt;
: [[File:Icon_OpenRealTimeGPSSettings.PNG]] &#039;&#039;&#039;Open Real Time GPS Settings&#039;&#039;&#039;: This icon opens the &#039;&#039;&#039;[[GPS#Real Time GPS Settings|Real Time GPS Settings]]&#039;&#039;&#039; dialog box.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] The GPS cursor is drawn with the mark color. Change the &#039;&#039;&#039;[[OCAD_Preferences#Mark|Mark Color]]&#039;&#039;&#039; in the &#039;&#039;&#039;Drawing and Editing&#039;&#039;&#039; part of the &#039;&#039;&#039;[[OCAD Preferences]]&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] There is a &#039;&#039;&#039;better visible, thicker GPS cursor&#039;&#039;&#039; since OCAD version 11.3.0: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeThickerCursor.png]]&lt;br /&gt;
[[File:Hint.jpg|hint]] Cold temperatures can shorten the runtime of the GPS battery. Sometimes it helps to warm up the GPS device for a few minutes.&lt;br /&gt;
&lt;br /&gt;
==Import Data from GPS Device [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
This function is obsolete! If you want to import GPS data from GPS devices, import the waypoints and tracks with the corresponding software of the GPS device to the computer. Then use the &#039;&#039;&#039;[[GPS#Import from File|Import from File]]&#039;&#039;&#039; function in OCAD. As an alternative, for fieldwork, use the &#039;&#039;&#039;[[GPS#Real Time GPS|Real Time GPS]]&#039;&#039;&#039; function.&lt;br /&gt;
&lt;br /&gt;
Choose this command to import tracks or waypoints from a &#039;&#039;&#039;GPS Garmin eTrex&#039;&#039;&#039; device. The GPS device must be connected to the PC with a serial data cable or Bluetooth.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;GPS:&#039;&#039;&#039; In this field the information about the GPS device is displayed.&lt;br /&gt;
* &#039;&#039;&#039;Status:&#039;&#039;&#039; In this field the status between OCAD and GPS is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Connect GPS:&#039;&#039;&#039; Click this button to connect OCAD with the GPS device. After a successful connection the GPS information and the status are displayed.&lt;br /&gt;
* &#039;&#039;&#039;Settings:&#039;&#039;&#039; Click this button to change the GPS settings. The &#039;&#039;&#039;Import from GPS Settings&#039;&#039;&#039; dialog is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GPS data&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Get waypoints:&#039;&#039;&#039; Click this button to load all waypoints. Each waypoint is displayed with in a row in the GPS data field.&lt;br /&gt;
* &#039;&#039;&#039;Get tracks:&#039;&#039;&#039; Click this button to download all tracks. Each track is displayed with in a row in the GPS data field. Only the start point is displayed.&lt;br /&gt;
[[File:Hint.jpg|hint]] This command can take several minutes!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OCAD objects&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Set labels:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;CRT:&#039;&#039;&#039; Use a &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; to assign symbols to the waypoints and tracks. OCAD creates &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039; if no &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; is selected.&lt;br /&gt;
: Each line of the cross reference table contains the OCAD symbol number and the Garmin symbol name.&lt;br /&gt;
: Example of a cross reference table:&lt;br /&gt;
 535.0 waypoint dot&lt;br /&gt;
 536.0 campground symbol&lt;br /&gt;
 540.0 scenic area symbol&lt;br /&gt;
* &#039;&#039;&#039;Create:&#039;&#039;&#039; Select the waypoints and tracks in the GPS data field and click this button to create OCAD objects from the selected GPS data.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
===Import from GPS Settings===&lt;br /&gt;
In this dialog box you can make the setting for the GPS data import. Verify also your settings on the GPS device (e.g. data format: GARMIN)!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the port where the GPS device is connected. &lt;br /&gt;
* &#039;&#039;&#039;Speed data import:&#039;&#039;&#039; Choose the speed of the serial port. Garmin defines 9600 bps.&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system:&#039;&#039;&#039; Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create a New Map#Coordinate System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
==Import from File [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu to import a GPS data file to the current map. The &#039;&#039;&#039;Load GPS data from files&#039;&#039;&#039; dialog box is displayed. Initially all importable GPS data files are listed. The following file types can be imported:&lt;br /&gt;
* GPX files&lt;br /&gt;
* FRWD files&lt;br /&gt;
* NMEA files&lt;br /&gt;
The &#039;&#039;&#039;Import from File&#039;&#039;&#039; dialog appears, where all available waypoints and tracks from the imported file are listed. There are several options in the &#039;&#039;&#039;OCAD objects&#039;&#039;&#039; part of the dialog:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set label:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;Assign Symbols:&#039;&#039;&#039; Check this option to assign a specified symbol to the imported objects. Otherwise OCAD will create &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039;. &lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Import&#039;&#039;&#039; button to import all selected tracks or waypoints in the list.&lt;br /&gt;
&lt;br /&gt;
===GPS Map Offset===&lt;br /&gt;
This dialog box appears if the GPS coordinates are out of the maximum map size. Adjust the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system&#039;&#039;&#039; If you work with GPS you must select a coordinate system. Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
* &#039;&#039;&#039;Offset&#039;&#039;&#039; Choose here whether you want to change the OCAD real world coordinates or to keep the existing ones. &lt;br /&gt;
* &#039;&#039;&#039;New offset:&#039;&#039;&#039; Choose this option if no real world coordinates are defined for the map. OCAD already proposes reasonable values. You can leave theme unchanged.&lt;br /&gt;
* &#039;&#039;&#039;Existing offset and angle:&#039;&#039;&#039; Choose this option if the map already has real world coordinates and you want to fit the imported objects to the existing coordinates.&lt;br /&gt;
&lt;br /&gt;
== Laser Rangefinder [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Read more about using the &#039;&#039;&#039;&amp;quot;TruPulse 360/360B&amp;quot; Laser Rangefinder&#039;&#039;&#039; on the &#039;&#039;&#039;[[Laser Rangefinder]]&#039;&#039;&#039; page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12880</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12880"/>
		<updated>2021-03-19T07:43:22Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: Reverted edits by Admin (talk) to last revision by KLH&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:RealTimeGPS.PNG]]&lt;br /&gt;
==Real Time GPS [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu for mobile mapping with GPS. The GPS device must be connected to the computer via the COM interface with Bluetooth.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] If your GPS device is connected via an USB port or an internal GPS cannot be connected via Windows Location API, please install a software like &#039;&#039;&#039;[https://gpsgate.com/products/gpsgate_client GpsGate Splitter]&#039;&#039;&#039; to transfer the data to a virtual COM port (&#039;&#039;Add Output -&amp;gt; Virtual COM port / NMEA filter&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] All COM ports that are listed in the Windows registry key &#039;&#039;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM&#039;&#039; are available in OCAD.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] It is important that the coordinate system on the GPS device is WGS84 or a UTM zone. Otherwise, OCAD cannot analyze the data correctly and the position is wrong (some 100 meters)!&lt;br /&gt;
&lt;br /&gt;
When you choose the &#039;&#039;&#039;Real Time GPS&#039;&#039;&#039; command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu, the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog appears.&lt;br /&gt;
&lt;br /&gt;
===Real Time GPS Settings===&lt;br /&gt;
[[File:RealTimeGpsSettings.png]]&lt;br /&gt;
====Connection Settings====&lt;br /&gt;
There are two Connection Settings:&lt;br /&gt;
&lt;br /&gt;
=====COM=====&lt;br /&gt;
&lt;br /&gt;
Choose this option to connect your GPS device with a COM port.&lt;br /&gt;
# &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the COM port where the GPS device is connected. The GPS device must send the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/NMEA_0183 NMEA 0183 Format]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Baud rate:&#039;&#039;&#039; Choose the baud rate the serial port. NMEA 0183 defines 4800 bps but some devices may send data at a different speed.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Test:&#039;&#039;&#039; Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to open the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; dialog box. The NMEA messages received from the GPS device are displayed there and you can verify the connection of the GPS device. Read more about this dialog in the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; article on this page.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can use an app (we tested &#039;&#039;Share GPS&#039;&#039;) and connect your &#039;&#039;&#039;smarphone&#039;&#039;&#039; via bluetooth with the computer/tablet. After that, set up the connection via COM interface.&lt;br /&gt;
&lt;br /&gt;
=====Windows Location API=====&lt;br /&gt;
&lt;br /&gt;
Internal or external GPS devices can be connected using the [https://msdn.microsoft.com/en-us/library/windows/desktop/dd464636%28v=vs.85%29.aspx Windows Location API]. This options is recommended if the Windows computer does not anymore support COM ports.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Location service&#039;&#039;&#039; must be activated in the Windows settings. For Windows 10 you can find this option in the &#039;&#039;&#039;Privacy&#039;&#039;&#039; settings -&amp;gt; &#039;&#039;&#039;Location&#039;&#039;&#039;. Switch on the &#039;&#039;&#039;Location service&#039;&#039;&#039; and switch on the app &#039;&#039;&#039;App connector&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Choose a sensor from the &#039;&#039;&#039;sensor list&#039;&#039;&#039; and click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to test the connection settings.&lt;br /&gt;
The real time GPS works still in the habitual way.&lt;br /&gt;
: [[File:Hint.jpg|hint]] The GPS may needs to be manually activated as a location sensor in the &#039;&#039;&#039;Windows settings&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] if no sensor is listed, please use a tool like [[GPS#Real_Time_GPS|GpsGate Splitter]] to transfer the GPS signal to a virtual COM port.&lt;br /&gt;
&lt;br /&gt;
====Requirements====&lt;br /&gt;
The following requirements can be given:&lt;br /&gt;
* &#039;&#039;&#039;DGPS, RTK, Float RTK:&#039;&#039;&#039; Check this option to use DGPS, RTK, Float RTK and define if the positions calculated without &#039;&#039;&#039;[https://en.wikipedia.org/wiki/DGPS DGPS]&#039;&#039;&#039;, &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Real_Time_Kinematic RTK]&#039;&#039;&#039;, &#039;&#039;&#039;Float RTK&#039;&#039;&#039; are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;Min. 4 satellites:&#039;&#039;&#039; Check this option as a kind of precision requirement and define if the positions calculated from less than 4 satellites are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; Check this option to define an upper limit for the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Dilution_of_precision_%28GPS%29 HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; value and define if the positions calculated with a higher HDOP are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
&lt;br /&gt;
====Options====&lt;br /&gt;
* &#039;&#039;&#039;Filter:&#039;&#039;&#039; Check this option to activate a filter and specify how many GPS positions are averaged. This results in a more stable position, but the update is slower.&lt;br /&gt;
* &#039;&#039;&#039;Accuracy circle:&#039;&#039;&#039;  This option is enabled when the &#039;&#039;&#039;Filter&#039;&#039;&#039; option is checked. Check this option to show the accuracy circle. This shows the accuracy of the last 5 measurements with a circle around the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Auto scroll (moving map):&#039;&#039;&#039; Check this option to move the map automatically with the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Subtract antenna height from Z value:&#039;&#039;&#039; Check this option to define a correction for the Z value. The entered value gets subtracted from the measured height value.&lt;br /&gt;
*&#039;&#039;&#039;GPS Connection tail:&#039;&#039;&#039; Check this option to show GPS positions tail.&amp;lt;br&amp;gt; &lt;br /&gt;
- You can also choose the length of the tail.&amp;lt;br&amp;gt;&lt;br /&gt;
- The tail color is the same as the &#039;&#039;&#039;[[OCAD_Preferences#Mark|mark color]]&#039;&#039;&#039;, which can be set in the OCAD Preferences.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeShowTail.png]]&lt;br /&gt;
&lt;br /&gt;
====Coordinate system====&lt;br /&gt;
Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Connect&#039;&#039;&#039; button to turn on the real time GPS mode. The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if the connection to the GPS device was successful.&lt;br /&gt;
&lt;br /&gt;
Close the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog or click the &#039;&#039;&#039;Disconnect&#039;&#039;&#039; button to turn off real time GPS.&lt;br /&gt;
&lt;br /&gt;
===Test GPS===&lt;br /&gt;
Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog to open the &#039;&#039;&#039;Test GPS&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:TestGPS.PNG]]&lt;br /&gt;
&lt;br /&gt;
If OCAD receives &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Messages]&#039;&#039;&#039;, those messages are displayed in the &#039;&#039;&#039;Serial data&#039;&#039;&#039; field. Characters 4 to 6 show the abbreviation GGA (e.g. $XXGGA...). &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#RMC RMC Messages]&#039;&#039;&#039; are displayed if OCAD does not receive any GGA messages. RMC messages contain no information about DGPS and the number of satellites. However, the position can still be used in OCAD. The serial data box remains empty, if the GPS device is sending neither of the two messages or if there is a connection problem. Check that you have selected the right port in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog box and that the GPS device is connected correctly to the PC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GGA message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76&lt;br /&gt;
&#039;&#039;&#039;RMC message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPRMC,092750.000,A,5321.6802,N,00630.3372,W,0.02,31.66,280511,,,A*43&lt;br /&gt;
&lt;br /&gt;
OCAD takes the serial data apart and displays it in a bit more user-friendly view below the &#039;&#039;&#039;Serial data&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
=== Mapping with Real Time GPS ===&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if OCAD is successfully connected to a GPS device.&lt;br /&gt;
&lt;br /&gt;
[[File:RealTimeGPSBox.PNG]]&lt;br /&gt;
&lt;br /&gt;
The following information is given in this box:&lt;br /&gt;
* &#039;&#039;&#039;Easting:&#039;&#039;&#039; In this field the easting value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Northing:&#039;&#039;&#039; In this field the northing value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Height:&#039;&#039;&#039; In this field the height is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;DGPS:&#039;&#039;&#039; A &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt; dot shows if a &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Differential_GPS DGPS]&#039;&#039;&#039; signal is received. &lt;br /&gt;
* &#039;&#039;&#039;Satellites:&#039;&#039;&#039; In this field the number of received satellites is displayed. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; The &#039;&#039;&#039;[https://en.wikipedia.org/wiki/HDOP HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; is displayed in this field. HDOP is a quality indicator for the position of the useable satellites on the local sky. HDOP values less than 4 are very good, HDOP greater than 8 are bad. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;Precision (x Val):&#039;&#039;&#039; In this field the accuracy (root mean square) of specified number of the last measurements is displayed. The &#039;&#039;&#039;Filter length&#039;&#039;&#039; can be specified in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
Below the information part of the box, there are several icons:&lt;br /&gt;
: [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039;: Click this icon to create an OCAD object with the receiving GPS information. A symbol must be selected. Choose a point symbol and click the &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create an object at the position of the GPS marker. If a line or area symbol is selected, OCAD starts with the measurement and draws a vertice for every recieved position. The object is represented with a thin black line.&lt;br /&gt;
: [[File:Icon_PauseGPSMeasurement.PNG]] &#039;&#039;&#039;Pause GPS Measurement&#039;&#039;&#039;: Click this icon to interrupt the GPS measurement without finishing the object. Click the icon again to continue with the measurement.&lt;br /&gt;
: [[File:Icon_StopGPSMeasurement.PNG]] &#039;&#039;&#039; Stop GPS Measurement&#039;&#039;&#039;: Click this icon to finish the line or area object. The object is displayed with the assigned symbol.&lt;br /&gt;
: [[File:Icon_FindGPSMarker.PNG]] &#039;&#039;&#039;Find GPS Marker&#039;&#039;&#039;: Click this icon to move the view to the GPS marker. Enable the &#039;&#039;&#039;[[GPS#Options|Auto Scroll]]&#039;&#039;&#039; option to always move the view, when the GPS marker is leaving the current view.&lt;br /&gt;
: [[File:Icon_GPSFilter.PNG]] &#039;&#039;&#039;Filter&#039;&#039;&#039;: Turn on or off the filter by clicking this icon. The filter can be adjusted in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
: [[File:Icon_AccuracyCircle.PNG]] &#039;&#039;&#039;Accuracy Circle:&#039;&#039;&#039; Turn on or off the accuracy circle by clicking this icon. This shows the accuracy of the last 5 measurements with a circle around the GPS marker. This option is only available when the &#039;&#039;&#039;Filter&#039;&#039;&#039; is enabled. &lt;br /&gt;
: &#039;&#039;&#039;Select Vertex Type&#039;&#039;&#039;: In this dropdown list you can select between two types of &#039;&#039;&#039;[[Vertices]]&#039;&#039;&#039;: &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Normal Vertex&#039;&#039;&#039; option when a point should be added to the object for every position received from the GPS device. &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Corner Vertex&#039;&#039;&#039; option when a position should be manually added to the object by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; button. This option is typically used to draw objects with straight parts and corners like a fence. If a point or text object is selected, the vertex type cannot be changed.&lt;br /&gt;
: [[File:Icon_AddGPSPositionToCalculateAverage.PNG]] &#039;&#039;&#039;Add GPS Position to Calculate Average&#039;&#039;&#039;: Click this button for every position you want include into an average calculation. The number of added positions is shown in the button hint. Click the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create the object at the calculated average position. This function is only available when a point symbol is selected. This is especially useful when the GPS position of an uncrossable feature (e.g. small house, deep hole, huge tree etc.) is to be measured. Some points around the feature have to be recorded and by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon, the average point can be found.&lt;br /&gt;
: [[File:Icon_OpenRealTimeGPSSettings.PNG]] &#039;&#039;&#039;Open Real Time GPS Settings&#039;&#039;&#039;: This icon opens the &#039;&#039;&#039;[[GPS#Real Time GPS Settings|Real Time GPS Settings]]&#039;&#039;&#039; dialog box.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] The GPS cursor is drawn with the mark color. Change the &#039;&#039;&#039;[[OCAD_Preferences#Mark|Mark Color]]&#039;&#039;&#039; in the &#039;&#039;&#039;Drawing and Editing&#039;&#039;&#039; part of the &#039;&#039;&#039;[[OCAD Preferences]]&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] There is a &#039;&#039;&#039;better visible, thicker GPS cursor&#039;&#039;&#039; since OCAD version 11.3.0: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeThickerCursor.png]]&lt;br /&gt;
[[File:Hint.jpg|hint]] Cold temperatures can shorten the runtime of the GPS battery. Sometimes it helps to warm up the GPS device for a few minutes.&lt;br /&gt;
&lt;br /&gt;
==Import Data from GPS Device [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
This function is obsolete! If you want to import GPS data from GPS devices, import the waypoints and tracks with the corresponding software of the GPS device to the computer. Then use the &#039;&#039;&#039;[[GPS#Import from File|Import from File]]&#039;&#039;&#039; function in OCAD. As an alternative, for fieldwork, use the &#039;&#039;&#039;[[GPS#Real Time GPS|Real Time GPS]]&#039;&#039;&#039; function.&lt;br /&gt;
&lt;br /&gt;
Choose this command to import tracks or waypoints from a &#039;&#039;&#039;GPS Garmin eTrex&#039;&#039;&#039; device. The GPS device must be connected to the PC with a serial data cable or Bluetooth.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;GPS:&#039;&#039;&#039; In this field the information about the GPS device is displayed.&lt;br /&gt;
* &#039;&#039;&#039;Status:&#039;&#039;&#039; In this field the status between OCAD and GPS is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Connect GPS:&#039;&#039;&#039; Click this button to connect OCAD with the GPS device. After a successful connection the GPS information and the status are displayed.&lt;br /&gt;
* &#039;&#039;&#039;Settings:&#039;&#039;&#039; Click this button to change the GPS settings. The &#039;&#039;&#039;Import from GPS Settings&#039;&#039;&#039; dialog is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GPS data&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Get waypoints:&#039;&#039;&#039; Click this button to load all waypoints. Each waypoint is displayed with in a row in the GPS data field.&lt;br /&gt;
* &#039;&#039;&#039;Get tracks:&#039;&#039;&#039; Click this button to download all tracks. Each track is displayed with in a row in the GPS data field. Only the start point is displayed.&lt;br /&gt;
[[File:Hint.jpg|hint]] This command can take several minutes!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OCAD objects&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Set labels:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;CRT:&#039;&#039;&#039; Use a &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; to assign symbols to the waypoints and tracks. OCAD creates &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039; if no &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; is selected.&lt;br /&gt;
: Each line of the cross reference table contains the OCAD symbol number and the Garmin symbol name.&lt;br /&gt;
: Example of a cross reference table:&lt;br /&gt;
 535.0 waypoint dot&lt;br /&gt;
 536.0 campground symbol&lt;br /&gt;
 540.0 scenic area symbol&lt;br /&gt;
* &#039;&#039;&#039;Create:&#039;&#039;&#039; Select the waypoints and tracks in the GPS data field and click this button to create OCAD objects from the selected GPS data.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
===Import from GPS Settings===&lt;br /&gt;
In this dialog box you can make the setting for the GPS data import. Verify also your settings on the GPS device (e.g. data format: GARMIN)!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the port where the GPS device is connected. &lt;br /&gt;
* &#039;&#039;&#039;Speed data import:&#039;&#039;&#039; Choose the speed of the serial port. Garmin defines 9600 bps.&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system:&#039;&#039;&#039; Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create a New Map#Coordinate System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
==Import from File [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu to import a GPS data file to the current map. The &#039;&#039;&#039;Load GPS data from files&#039;&#039;&#039; dialog box is displayed. Initially all importable GPS data files are listed. The following file types can be imported:&lt;br /&gt;
* GPX files&lt;br /&gt;
* FRWD files&lt;br /&gt;
* NMEA files&lt;br /&gt;
The &#039;&#039;&#039;Import from File&#039;&#039;&#039; dialog appears, where all available waypoints and tracks from the imported file are listed. There are several options in the &#039;&#039;&#039;OCAD objects&#039;&#039;&#039; part of the dialog:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set label:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;Assign Symbols:&#039;&#039;&#039; Check this option to assign a specified symbol to the imported objects. Otherwise OCAD will create &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039;. &lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Import&#039;&#039;&#039; button to import all selected tracks or waypoints in the list.&lt;br /&gt;
&lt;br /&gt;
===GPS Map Offset===&lt;br /&gt;
This dialog box appears if the GPS coordinates are out of the maximum map size. Adjust the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system&#039;&#039;&#039; If you work with GPS you must select a coordinate system. Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
* &#039;&#039;&#039;Offset&#039;&#039;&#039; Choose here whether you want to change the OCAD real world coordinates or to keep the existing ones. &lt;br /&gt;
* &#039;&#039;&#039;New offset:&#039;&#039;&#039; Choose this option if no real world coordinates are defined for the map. OCAD already proposes reasonable values. You can leave theme unchanged.&lt;br /&gt;
* &#039;&#039;&#039;Existing offset and angle:&#039;&#039;&#039; Choose this option if the map already has real world coordinates and you want to fit the imported objects to the existing coordinates.&lt;br /&gt;
&lt;br /&gt;
== Laser Rangefinder [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Read more about using the &#039;&#039;&#039;&amp;quot;TruPulse 360/360B&amp;quot; Laser Rangefinder&#039;&#039;&#039; on the &#039;&#039;&#039;[[Laser Rangefinder]]&#039;&#039;&#039; page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12879</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12879"/>
		<updated>2021-03-19T07:29:06Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Mapping with Real Time GPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:RealTimeGPS.PNG]]&lt;br /&gt;
==Real Time GPS [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu for mobile mapping with GPS. The GPS device must be connected to the computer via the COM interface with Bluetooth.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] If your GPS device is connected via an USB port or an internal GPS cannot be connected via Windows Location API, please install a software like &#039;&#039;&#039;[https://gpsgate.com/products/gpsgate_client GpsGate Splitter]&#039;&#039;&#039; to transfer the data to a virtual COM port (&#039;&#039;Add Output -&amp;gt; Virtual COM port / NMEA filter&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] All COM ports that are listed in the Windows registry key &#039;&#039;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM&#039;&#039; are available in OCAD.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] It is important that the coordinate system on the GPS device is WGS84 or a UTM zone. Otherwise, OCAD cannot analyze the data correctly and the position is wrong (some 100 meters)!&lt;br /&gt;
&lt;br /&gt;
When you choose the &#039;&#039;&#039;Real Time GPS&#039;&#039;&#039; command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu, the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog appears.&lt;br /&gt;
&lt;br /&gt;
===Real Time GPS Settings===&lt;br /&gt;
[[File:RealTimeGpsSettings.png]]&lt;br /&gt;
====Connection Settings====&lt;br /&gt;
There are two Connection Settings:&lt;br /&gt;
&lt;br /&gt;
=====COM=====&lt;br /&gt;
&lt;br /&gt;
Choose this option to connect your GPS device with a COM port.&lt;br /&gt;
# &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the COM port where the GPS device is connected. The GPS device must send the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/NMEA_0183 NMEA 0183 Format]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Baud rate:&#039;&#039;&#039; Choose the baud rate the serial port. NMEA 0183 defines 4800 bps but some devices may send data at a different speed.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Test:&#039;&#039;&#039; Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to open the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; dialog box. The NMEA messages received from the GPS device are displayed there and you can verify the connection of the GPS device. Read more about this dialog in the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; article on this page.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can use an app (we tested &#039;&#039;Share GPS&#039;&#039;) and connect your &#039;&#039;&#039;smarphone&#039;&#039;&#039; via bluetooth with the computer/tablet. After that, set up the connection via COM interface.&lt;br /&gt;
&lt;br /&gt;
=====Windows Location API=====&lt;br /&gt;
&lt;br /&gt;
Internal or external GPS devices can be connected using the [https://msdn.microsoft.com/en-us/library/windows/desktop/dd464636%28v=vs.85%29.aspx Windows Location API]. This options is recommended if the Windows computer does not anymore support COM ports.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Location service&#039;&#039;&#039; must be activated in the Windows settings. For Windows 10 you can find this option in the &#039;&#039;&#039;Privacy&#039;&#039;&#039; settings -&amp;gt; &#039;&#039;&#039;Location&#039;&#039;&#039;. Switch on the &#039;&#039;&#039;Location service&#039;&#039;&#039; and switch on the app &#039;&#039;&#039;App connector&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Choose a sensor from the &#039;&#039;&#039;sensor list&#039;&#039;&#039; and click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to test the connection settings.&lt;br /&gt;
The real time GPS works still in the habitual way.&lt;br /&gt;
: [[File:Hint.jpg|hint]] The GPS may needs to be manually activated as a location sensor in the &#039;&#039;&#039;Windows settings&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] if no sensor is listed, please use a tool like [[GPS#Real_Time_GPS|GpsGate Splitter]] to transfer the GPS signal to a virtual COM port.&lt;br /&gt;
&lt;br /&gt;
====Requirements====&lt;br /&gt;
The following requirements can be given:&lt;br /&gt;
* &#039;&#039;&#039;DGPS, RTK, Float RTK:&#039;&#039;&#039; Check this option to use DGPS, RTK, Float RTK and define if the positions calculated without &#039;&#039;&#039;[https://en.wikipedia.org/wiki/DGPS DGPS]&#039;&#039;&#039;, &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Real_Time_Kinematic RTK]&#039;&#039;&#039;, &#039;&#039;&#039;Float RTK&#039;&#039;&#039; are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;Min. 4 satellites:&#039;&#039;&#039; Check this option as a kind of precision requirement and define if the positions calculated from less than 4 satellites are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; Check this option to define an upper limit for the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Dilution_of_precision_%28GPS%29 HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; value and define if the positions calculated with a higher HDOP are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
&lt;br /&gt;
====Options====&lt;br /&gt;
* &#039;&#039;&#039;Filter:&#039;&#039;&#039; Check this option to activate a filter and specify how many GPS positions are averaged. This results in a more stable position, but the update is slower.&lt;br /&gt;
* &#039;&#039;&#039;Auto scroll (moving map):&#039;&#039;&#039; Check this option to move the map automatically with the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Subtract antenna height from Z value:&#039;&#039;&#039; Check this option to define a correction for the Z value. The entered value gets subtracted from the measured height value.&lt;br /&gt;
*&#039;&#039;&#039;GPS Connection tail:&#039;&#039;&#039; Check this option to show GPS positions tail.&amp;lt;br&amp;gt; &lt;br /&gt;
- You can also choose the length of the tail.&amp;lt;br&amp;gt;&lt;br /&gt;
- The tail color is the same as the &#039;&#039;&#039;[[OCAD_Preferences#Mark|mark color]]&#039;&#039;&#039;, which can be set in the OCAD Preferences.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeShowTail.png]]&lt;br /&gt;
&lt;br /&gt;
====Coordinate system====&lt;br /&gt;
Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Connect&#039;&#039;&#039; button to turn on the real time GPS mode. The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if the connection to the GPS device was successful.&lt;br /&gt;
&lt;br /&gt;
Close the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog or click the &#039;&#039;&#039;Disconnect&#039;&#039;&#039; button to turn off real time GPS.&lt;br /&gt;
&lt;br /&gt;
===Test GPS===&lt;br /&gt;
Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog to open the &#039;&#039;&#039;Test GPS&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:TestGPS.PNG]]&lt;br /&gt;
&lt;br /&gt;
If OCAD receives &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Messages]&#039;&#039;&#039;, those messages are displayed in the &#039;&#039;&#039;Serial data&#039;&#039;&#039; field. Characters 4 to 6 show the abbreviation GGA (e.g. $XXGGA...). &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#RMC RMC Messages]&#039;&#039;&#039; are displayed if OCAD does not receive any GGA messages. RMC messages contain no information about DGPS and the number of satellites. However, the position can still be used in OCAD. The serial data box remains empty, if the GPS device is sending neither of the two messages or if there is a connection problem. Check that you have selected the right port in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog box and that the GPS device is connected correctly to the PC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GGA message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76&lt;br /&gt;
&#039;&#039;&#039;RMC message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPRMC,092750.000,A,5321.6802,N,00630.3372,W,0.02,31.66,280511,,,A*43&lt;br /&gt;
&lt;br /&gt;
OCAD takes the serial data apart and displays it in a bit more user-friendly view below the &#039;&#039;&#039;Serial data&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
=== Mapping with Real Time GPS ===&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if OCAD is successfully connected to a GPS device.&lt;br /&gt;
&lt;br /&gt;
[[File:RealTimeGPSBox.PNG]]&lt;br /&gt;
&lt;br /&gt;
The following information is given in this box:&lt;br /&gt;
* &#039;&#039;&#039;Easting:&#039;&#039;&#039; In this field the easting value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Northing:&#039;&#039;&#039; In this field the northing value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Height:&#039;&#039;&#039; In this field the height is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;DGPS:&#039;&#039;&#039; A &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt; dot shows if a &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Differential_GPS DGPS]&#039;&#039;&#039; signal is received. &lt;br /&gt;
* &#039;&#039;&#039;Satellites:&#039;&#039;&#039; In this field the number of received satellites is displayed. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; The &#039;&#039;&#039;[https://en.wikipedia.org/wiki/HDOP HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; is displayed in this field. HDOP is a quality indicator for the position of the useable satellites on the local sky. HDOP values less than 4 are very good, HDOP greater than 8 are bad. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;Precision (x Val):&#039;&#039;&#039; In this field the accuracy (root mean square) of specified number of the last measurements is displayed. The &#039;&#039;&#039;Filter length&#039;&#039;&#039; can be specified in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
Below the information part of the box, there are several icons:&lt;br /&gt;
: [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039;: Click this icon to create an OCAD object with the receiving GPS information. A symbol must be selected. Choose a point symbol and click the &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create an object at the position of the GPS marker. If a line or area symbol is selected, OCAD starts with the measurement and draws a vertice for every recieved position. The object is represented with a thin black line.&lt;br /&gt;
: [[File:Icon_PauseGPSMeasurement.PNG]] &#039;&#039;&#039;Pause GPS Measurement&#039;&#039;&#039;: Click this icon to interrupt the GPS measurement without finishing the object. Click the icon again to continue with the measurement.&lt;br /&gt;
: [[File:Icon_StopGPSMeasurement.PNG]] &#039;&#039;&#039; Stop GPS Measurement&#039;&#039;&#039;: Click this icon to finish the line or area object. The object is displayed with the assigned symbol.&lt;br /&gt;
: [[File:Icon_FindGPSMarker.PNG]] &#039;&#039;&#039;Find GPS Marker&#039;&#039;&#039;: Click this icon to move the view to the GPS marker. Enable the &#039;&#039;&#039;[[GPS#Options|Auto Scroll]]&#039;&#039;&#039; option to always move the view, when the GPS marker is leaving the current view.&lt;br /&gt;
: [[File:Icon_GPSFilter.PNG]] &#039;&#039;&#039;Filter&#039;&#039;&#039;: Turn on or off the filter by clicking this icon. The filter can be adjusted in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
: &#039;&#039;&#039;Select Vertex Type&#039;&#039;&#039;: In this dropdown list you can select between two types of &#039;&#039;&#039;[[Vertices]]&#039;&#039;&#039;: &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Normal Vertex&#039;&#039;&#039; option when a point should be added to the object for every position received from the GPS device. &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Corner Vertex&#039;&#039;&#039; option when a position should be manually added to the object by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; button. This option is typically used to draw objects with straight parts and corners like a fence. If a point or text object is selected, the vertex type cannot be changed.&lt;br /&gt;
: [[File:Icon_AddGPSPositionToCalculateAverage.PNG]] &#039;&#039;&#039;Add GPS Position to Calculate Average&#039;&#039;&#039;: Click this button for every position you want include into an average calculation. The number of added positions is shown in the button hint. Click the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create the object at the calculated average position. This function is only available when a point symbol is selected. This is especially useful when the GPS position of an uncrossable feature (e.g. small house, deep hole, huge tree etc.) is to be measured. Some points around the feature have to be recorded and by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon, the average point can be found.&lt;br /&gt;
: [[File:Icon_OpenRealTimeGPSSettings.PNG]] &#039;&#039;&#039;Open Real Time GPS Settings&#039;&#039;&#039;: This icon opens the &#039;&#039;&#039;[[GPS#Real Time GPS Settings|Real Time GPS Settings]]&#039;&#039;&#039; dialog box.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] The GPS cursor is drawn with the mark color. Change the &#039;&#039;&#039;[[OCAD_Preferences#Mark|Mark Color]]&#039;&#039;&#039; in the &#039;&#039;&#039;Drawing and Editing&#039;&#039;&#039; part of the &#039;&#039;&#039;[[OCAD Preferences]]&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] There is a &#039;&#039;&#039;better visible, thicker GPS cursor&#039;&#039;&#039; since OCAD version 11.3.0: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeThickerCursor.png]]&lt;br /&gt;
[[File:Hint.jpg|hint]] Cold temperatures can shorten the runtime of the GPS battery. Sometimes it helps to warm up the GPS device for a few minutes.&lt;br /&gt;
&lt;br /&gt;
==Import Data from GPS Device [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
This function is obsolete! If you want to import GPS data from GPS devices, import the waypoints and tracks with the corresponding software of the GPS device to the computer. Then use the &#039;&#039;&#039;[[GPS#Import from File|Import from File]]&#039;&#039;&#039; function in OCAD. As an alternative, for fieldwork, use the &#039;&#039;&#039;[[GPS#Real Time GPS|Real Time GPS]]&#039;&#039;&#039; function.&lt;br /&gt;
&lt;br /&gt;
Choose this command to import tracks or waypoints from a &#039;&#039;&#039;GPS Garmin eTrex&#039;&#039;&#039; device. The GPS device must be connected to the PC with a serial data cable or Bluetooth.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;GPS:&#039;&#039;&#039; In this field the information about the GPS device is displayed.&lt;br /&gt;
* &#039;&#039;&#039;Status:&#039;&#039;&#039; In this field the status between OCAD and GPS is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Connect GPS:&#039;&#039;&#039; Click this button to connect OCAD with the GPS device. After a successful connection the GPS information and the status are displayed.&lt;br /&gt;
* &#039;&#039;&#039;Settings:&#039;&#039;&#039; Click this button to change the GPS settings. The &#039;&#039;&#039;Import from GPS Settings&#039;&#039;&#039; dialog is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GPS data&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Get waypoints:&#039;&#039;&#039; Click this button to load all waypoints. Each waypoint is displayed with in a row in the GPS data field.&lt;br /&gt;
* &#039;&#039;&#039;Get tracks:&#039;&#039;&#039; Click this button to download all tracks. Each track is displayed with in a row in the GPS data field. Only the start point is displayed.&lt;br /&gt;
[[File:Hint.jpg|hint]] This command can take several minutes!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OCAD objects&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Set labels:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;CRT:&#039;&#039;&#039; Use a &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; to assign symbols to the waypoints and tracks. OCAD creates &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039; if no &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; is selected.&lt;br /&gt;
: Each line of the cross reference table contains the OCAD symbol number and the Garmin symbol name.&lt;br /&gt;
: Example of a cross reference table:&lt;br /&gt;
 535.0 waypoint dot&lt;br /&gt;
 536.0 campground symbol&lt;br /&gt;
 540.0 scenic area symbol&lt;br /&gt;
* &#039;&#039;&#039;Create:&#039;&#039;&#039; Select the waypoints and tracks in the GPS data field and click this button to create OCAD objects from the selected GPS data.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
===Import from GPS Settings===&lt;br /&gt;
In this dialog box you can make the setting for the GPS data import. Verify also your settings on the GPS device (e.g. data format: GARMIN)!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the port where the GPS device is connected. &lt;br /&gt;
* &#039;&#039;&#039;Speed data import:&#039;&#039;&#039; Choose the speed of the serial port. Garmin defines 9600 bps.&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system:&#039;&#039;&#039; Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create a New Map#Coordinate System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
==Import from File [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu to import a GPS data file to the current map. The &#039;&#039;&#039;Load GPS data from files&#039;&#039;&#039; dialog box is displayed. Initially all importable GPS data files are listed. The following file types can be imported:&lt;br /&gt;
* GPX files&lt;br /&gt;
* FRWD files&lt;br /&gt;
* NMEA files&lt;br /&gt;
The &#039;&#039;&#039;Import from File&#039;&#039;&#039; dialog appears, where all available waypoints and tracks from the imported file are listed. There are several options in the &#039;&#039;&#039;OCAD objects&#039;&#039;&#039; part of the dialog:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set label:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;Assign Symbols:&#039;&#039;&#039; Check this option to assign a specified symbol to the imported objects. Otherwise OCAD will create &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039;. &lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Import&#039;&#039;&#039; button to import all selected tracks or waypoints in the list.&lt;br /&gt;
&lt;br /&gt;
===GPS Map Offset===&lt;br /&gt;
This dialog box appears if the GPS coordinates are out of the maximum map size. Adjust the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system&#039;&#039;&#039; If you work with GPS you must select a coordinate system. Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
* &#039;&#039;&#039;Offset&#039;&#039;&#039; Choose here whether you want to change the OCAD real world coordinates or to keep the existing ones. &lt;br /&gt;
* &#039;&#039;&#039;New offset:&#039;&#039;&#039; Choose this option if no real world coordinates are defined for the map. OCAD already proposes reasonable values. You can leave theme unchanged.&lt;br /&gt;
* &#039;&#039;&#039;Existing offset and angle:&#039;&#039;&#039; Choose this option if the map already has real world coordinates and you want to fit the imported objects to the existing coordinates.&lt;br /&gt;
&lt;br /&gt;
== Laser Rangefinder [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Read more about using the &#039;&#039;&#039;&amp;quot;TruPulse 360/360B&amp;quot; Laser Rangefinder&#039;&#039;&#039; on the &#039;&#039;&#039;[[Laser Rangefinder]]&#039;&#039;&#039; page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12878</id>
		<title>GPS</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=GPS&amp;diff=12878"/>
		<updated>2021-03-19T07:28:41Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:RealTimeGPS.PNG]]&lt;br /&gt;
==Real Time GPS [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu for mobile mapping with GPS. The GPS device must be connected to the computer via the COM interface with Bluetooth.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] If your GPS device is connected via an USB port or an internal GPS cannot be connected via Windows Location API, please install a software like &#039;&#039;&#039;[https://gpsgate.com/products/gpsgate_client GpsGate Splitter]&#039;&#039;&#039; to transfer the data to a virtual COM port (&#039;&#039;Add Output -&amp;gt; Virtual COM port / NMEA filter&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] All COM ports that are listed in the Windows registry key &#039;&#039;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM&#039;&#039; are available in OCAD.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] It is important that the coordinate system on the GPS device is WGS84 or a UTM zone. Otherwise, OCAD cannot analyze the data correctly and the position is wrong (some 100 meters)!&lt;br /&gt;
&lt;br /&gt;
When you choose the &#039;&#039;&#039;Real Time GPS&#039;&#039;&#039; command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu, the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog appears.&lt;br /&gt;
&lt;br /&gt;
===Real Time GPS Settings===&lt;br /&gt;
[[File:RealTimeGpsSettings.png]]&lt;br /&gt;
====Connection Settings====&lt;br /&gt;
There are two Connection Settings:&lt;br /&gt;
&lt;br /&gt;
=====COM=====&lt;br /&gt;
&lt;br /&gt;
Choose this option to connect your GPS device with a COM port.&lt;br /&gt;
# &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the COM port where the GPS device is connected. The GPS device must send the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/NMEA_0183 NMEA 0183 Format]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Baud rate:&#039;&#039;&#039; Choose the baud rate the serial port. NMEA 0183 defines 4800 bps but some devices may send data at a different speed.&amp;lt;br /&amp;gt;&lt;br /&gt;
# &#039;&#039;&#039;Test:&#039;&#039;&#039; Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to open the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; dialog box. The NMEA messages received from the GPS device are displayed there and you can verify the connection of the GPS device. Read more about this dialog in the &#039;&#039;&#039;[[GPS#Test GPS|Test GPS]]&#039;&#039;&#039; article on this page.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] You can use an app (we tested &#039;&#039;Share GPS&#039;&#039;) and connect your &#039;&#039;&#039;smarphone&#039;&#039;&#039; via bluetooth with the computer/tablet. After that, set up the connection via COM interface.&lt;br /&gt;
&lt;br /&gt;
=====Windows Location API=====&lt;br /&gt;
&lt;br /&gt;
Internal or external GPS devices can be connected using the [https://msdn.microsoft.com/en-us/library/windows/desktop/dd464636%28v=vs.85%29.aspx Windows Location API]. This options is recommended if the Windows computer does not anymore support COM ports.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Location service&#039;&#039;&#039; must be activated in the Windows settings. For Windows 10 you can find this option in the &#039;&#039;&#039;Privacy&#039;&#039;&#039; settings -&amp;gt; &#039;&#039;&#039;Location&#039;&#039;&#039;. Switch on the &#039;&#039;&#039;Location service&#039;&#039;&#039; and switch on the app &#039;&#039;&#039;App connector&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Choose a sensor from the &#039;&#039;&#039;sensor list&#039;&#039;&#039; and click the &#039;&#039;&#039;Test&#039;&#039;&#039; button to test the connection settings.&lt;br /&gt;
The real time GPS works still in the habitual way.&lt;br /&gt;
: [[File:Hint.jpg|hint]] The GPS may needs to be manually activated as a location sensor in the &#039;&#039;&#039;Windows settings&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] if no sensor is listed, please use a tool like [[GPS#Real_Time_GPS|GpsGate Splitter]] to transfer the GPS signal to a virtual COM port.&lt;br /&gt;
&lt;br /&gt;
====Requirements====&lt;br /&gt;
The following requirements can be given:&lt;br /&gt;
* &#039;&#039;&#039;DGPS, RTK, Float RTK:&#039;&#039;&#039; Check this option to use DGPS, RTK, Float RTK and define if the positions calculated without &#039;&#039;&#039;[https://en.wikipedia.org/wiki/DGPS DGPS]&#039;&#039;&#039;, &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Real_Time_Kinematic RTK]&#039;&#039;&#039;, &#039;&#039;&#039;Float RTK&#039;&#039;&#039; are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.&lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;Min. 4 satellites:&#039;&#039;&#039; Check this option as a kind of precision requirement and define if the positions calculated from less than 4 satellites are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
: [[File:Hint.jpg|hint]] This option has only an effect if OCAD receives the &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Message]&#039;&#039;&#039;. Click the &#039;&#039;&#039;[[GPS#Test GPS|Test]]&#039;&#039;&#039; button to see what type of message is sent from the device.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; Check this option to define an upper limit for the &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Dilution_of_precision_%28GPS%29 HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; value and define if the positions calculated with a higher HDOP are &#039;&#039;&#039;not saved&#039;&#039;&#039; or &#039;&#039;&#039;not saved and not shown&#039;&#039;&#039;.. &lt;br /&gt;
&lt;br /&gt;
====Options====&lt;br /&gt;
* &#039;&#039;&#039;Filter:&#039;&#039;&#039; Check this option to activate a filter and specify how many GPS positions are averaged. This results in a more stable position, but the update is slower.&lt;br /&gt;
* &#039;&#039;&#039;Auto scroll (moving map):&#039;&#039;&#039; Check this option to move the map automatically with the GPS marker.&lt;br /&gt;
* &#039;&#039;&#039;Subtract antenna height from Z value:&#039;&#039;&#039; Check this option to define a correction for the Z value. The entered value gets subtracted from the measured height value.&lt;br /&gt;
*&#039;&#039;&#039;GPS Connection tail:&#039;&#039;&#039; Check this option to show GPS positions tail.&amp;lt;br&amp;gt; &lt;br /&gt;
- You can also choose the length of the tail.&amp;lt;br&amp;gt;&lt;br /&gt;
- The tail color is the same as the &#039;&#039;&#039;[[OCAD_Preferences#Mark|mark color]]&#039;&#039;&#039;, which can be set in the OCAD Preferences.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeShowTail.png]]&lt;br /&gt;
&lt;br /&gt;
====Coordinate system====&lt;br /&gt;
Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Connect&#039;&#039;&#039; button to turn on the real time GPS mode. The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if the connection to the GPS device was successful.&lt;br /&gt;
&lt;br /&gt;
Close the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog or click the &#039;&#039;&#039;Disconnect&#039;&#039;&#039; button to turn off real time GPS.&lt;br /&gt;
&lt;br /&gt;
===Test GPS===&lt;br /&gt;
Click the &#039;&#039;&#039;Test&#039;&#039;&#039; button in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog to open the &#039;&#039;&#039;Test GPS&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
[[File:TestGPS.PNG]]&lt;br /&gt;
&lt;br /&gt;
If OCAD receives &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#GGA GGA Messages]&#039;&#039;&#039;, those messages are displayed in the &#039;&#039;&#039;Serial data&#039;&#039;&#039; field. Characters 4 to 6 show the abbreviation GGA (e.g. $XXGGA...). &#039;&#039;&#039;[https://www.gpsinformation.org/dale/nmea.htm#RMC RMC Messages]&#039;&#039;&#039; are displayed if OCAD does not receive any GGA messages. RMC messages contain no information about DGPS and the number of satellites. However, the position can still be used in OCAD. The serial data box remains empty, if the GPS device is sending neither of the two messages or if there is a connection problem. Check that you have selected the right port in the &#039;&#039;&#039;Real Time GPS Settings&#039;&#039;&#039; dialog box and that the GPS device is connected correctly to the PC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GGA message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76&lt;br /&gt;
&#039;&#039;&#039;RMC message example:&#039;&#039;&#039;&lt;br /&gt;
 $GPRMC,092750.000,A,5321.6802,N,00630.3372,W,0.02,31.66,280511,,,A*43&lt;br /&gt;
&lt;br /&gt;
OCAD takes the serial data apart and displays it in a bit more user-friendly view below the &#039;&#039;&#039;Serial data&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
=== Mapping with Real Time GPS ===&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;GPS&#039;&#039;&#039; box is displayed in the lower right corner if OCAD is successfully connected to a GPS device.&lt;br /&gt;
&lt;br /&gt;
[[File:RealTimeGPSBox.PNG]]&lt;br /&gt;
&lt;br /&gt;
The following information is given in this box:&lt;br /&gt;
* &#039;&#039;&#039;Easting:&#039;&#039;&#039; In this field the easting value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Northing:&#039;&#039;&#039; In this field the northing value of the coordinate is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;Height:&#039;&#039;&#039; In this field the height is displayed. If the &#039;&#039;&#039;[[GPS#Options|Filter]]&#039;&#039;&#039; is activated, then it is the averaged value.&lt;br /&gt;
* &#039;&#039;&#039;DGPS:&#039;&#039;&#039; A &amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt; dot shows if a &#039;&#039;&#039;[https://en.wikipedia.org/wiki/Differential_GPS DGPS]&#039;&#039;&#039; signal is received. &lt;br /&gt;
* &#039;&#039;&#039;Satellites:&#039;&#039;&#039; In this field the number of received satellites is displayed. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;HDOP:&#039;&#039;&#039; The &#039;&#039;&#039;[https://en.wikipedia.org/wiki/HDOP HDOP (Horizontal Dilution of Precision)]&#039;&#039;&#039; is displayed in this field. HDOP is a quality indicator for the position of the useable satellites on the local sky. HDOP values less than 4 are very good, HDOP greater than 8 are bad. A &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Red number&amp;lt;/span&amp;gt; means that the requirements defined in the &amp;lt;b&amp;gt;Real Time GPS Settings&amp;lt;/b&amp;gt; are not fulfilled.&lt;br /&gt;
* &#039;&#039;&#039;Precision (x Val):&#039;&#039;&#039; In this field the accuracy (root mean square) of specified number of the last measurements is displayed. The &#039;&#039;&#039;Filter length&#039;&#039;&#039; can be specified in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
&lt;br /&gt;
Below the information part of the box, there are several icons:&lt;br /&gt;
: [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039;: Click this icon to create an OCAD object with the receiving GPS information. A symbol must be selected. Choose a point symbol and click the &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create an object at the position of the GPS marker. If a line or area symbol is selected, OCAD starts with the measurement and draws a vertice for every recieved position. The object is represented with a thin black line.&lt;br /&gt;
: [[File:Icon_PauseGPSMeasurement.PNG]] &#039;&#039;&#039;Pause GPS Measurement&#039;&#039;&#039;: Click this icon to interrupt the GPS measurement without finishing the object. Click the icon again to continue with the measurement.&lt;br /&gt;
: [[File:Icon_StopGPSMeasurement.PNG]] &#039;&#039;&#039; Stop GPS Measurement&#039;&#039;&#039;: Click this icon to finish the line or area object. The object is displayed with the assigned symbol.&lt;br /&gt;
: [[File:Icon_FindGPSMarker.PNG]] &#039;&#039;&#039;Find GPS Marker&#039;&#039;&#039;: Click this icon to move the view to the GPS marker. Enable the &#039;&#039;&#039;[[GPS#Options|Auto Scroll]]&#039;&#039;&#039; option to always move the view, when the GPS marker is leaving the current view.&lt;br /&gt;
: [[File:Icon_GPSFilter.PNG]] &#039;&#039;&#039;Filter&#039;&#039;&#039;: Turn on or off the filter by clicking this icon. The filter can be adjusted in the &#039;&#039;&#039;[[GPS#Options|Real Time GPS Settings]]&#039;&#039;&#039; dialog.&lt;br /&gt;
: [[File:Icon_AccuracyCircle.PNG]] &#039;&#039;&#039;Accuracy Circle:&#039;&#039;&#039; Turn on or off the accuracy circle by clicking this icon. This shows the accuracy of the last 5 measurements with a circle around the GPS marker. This option is only available when the &#039;&#039;&#039;Filter&#039;&#039;&#039; is enabled. &lt;br /&gt;
: &#039;&#039;&#039;Select Vertex Type&#039;&#039;&#039;: In this dropdown list you can select between two types of &#039;&#039;&#039;[[Vertices]]&#039;&#039;&#039;: &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Normal Vertex&#039;&#039;&#039; option when a point should be added to the object for every position received from the GPS device. &lt;br /&gt;
:: Choose the &#039;&#039;&#039;Corner Vertex&#039;&#039;&#039; option when a position should be manually added to the object by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; button. This option is typically used to draw objects with straight parts and corners like a fence. If a point or text object is selected, the vertex type cannot be changed.&lt;br /&gt;
: [[File:Icon_AddGPSPositionToCalculateAverage.PNG]] &#039;&#039;&#039;Add GPS Position to Calculate Average&#039;&#039;&#039;: Click this button for every position you want include into an average calculation. The number of added positions is shown in the button hint. Click the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon to create the object at the calculated average position. This function is only available when a point symbol is selected. This is especially useful when the GPS position of an uncrossable feature (e.g. small house, deep hole, huge tree etc.) is to be measured. Some points around the feature have to be recorded and by clicking the [[File:Icon_StartGPSMeasurement.PNG]] &#039;&#039;&#039;Start GPS Measurement&#039;&#039;&#039; icon, the average point can be found.&lt;br /&gt;
: [[File:Icon_OpenRealTimeGPSSettings.PNG]] &#039;&#039;&#039;Open Real Time GPS Settings&#039;&#039;&#039;: This icon opens the &#039;&#039;&#039;[[GPS#Real Time GPS Settings|Real Time GPS Settings]]&#039;&#039;&#039; dialog box.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|hint]] The GPS cursor is drawn with the mark color. Change the &#039;&#039;&#039;[[OCAD_Preferences#Mark|Mark Color]]&#039;&#039;&#039; in the &#039;&#039;&#039;Drawing and Editing&#039;&#039;&#039; part of the &#039;&#039;&#039;[[OCAD Preferences]]&#039;&#039;&#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] There is a &#039;&#039;&#039;better visible, thicker GPS cursor&#039;&#039;&#039; since OCAD version 11.3.0: &amp;lt;br&amp;gt;&lt;br /&gt;
[[File:GpsRealTimeThickerCursor.png]]&lt;br /&gt;
[[File:Hint.jpg|hint]] Cold temperatures can shorten the runtime of the GPS battery. Sometimes it helps to warm up the GPS device for a few minutes.&lt;br /&gt;
&lt;br /&gt;
==Import Data from GPS Device [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
This function is obsolete! If you want to import GPS data from GPS devices, import the waypoints and tracks with the corresponding software of the GPS device to the computer. Then use the &#039;&#039;&#039;[[GPS#Import from File|Import from File]]&#039;&#039;&#039; function in OCAD. As an alternative, for fieldwork, use the &#039;&#039;&#039;[[GPS#Real Time GPS|Real Time GPS]]&#039;&#039;&#039; function.&lt;br /&gt;
&lt;br /&gt;
Choose this command to import tracks or waypoints from a &#039;&#039;&#039;GPS Garmin eTrex&#039;&#039;&#039; device. The GPS device must be connected to the PC with a serial data cable or Bluetooth.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;GPS:&#039;&#039;&#039; In this field the information about the GPS device is displayed.&lt;br /&gt;
* &#039;&#039;&#039;Status:&#039;&#039;&#039; In this field the status between OCAD and GPS is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Connect GPS:&#039;&#039;&#039; Click this button to connect OCAD with the GPS device. After a successful connection the GPS information and the status are displayed.&lt;br /&gt;
* &#039;&#039;&#039;Settings:&#039;&#039;&#039; Click this button to change the GPS settings. The &#039;&#039;&#039;Import from GPS Settings&#039;&#039;&#039; dialog is displayed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GPS data&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Get waypoints:&#039;&#039;&#039; Click this button to load all waypoints. Each waypoint is displayed with in a row in the GPS data field.&lt;br /&gt;
* &#039;&#039;&#039;Get tracks:&#039;&#039;&#039; Click this button to download all tracks. Each track is displayed with in a row in the GPS data field. Only the start point is displayed.&lt;br /&gt;
[[File:Hint.jpg|hint]] This command can take several minutes!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OCAD objects&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;Set labels:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;CRT:&#039;&#039;&#039; Use a &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; to assign symbols to the waypoints and tracks. OCAD creates &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039; if no &#039;&#039;&#039;[[Cross Reference Table]]&#039;&#039;&#039; is selected.&lt;br /&gt;
: Each line of the cross reference table contains the OCAD symbol number and the Garmin symbol name.&lt;br /&gt;
: Example of a cross reference table:&lt;br /&gt;
 535.0 waypoint dot&lt;br /&gt;
 536.0 campground symbol&lt;br /&gt;
 540.0 scenic area symbol&lt;br /&gt;
* &#039;&#039;&#039;Create:&#039;&#039;&#039; Select the waypoints and tracks in the GPS data field and click this button to create OCAD objects from the selected GPS data.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
===Import from GPS Settings===&lt;br /&gt;
In this dialog box you can make the setting for the GPS data import. Verify also your settings on the GPS device (e.g. data format: GARMIN)!&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Port:&#039;&#039;&#039; Choose the port where the GPS device is connected. &lt;br /&gt;
* &#039;&#039;&#039;Speed data import:&#039;&#039;&#039; Choose the speed of the serial port. Garmin defines 9600 bps.&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system:&#039;&#039;&#039; Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create a New Map#Coordinate System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
&lt;br /&gt;
==Import from File [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Choose this command from the &#039;&#039;&#039;GPS&#039;&#039;&#039; menu to import a GPS data file to the current map. The &#039;&#039;&#039;Load GPS data from files&#039;&#039;&#039; dialog box is displayed. Initially all importable GPS data files are listed. The following file types can be imported:&lt;br /&gt;
* GPX files&lt;br /&gt;
* FRWD files&lt;br /&gt;
* NMEA files&lt;br /&gt;
The &#039;&#039;&#039;Import from File&#039;&#039;&#039; dialog appears, where all available waypoints and tracks from the imported file are listed. There are several options in the &#039;&#039;&#039;OCAD objects&#039;&#039;&#039; part of the dialog:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Set label:&#039;&#039;&#039; Check this option to create also text objects with the name of the waypoints and tracks.&lt;br /&gt;
* &#039;&#039;&#039;Assign Symbols:&#039;&#039;&#039; Check this option to assign a specified symbol to the imported objects. Otherwise OCAD will create &#039;&#039;&#039;[[Unsymbolized Objects]]&#039;&#039;&#039;. &lt;br /&gt;
[[File:Hint.jpg|hint]] A popup menu appears when clicking the list with the GPS data with the right mouse button. In this popup menu you have the option to &#039;&#039;&#039;Select all&#039;&#039;&#039;, &#039;&#039;&#039;Unselect all&#039;&#039;&#039; and &#039;&#039;&#039;Clear list&#039;&#039;&#039;. With the &#039;&#039;&#039;Clear list&#039;&#039;&#039; command all waypoints and tracks are removed. In addition, you can &#039;&#039;&#039;Make an OCAD object&#039;&#039;&#039;. By clicking this command, an OCAD object of the selected track or waypoint is created.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Import&#039;&#039;&#039; button to import all selected tracks or waypoints in the list.&lt;br /&gt;
&lt;br /&gt;
===GPS Map Offset===&lt;br /&gt;
This dialog box appears if the GPS coordinates are out of the maximum map size. Adjust the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Coordinate system&#039;&#039;&#039; If you work with GPS you must select a coordinate system. Click the &#039;&#039;&#039;Change&#039;&#039;&#039; button to select or change the coordinate system. The &#039;&#039;&#039;[[Create_a_New_Map#Coordinate_System|Coordinate System]]&#039;&#039;&#039; dialog box appears.&lt;br /&gt;
* &#039;&#039;&#039;Offset&#039;&#039;&#039; Choose here whether you want to change the OCAD real world coordinates or to keep the existing ones. &lt;br /&gt;
* &#039;&#039;&#039;New offset:&#039;&#039;&#039; Choose this option if no real world coordinates are defined for the map. OCAD already proposes reasonable values. You can leave theme unchanged.&lt;br /&gt;
* &#039;&#039;&#039;Existing offset and angle:&#039;&#039;&#039; Choose this option if the map already has real world coordinates and you want to fit the imported objects to the existing coordinates.&lt;br /&gt;
&lt;br /&gt;
== Laser Rangefinder [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
Read more about using the &#039;&#039;&#039;&amp;quot;TruPulse 360/360B&amp;quot; Laser Rangefinder&#039;&#039;&#039; on the &#039;&#039;&#039;[[Laser Rangefinder]]&#039;&#039;&#039; page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12876</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12876"/>
		<updated>2021-03-12T13:39:53Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || e.g. 526.002&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbolSelectedObjects || SymbolNumber || Double &amp;lt;br&amp;gt; || e.g. 101.001&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12875</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12875"/>
		<updated>2021-03-12T13:38:25Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || e.g. 526.002&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbolSelectedObjects || ToSymbolNumber || Double &amp;lt;br&amp;gt; || e.g. 101.001&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12874</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12874"/>
		<updated>2021-03-12T13:13:27Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Select */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || e.g. 526.002&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12867</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12867"/>
		<updated>2021-03-09T10:55:51Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12866</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12866"/>
		<updated>2021-03-09T10:55:21Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Symbol */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12865</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12865"/>
		<updated>2021-03-09T10:39:41Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Symbol */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.LoadSymbolTreeFrom|| FileName || String|| ocd file name&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12864</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12864"/>
		<updated>2021-03-09T09:18:12Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber &amp;lt;br&amp;gt; FromImportedLayer &amp;lt;br&amp;gt; ToSymbolNumber || Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12863</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12863"/>
		<updated>2021-03-09T09:17:28Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeSymbol || FromSymbolNumber FromImportedLayer ToSymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12856</id>
		<title>Technical Data</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Technical_Data&amp;diff=12856"/>
		<updated>2021-03-03T15:34:48Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Computer / System Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Computer / System Requirements==&lt;br /&gt;
* OCAD requires Windows 8 or Windows 10 (32- or 64-bit). OCAD is available as 32-bit and 64-bit software.&lt;br /&gt;
* We strongly recommend for Windows Vista und Windows 7 to use the default Aero Theme to avoid unnecessary screen redraws or erased maps when moving dialogs. &lt;br /&gt;
* 100 MB of free disk space for the installation&lt;br /&gt;
* At least 1 GB RAM (depends on the size of open maps and background maps). The OCAD program without any open map needs only 70 MB RAM.&lt;br /&gt;
* OCAD as 32-bit software can allocate up to approx. 3.5 GB RAM (&#039;&#039;&#039;32-bit&#039;&#039;&#039; Windows 7 consult the page [[Physical_Memory|Physical Memory]]). OCAD as 64-bit software and can allocate more than 3.5 GB RAM if available.&lt;br /&gt;
* Screen resolution: 1280 x 1024 or higher recommended (needs to be multiplied with the screen scaling factor e.g. 2560 x 2048 when using 200% scaling)&lt;br /&gt;
* OCAD Mapping Solution: We recommend to install the [http://www.ocad.com/download/bde.exe Borland Database Engine] (import shape files, database connections to dBase files, using OCAD to create thematic maps) and the [http://www.microsoft.com/download/en/details.aspx?id=13255 Microsoft Access Database Engine 32-bit] (database connections to Access/Excel files, using OCAD to create thematic maps).&lt;br /&gt;
&lt;br /&gt;
[[File:hint.jpg]] OCAD 64-bit version cannot connect to Microsoft Excel/Access if the 32-bit version of Microsoft Access Database Engine is installed. The same with 64-bit Microsoft Access Database Engine and OCAD 32 bit version. &lt;br /&gt;
In this case use the same OCAD version as installed Microsoft Access Database Engine..&lt;br /&gt;
&lt;br /&gt;
== 64-bit Version vs. 32-bit Version == &lt;br /&gt;
&#039;&#039;&#039;OCAD Orienteering&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Mapping Solution&#039;&#039;&#039; are new available as 64-bit version. However, we have still also a 32-bit version. The OCAD Setup installs both versions. Both versions uses the same resources, nevertheless it is possible to run both version at the same time. The installer creates a program shortcut for each version.&amp;lt;br&amp;gt;&lt;br /&gt;
Please note, the 64-bit version isn&#039;t faster than the 32-bit version. The big advantage of 64-bit is that OCAD can allocate more than 3 GB RAM if available on the computer. That is important when loading huge raster background maps or DEM files.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; only come as a 32-bit verion. &lt;br /&gt;
&lt;br /&gt;
You can check your Windows version in the OCAD map information dialog.&lt;br /&gt;
 &lt;br /&gt;
OCAD 64-bit runs only in Windows 64-bit version. Nowadays, most computers are running on a 64-bit Windows version. OCAD 32-bit runs on both Windows 64-bit and 32-bit. The ocd files are 100% compatible between both versions. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Please note that not all OCAD functions are available in both versions. The restrictions for OCAD 64-bit version are: &lt;br /&gt;
* dbf database file cannot be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the installation ocd files are assicated with OCAD 32-bit version. To change to 64-bit see &#039;&#039;&#039;[[How to Change Default Program Association]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Mac OS X ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Mac OS X]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD on Linux ==&lt;br /&gt;
Read the &#039;&#039;&#039;[[OCAD on Linux]]&#039;&#039;&#039; article for more information.&lt;br /&gt;
&lt;br /&gt;
== OCAD Limits ==&lt;br /&gt;
* Maximal map size: 4 x 4 meters (OCAD Orienteering edition), 80 x 80 meters (Mapping Solution edition)&lt;br /&gt;
* Resolution (accuracy of coordinates) 0.01 mm&lt;br /&gt;
* 10000 objects (Starter edition), 16 million objects (OCAD Mapping Solution, Orienteering, Course Setting and Viewer edition) &lt;br /&gt;
* 4 million vertices for each object&lt;br /&gt;
* Unlimited number of symbols (number range 0.001 to 999&#039;999.999)&lt;br /&gt;
* 32&#039;000 colors (number range from 0 to 32&#039;000)&lt;br /&gt;
* 2 GB file size&lt;br /&gt;
&lt;br /&gt;
== OCAD File Format ==&lt;br /&gt;
This description of the OCAD file format is intended for programmers who want to directly access the information in OCAD files.&lt;br /&gt;
&lt;br /&gt;
* [[OCAD 12 File Format]]&lt;br /&gt;
* [http://www.ocad.com/wiki/ocad11/en/?title=Main_Page OCAD 11 File Format]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD10Format.txt OCAD 10 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.pdf OCAD 9/10 Graphic]&lt;br /&gt;
* [http://www.ocad.ch/docs/OCAD9Format.txt OCAD 9 File Format] &lt;br /&gt;
* [http://www.ocad.ch/docs/format8.txt OCAD 6/7/8 File Format]&lt;br /&gt;
&lt;br /&gt;
== Recommendations ==&lt;br /&gt;
OCAD runs on all 7 / 8 or 10 computers except Windows 8 RT (ARM tablets).&lt;br /&gt;
===Mapping on TabletPC===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Tablet PC with Windows &lt;br /&gt;
* Long battery life (8 hours or longer)&lt;br /&gt;
* Outdoor screen&lt;br /&gt;
* GPS with USB or Bluetooth connection&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition&lt;br /&gt;
&lt;br /&gt;
===Draw Orienteering Maps and Course Setting===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop or Laptop with Windows&lt;br /&gt;
* 4 GB or more RAM (at least 8 GB RAM when working with big Airborne Laserscanning Files) &lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Orienteering Edition or OCAD Course Setting Edition&lt;br /&gt;
&lt;br /&gt;
===Map Publishing Companies===&lt;br /&gt;
Hardware: &lt;br /&gt;
* Desktop PC with Windows one or two screens&lt;br /&gt;
* 4 or more GB RAM&lt;br /&gt;
Software:&lt;br /&gt;
* OCAD Mapping Solution&lt;br /&gt;
Special OCAD Settings:&lt;br /&gt;
* Switch on the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; in &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;View&#039;&#039;&#039; tab in &#039;&#039;&#039;Options&#039;&#039;&#039; menu.&lt;br /&gt;
* Switch off the &#039;&#039;&#039;Anti-Aliasing&#039;&#039;&#039; mode in &#039;&#039;&#039;View&#039;&#039;&#039; menu. If Anti-Aliasing is switched off then OCAD draws the screen color by color. Otherwise OCAD draws the screen once after a short time.&lt;br /&gt;
&lt;br /&gt;
== Digital Signature ==&lt;br /&gt;
The OCAD program file and the OCAD setup file are signed with the [https://en.wikipedia.org/wiki/Code_signing digital signature] of OCAD AG. That confirms the software author and guarantee that the code has not been altered or corrupted since it was signed by use of a cryptographic hash. OCAD uses the digital signature algorithm sha256RSA.&lt;br /&gt;
&lt;br /&gt;
That is the reason why OCAD doesn&#039;t run on Windows XP and Vista. &lt;br /&gt;
&lt;br /&gt;
The see the digital signature open the context menu of the OCAD setup file (.exe file) in &#039;&#039;&#039;File Explorer&#039;&#039;&#039; and click &#039;&#039;&#039;Properies&#039;&#039;&#039;. The &#039;&#039;&#039;Properties dialog&#039;&#039;&#039; opens. Click the &#039;&#039;&#039;Digital Signature&#039;&#039;&#039; tab.&lt;br /&gt;
Click &#039;&#039;&#039;Details&#039;&#039;&#039;. In  &#039;&#039;&#039;Digital Signature Details&#039;&#039;&#039; dialog is the &#039;&#039;&#039;Signer Name&#039;&#039;&#039; &#039;&#039;OCAD AG&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:DigitalSignature.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;br /&gt;
&lt;br /&gt;
Previous Chapter: [[Tutorials]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12845</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12845"/>
		<updated>2021-02-18T09:40:51Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Select */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp;|| &amp;amp;nbsp;|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12844</id>
		<title>XML Script</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=XML_Script&amp;diff=12844"/>
		<updated>2021-02-18T09:40:31Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Select */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]] ([[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]])&lt;br /&gt;
&lt;br /&gt;
Choose this command to execute functions whose settings are defined in a XML file. &lt;br /&gt;
&lt;br /&gt;
Note: Most parameters can only be used in the Mapping Solution Edition. In the Orienteering Edition, XML Script can be used for Lidar Import, DTM Import and WMTS Export. &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Execute XML Script&#039;&#039;&#039; from &#039;&#039;&#039;File&#039;&#039;&#039; menu or drag-and-drop then xml file to the OCAD window. &lt;br /&gt;
&lt;br /&gt;
OCAD creates a log file in the temporary folder (&#039;&#039;C:\Users\USERNAME\AppData\Roaming\OCAD\OCAD 20xx\Tmp&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
==XML Script General==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:40em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.New || File &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Easting &amp;lt;/del&amp;gt;&amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Northing&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Angle&amp;lt;/del&amp;gt; || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt; &amp;lt;br&amp;gt; &amp;lt;del&amp;gt;Integer&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Double&amp;lt;/del&amp;gt; || file name of existing symbol set &amp;lt;br&amp;gt; 10000 &amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&amp;lt;br&amp;gt; obsolete, use Map.ScaleAndCoordinateSystem&lt;br /&gt;
|-&lt;br /&gt;
| File.Open || File &amp;lt;br&amp;gt; IgnoreMissingBackgroundMaps &amp;lt;br&amp;gt; IgnoreMissingDatasets|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| ocd file name &amp;lt;br&amp;gt; true, false (default: false) &amp;lt;br&amp;gt; true, false (default: false)&lt;br /&gt;
|-&lt;br /&gt;
| File.Close|| Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Save || Enabled || Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.SaveAs || File || String || ocd file name&lt;br /&gt;
|-&lt;br /&gt;
| File.Import.Ocd || File &amp;lt;br&amp;gt; Directory &amp;lt;br&amp;gt; SymbolOption &amp;lt;br&amp;gt; ColorOption || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || File name &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; [0..3] &amp;lt;br&amp;gt; [0, 1] &lt;br /&gt;
|-&lt;br /&gt;
| File.Import.DXF || Directory &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale || String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer || Directory name&amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false &amp;lt;br&amp;gt; ignored if NewOffset = false&lt;br /&gt;
|-&lt;br /&gt;
| File.MultipleFileImport &lt;br /&gt;
|| Directory &amp;lt;br&amp;gt; CoordinateSystem &amp;lt;br&amp;gt; NewOffset &amp;lt;br&amp;gt; Horizontally &amp;lt;br&amp;gt; Vertically &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; MapScale &amp;lt;br&amp;gt; GridDistance &amp;lt;br&amp;gt; DatabaseType &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Codepage &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; LayerField &amp;lt;br&amp;gt; LayerField2&lt;br /&gt;
|| String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String&lt;br /&gt;
|| Directory of import files, file mask like &#039;&#039;C:\Shape\SV*.shp&#039;&#039; supported &amp;lt;br&amp;gt;[[Create_a_New_Map#Coordinate_System|Internal Grid ID]] |1000 = existing grid of OCAD file,  -1 = WGS 84, &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 = dBase, 1 = Access 2007, 2 = Access 2003/2010, 3 = Do not create a database &amp;lt;br&amp;gt; 0 = Default, Codepage number &amp;lt;br&amp;gt; &#039; &#039; = Create new key field, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import layer information, field name &amp;lt;br&amp;gt; &#039; &#039; = do not import 2nd layer information, field name, LayerField and LayerField2 content are concatenated by &#039;_&#039;&lt;br /&gt;
|-&lt;br /&gt;
| File.Exit || Enabled || Boolean || true, false &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===View===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| View.Mode || || Enum types  || normalMode, spotColorMode, draftMode&lt;br /&gt;
|-&lt;br /&gt;
| View.EntireMap || Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| View.MoveTo || X &amp;lt;br&amp;gt; Y || Double &amp;lt;br&amp;gt; Double || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| View.Zoom || &amp;amp;nbsp; || Double || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Select===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Select.ObjectsBySymbol || &amp;amp;nbsp|| &amp;amp;nbsp|| use &amp;lt;Select.ObjectsBySymbol&amp;gt;&amp;lt;/Select.ObjectsBySymbol&amp;gt; to clear the selection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Object.ChangeVertexTypesTo || Type || Enum types  || CornerVertex, DashVertex&lt;br /&gt;
|-&lt;br /&gt;
| Object.Fill || SymbolNumber || Double  || &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Symbol.SymbolStatusManager|| FileName &amp;lt;br&amp;gt; SymbolStatusName|| String&amp;lt;br&amp;gt;String || xml file name &amp;lt;br&amp;gt; name of symbol status&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Map.OptimizeRepair|| Enabled|| Boolean || true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ChangeScale || NewScale &amp;lt;br&amp;gt; EnlargeReduceSymbols || Integer &amp;lt;br&amp;gt; Boolean|| e. g. 10000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| Map.ConvertLayer|| CrtFile || String || crt file name&lt;br /&gt;
|-&lt;br /&gt;
| Map.DeleteObjectsBySymbol|| SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.ExportObjectsBySymbol|| File &amp;lt;BR&amp;gt;SymbolNumber&amp;lt;BR&amp;gt;SymbolTreeGroupName||Double&amp;lt;BR&amp;gt;String|| export ocd file name&amp;lt;BR&amp;gt;e.g. 526.002 &amp;lt;BR&amp;gt; e.g. Streets&lt;br /&gt;
|-&lt;br /&gt;
| Map.LoadSymbolsFrom || File || String || ocd file name (with symbols to be loaded) &amp;lt;br&amp;gt; The option &#039;&#039;replace existing colors and symbols&#039;&#039; is used&lt;br /&gt;
|-&lt;br /&gt;
| Map.ScaleAndCoordinateSystem || MapScale &amp;lt;br&amp;gt; Easting &amp;lt;br&amp;gt; Northing &amp;lt;br&amp;gt; Angle &amp;lt;br&amp;gt; CoordinateSystem|| Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Integer|| e.g. 10000 &amp;lt;br&amp;gt; e.g. 600000 &amp;lt;br&amp;gt; e.g. 200000 &amp;lt;br&amp;gt; e.g. 4.5&amp;lt;br&amp;gt;internal grid id &lt;br /&gt;
|-&lt;br /&gt;
| Map.Transform.ChangeCoordinateSystem || CoordinateSystem&amp;lt;BR&amp;gt;EastingOffset&amp;lt;BR&amp;gt;NorthingOffset&amp;lt;BR&amp;gt;ScaleSymbols|| Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Integer&amp;lt;BR&amp;gt;Boolean|| internal grid id &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;true, false&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.New || DatasetName &amp;lt;br&amp;gt; DBaseFile &amp;lt;br&amp;gt; OdbcDataSource &amp;lt;br&amp;gt; Table &amp;lt;br&amp;gt; KeyField &amp;lt;br&amp;gt; SymbolField &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; SizeField &amp;lt;br&amp;gt; LengthUnit &amp;lt;br&amp;gt; AreaUnit &amp;lt;br&amp;gt; Decimals &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Username &amp;lt;br&amp;gt; Passwort || String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; mandatory &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Dataset.Remove || Dataset || String &amp;lt;br&amp;gt; Integer || &#039;&#039;all&#039;&#039; for all databases &amp;lt;br&amp;gt; 3, 2, 1, ... for only one or several &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Symbols || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; CntFile || String &amp;lt;br&amp;gt; or Integer  &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; Condition table file&lt;br /&gt;
|-&lt;br /&gt;
| Database.Assign.Texts || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt;Condition  &amp;lt;br&amp;gt;Symbol &amp;lt;br&amp;gt; ReplaceExistingObjects || String &amp;lt;br&amp;gt;  or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt;e.g. 101.0, -1 for using existing symbol &amp;lt;br&amp;gt; true, false (Default)&lt;br /&gt;
|-&lt;br /&gt;
| Database.SetObjectDirection || Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AngleField &amp;lt;br&amp;gt; MathematicalFunction || String &amp;lt;br&amp;gt; or Integer &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String || &#039;&#039;all&#039;&#039; for all databases, dataset name &amp;lt;br&amp;gt; or 1, 2, 3... for only one database &amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;lt;br&amp;gt;eg.: *180/3.14159&lt;br /&gt;
|-&lt;br /&gt;
| Database.CreateObjects || Dataset &amp;lt;br&amp;gt; SelectSymbol &amp;lt;br&amp;gt; Condition &amp;lt;br&amp;gt; HorizontalCoordinate &amp;lt;br&amp;gt; VerticalCoordinate &amp;lt;br&amp;gt; Unit &amp;lt;br&amp;gt; TextField &amp;lt;br&amp;gt; HorizontalOffset &amp;lt;br&amp;gt; VerticalOffset || Integer &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Double &amp;lt;br&amp;gt; Double || 1, 2, 3, ... Number of dataset &amp;lt;br&amp;gt; Symbol numer. ex. 207.0 &amp;lt;br&amp;gt; SQL String (ex. SYMBOL LIKE 207.0) &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; m, km &amp;lt;br&amp;gt; Database fieldname &amp;lt;br&amp;gt; &amp;amp;nbsp; &amp;lt;br&amp;gt; &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Background Map===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:26em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Open || FileName &amp;lt;br&amp;gt; Visible &amp;lt;br&amp;gt; VisibleInFavorites &amp;lt;br&amp;gt; Dimm &amp;lt;br&amp;gt; Transparent &amp;lt;br&amp;gt; SpotColor &amp;lt;br&amp;gt; Blockout &amp;lt;br&amp;gt; Infrared|| String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Integer || &amp;amp;nbsp; &amp;lt;br&amp;gt;true, false; Default = true &amp;lt;br&amp;gt; true, false; Default = true &amp;lt;br&amp;gt; [0..100]; Default = 0 [only works if Blockout is false]&amp;lt;br&amp;gt; true, false; Default = false [only works if Blockout is false]&amp;lt;br&amp;gt; spot color name &amp;lt;br&amp;gt; true, false; Default = false &amp;lt;br&amp;gt; 0=undefined, 1=32bit-infrared, 2=32bit RGB &lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Remove|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|-&lt;br /&gt;
| BackgroundMap.Reload a)|| &amp;amp;nbsp;|| String|| &#039;&#039;all&#039;&#039; or filename&lt;br /&gt;
|}&lt;br /&gt;
a): Limited functionality. Not avaiable for all users.&lt;br /&gt;
===DEM [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about importing Lidar and DTM data on the page [[XML Script Lidar and DTM Import]].&lt;br /&gt;
&lt;br /&gt;
===WMTS Export [[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===&lt;br /&gt;
Read more about exporting map tiles for [https://leafletjs.com/ Leaflet] on the page [[XML Script WMTS Export]].&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!-- OCAD XML Script for multiple Shape import and assigning symbols from database --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! Choose a template file. --&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.MultipleFileImport&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This path has to be adjusted before using the script! --&amp;gt;&lt;br /&gt;
    &amp;lt;Directory&amp;gt;C:\Export\Files&amp;lt;/Directory&amp;gt;&lt;br /&gt;
    &amp;lt;CoordinateSystem&amp;gt;1000&amp;lt;/CoordinateSystem&amp;gt;&lt;br /&gt;
    &amp;lt;NewOffset&amp;gt;true&amp;lt;/NewOffset&amp;gt;&lt;br /&gt;
    &amp;lt;Horizontally&amp;gt;600000&amp;lt;/Horizontally&amp;gt;&lt;br /&gt;
    &amp;lt;Vertically&amp;gt;200000&amp;lt;/Vertically&amp;gt;&lt;br /&gt;
    &amp;lt;Angle&amp;gt;0&amp;lt;/Angle&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;10000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
    &amp;lt;GridDistance&amp;gt;500&amp;lt;/GridDistance&amp;gt;&lt;br /&gt;
    &amp;lt;LayerField&amp;gt;OBJECTVAL&amp;lt;/LayerField&amp;gt;&lt;br /&gt;
  &amp;lt;/File.MultipleFileImport&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Texts&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;Condition/&amp;gt;    &lt;br /&gt;
    &amp;lt;TextField&amp;gt;TEXT&amp;lt;/TextField&amp;gt;&lt;br /&gt;
    &amp;lt;Symbol&amp;gt;902.000&amp;lt;/Symbol&amp;gt;&lt;br /&gt;
    &amp;lt;ReplaceExistingObjects&amp;gt;false&amp;lt;/ReplaceExistingObjects&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Texts&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Angles&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;  &lt;br /&gt;
    &amp;lt;AngleField&amp;gt;ANGLE&amp;lt;/AngleField&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Angles&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Assign.Symbols&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
    &amp;lt;CntFile&amp;gt;C:\Export\Chlosterwald.cnt&amp;lt;/CntFile&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Assign.Symbols&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Database.Dataset.Remove&amp;gt;&lt;br /&gt;
    &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
  &amp;lt;/Database.Dataset.Remove&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Map.OptimizeRepair&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/Map.OptimizeRepair&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;View.EntireMap&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/View.EntireMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;C:\Export\Chlosterwald_Example.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Close&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Exit&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Exit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Thematic Maps [[File:Space.PNG]][[File:Mas40px.png|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]]==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:21em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.CreateThematicMap &lt;br /&gt;
|| &amp;lt;MapTheme&amp;gt; &amp;lt;br&amp;gt; Name &amp;lt;br&amp;gt; StatDataPath &amp;lt;br&amp;gt; StatDataTable &amp;lt;br&amp;gt; StatDataCommonField &amp;lt;br&amp;gt; VisualizeAttributes &amp;lt;br&amp;gt; AttributesValuesType &amp;lt;br&amp;gt; Classify &amp;lt;br&amp;gt; RepresentationFeature &amp;lt;br&amp;gt; GeometryDataPath &amp;lt;br&amp;gt;GeometryDataCommonField &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethod &amp;lt;br&amp;gt; VisualizationType  &amp;lt;br&amp;gt; &amp;lt;VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; ScalingMode &amp;lt;br&amp;gt; MaxSize &amp;lt;br&amp;gt; MinSize &amp;lt;br&amp;gt; FillColor &amp;lt;br&amp;gt; StrokeColor &amp;lt;br&amp;gt; StrokeMaxWidth &amp;lt;br&amp;gt; StrokeMinWidth &amp;lt;br&amp;gt; DecreaseStroke &amp;lt;br&amp;gt; ShowZeroValue &amp;lt;br&amp;gt; ShowNoData &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt; &amp;lt;/VisualizationProperties&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/MapTheme&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;MapTitleStyle&amp;gt; &amp;lt;br&amp;gt; Color &amp;lt;br&amp;gt; Opacity &amp;lt;br&amp;gt; Font &amp;lt;br&amp;gt; Size &amp;lt;br&amp;gt; isBold &amp;lt;br&amp;gt; isItalic &amp;lt;br&amp;gt; Alignment &amp;lt;br&amp;gt; &amp;lt;/MapTitleStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTitleStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTitleStyle&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;lt;LegendTextStyle&amp;gt; &amp;lt;br&amp;gt; see MapTitleStyle... &amp;lt;br&amp;gt; &amp;lt;/LegendTextStyle&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; AddScaleBar &amp;lt;br&amp;gt; AddScaleText &amp;lt;br&amp;gt; AdditionalInformationText&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; ValueType &amp;lt;br&amp;gt; ClassifyType &amp;lt;br&amp;gt; RepresentationFeatureType &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; JoinType &amp;lt;br&amp;gt; VisualizationMethodType &amp;lt;br&amp;gt; VisualizationTypeType &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt; ScalingModeType &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt;   FillColor &amp;lt;br&amp;gt;   StrokeColor &amp;lt;br&amp;gt;   double &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ColorType &amp;lt;br&amp;gt; integer &amp;lt;br&amp;gt; string &amp;lt;br&amp;gt; double &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; AlignmentType &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;    &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;      &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; boolean &amp;lt;br&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
|| &amp;lt;br&amp;gt; Theme name &amp;lt;br&amp;gt; statistic data file path &amp;lt;br&amp;gt; Sheet or table for Excel or Access files &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; Attribute(s) to visualize: Ex. 2004 or 2009|2011 &amp;lt;br&amp;gt; absolute, relative &amp;lt;br&amp;gt; yes, no &amp;lt;br&amp;gt; point, line, area &amp;lt;br&amp;gt; Geometry data file path &amp;lt;br&amp;gt; Common Id field &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see Thematic Map Data Types table &amp;lt;br&amp;gt; max. size in mm &amp;lt;br&amp;gt; min. size in mm &amp;lt;br&amp;gt; fill color: ex. C=84 M=0 Y=128 K=0 &amp;lt;br&amp;gt; stroke color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt;   max. stroke width in mm &amp;lt;br&amp;gt; min. stroke width in mm &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; % &amp;lt;br&amp;gt; ThemeLegendTitle &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; font color: ex. C=0 M=0 Y=0 K=255 &amp;lt;br&amp;gt; opacity in %&amp;lt;br&amp;gt; font name &amp;lt;br&amp;gt; font size &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; 0=align bottom left &amp;lt;br&amp;gt;      &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;    &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;     &amp;lt;br&amp;gt; ... &amp;lt;br&amp;gt;     &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; Ex. Coordinate system: Pseudo-Mercator&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Thematic Map Data Types===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:14em&amp;quot; | Data type&lt;br /&gt;
! style=&amp;quot;width:28em&amp;quot; | Values&lt;br /&gt;
|-&lt;br /&gt;
| ValueType || absolute, relative&lt;br /&gt;
|-&lt;br /&gt;
| ClassifyType || yes, no&lt;br /&gt;
|-&lt;br /&gt;
| RepresentationFeatureType || point, line, area&lt;br /&gt;
|-&lt;br /&gt;
| JoinType || 0=KeepAllRecords, 1=KeepOnlyMatchingRecords &lt;br /&gt;
|-&lt;br /&gt;
| VisualizationMethodType || mProportionalSymbols, vmProportionalLines, vmProportionalArrows, vmGraduatedSymbols, vmGraduatedLines, vmGraduatedArrows, vmChoropleths, vmCharts&lt;br /&gt;
|-&lt;br /&gt;
| VisualizationTypeType || vtProportionalBar, vtProportionalCircle, vtProportionalSquare, vtProportionalLine, vtProportionalArrow, vtGraduatedBar, vtGraduatedCircle, vtGraduatedSquare, vtGraduatedLine, vtGraduatedArrow, vtChoropleth, vtPieChart, vtWingChart, vtBarChart, vtDividedPieChart, vtDividedWingChart, vtDividedBarChart, vtStackedBarChart, vtPercentageStackedBarChart&lt;br /&gt;
|-&lt;br /&gt;
| ScalingModeType || 0=scaling by representation ratio, 1=scaling by max. size&lt;br /&gt;
|-&lt;br /&gt;
| DataClassificationMethodType|| cmManual, cmNaturalBreaks, cmEqualIntervals, cmQuantiles&lt;br /&gt;
|-&lt;br /&gt;
| ColorType || CMYK color definition [0..255]: C=84 M=0 Y=128 K=0 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Thematic Map Script Examples ===&lt;br /&gt;
The following example creates a &#039;&#039;&#039;thematic map&#039;&#039;&#039; with proportional squares about the population in europe 2011. &lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;OcadScript&amp;gt;&lt;br /&gt;
  &amp;lt;OcadVersion&amp;gt;OCAD 2018 - Mapping Solution 32-bit&amp;lt;/OcadVersion&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;File.New&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;MapScale&amp;gt;25000000&amp;lt;/MapScale&amp;gt;&lt;br /&gt;
  &amp;lt;/File.New&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.SaveAs&amp;gt;&lt;br /&gt;
    &amp;lt;File&amp;gt;Thematic Map Population Europe ProportionalSquare.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
  &amp;lt;/File.SaveAs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.CreateThematicMap&amp;gt;&lt;br /&gt;
    &amp;lt;MapTheme&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Population 2011&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataPath&amp;gt;C:\import\population.xls&amp;lt;/StatDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataTable&amp;gt;Sheet0$&amp;lt;/StatDataTable&amp;gt;&lt;br /&gt;
      &amp;lt;StatDataCommonField&amp;gt;id&amp;lt;/StatDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizeAttributes&amp;gt;2011&amp;lt;/VisualizeAttributes&amp;gt;&lt;br /&gt;
      &amp;lt;AttributesValuesType&amp;gt;absolute&amp;lt;/AttributesValuesType&amp;gt;&lt;br /&gt;
      &amp;lt;Classify&amp;gt;no&amp;lt;/Classify&amp;gt;&lt;br /&gt;
      &amp;lt;RepresentationFeature&amp;gt;point&amp;lt;/RepresentationFeature&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataPath&amp;gt;C:\import\europe.shp&amp;lt;/GeometryDataPath&amp;gt;&lt;br /&gt;
      &amp;lt;GeometryDataCommonField&amp;gt;ne_10m_adm&amp;lt;/GeometryDataCommonField&amp;gt;&lt;br /&gt;
      &amp;lt;JoinType&amp;gt;0&amp;lt;/JoinType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationMethod&amp;gt;vmProportionalSymbols&amp;lt;/VisualizationMethod&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationType&amp;gt;vtProportionalSquare&amp;lt;/VisualizationType&amp;gt;&lt;br /&gt;
      &amp;lt;VisualizationProperties&amp;gt;&lt;br /&gt;
        &amp;lt;ScalingMode&amp;gt;1&amp;lt;/ScalingMode&amp;gt;&lt;br /&gt;
        &amp;lt;MaxSize&amp;gt;30.00&amp;lt;/MaxSize&amp;gt;&lt;br /&gt;
        &amp;lt;MinSize&amp;gt;1.00&amp;lt;/MinSize&amp;gt;&lt;br /&gt;
        &amp;lt;FillColor&amp;gt;C=84 M=0 Y=128 K=0&amp;lt;/FillColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeColor&amp;gt;C=0 M=0 Y=0 K=181&amp;lt;/StrokeColor&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMaxWidth&amp;gt;0.40&amp;lt;/StrokeMaxWidth&amp;gt;&lt;br /&gt;
        &amp;lt;StrokeMinWidth&amp;gt;0.08&amp;lt;/StrokeMinWidth&amp;gt;&lt;br /&gt;
        &amp;lt;DecreaseStroke&amp;gt;true&amp;lt;/DecreaseStroke&amp;gt;&lt;br /&gt;
        &amp;lt;ShowZeroValue&amp;gt;true&amp;lt;/ShowZeroValue&amp;gt;&lt;br /&gt;
        &amp;lt;ShowNoData&amp;gt;true&amp;lt;/ShowNoData&amp;gt;&lt;br /&gt;
        &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
        &amp;lt;ThemeLegendTitle&amp;gt;Population&amp;lt;/ThemeLegendTitle&amp;gt;&lt;br /&gt;
      &amp;lt;/VisualizationProperties&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTheme&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitle&amp;gt;Population in Europe 2011&amp;lt;/MapTitle&amp;gt;&lt;br /&gt;
    &amp;lt;DefaultTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Color&amp;gt;C=0 M=0 Y=0 K=150&amp;lt;/Color&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;100&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Font&amp;gt;Arial&amp;lt;/Font&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;isBold&amp;gt;0&amp;lt;/isBold&amp;gt;&lt;br /&gt;
      &amp;lt;isItalic&amp;gt;0&amp;lt;/isItalic&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;0&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/DefaultTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;MapTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Opacity&amp;gt;80&amp;lt;/Opacity&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;24.00&amp;lt;/Size&amp;gt;&lt;br /&gt;
      &amp;lt;Alignment&amp;gt;1&amp;lt;/Alignment&amp;gt;&lt;br /&gt;
    &amp;lt;/MapTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddThemeLegend&amp;gt;true&amp;lt;/AddThemeLegend&amp;gt;&lt;br /&gt;
    &amp;lt;AddBasemapLegend&amp;gt;true&amp;lt;/AddBasemapLegend&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTitleStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;12.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTitleStyle&amp;gt;&lt;br /&gt;
    &amp;lt;LegendTextStyle&amp;gt;&lt;br /&gt;
      &amp;lt;Size&amp;gt;9.0&amp;lt;/Size&amp;gt;&lt;br /&gt;
    &amp;lt;/LegendTextStyle&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleBar&amp;gt;true&amp;lt;/AddScaleBar&amp;gt;&lt;br /&gt;
    &amp;lt;AddScaleText&amp;gt;true&amp;lt;/AddScaleText&amp;gt;&lt;br /&gt;
    &amp;lt;AdditionalInformationText&amp;gt;OCAD ThematicMapper sample map&amp;lt;/AdditionalInformationText&amp;gt;&lt;br /&gt;
  &amp;lt;/File.CreateThematicMap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;File.Save&amp;gt;&lt;br /&gt;
    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
  &amp;lt;/File.Save&amp;gt; &lt;br /&gt;
&amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Partial Map==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:50em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| Export || File &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; coordSystem &amp;lt;br&amp;gt; L, R, B, T|| String &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Float||  eg.: ‚ c:\export\PartialMap1.ocd ‘ &amp;lt;br&amp;gt; OCAD creates files PartialMap1_#verticalPages_#horizontalPages.ocd &amp;lt;br&amp;gt; mm (paper, m (real world) &amp;lt;br&amp;gt; left, right, bottom, top&lt;br /&gt;
|-&lt;br /&gt;
| Export.loop || Enabled &amp;lt;br&amp;gt; HorizontalPages &amp;lt;br&amp;gt; VerticalPages &amp;lt;br&amp;gt; HorizontalOverlap &amp;lt;br&amp;gt; VerticalOverlap || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; number of pages in horizontal direction &amp;lt;br&amp;gt; number of pages in vertical direction &amp;lt;br&amp;gt; horizontal overlap in [mm] or [m] &amp;lt;br&amp;gt; vertical overlap in [mm] or [m]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
The following example exports parts of an ocad map. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
 &amp;lt;ocadScript&amp;gt;                                              // comment   &lt;br /&gt;
   &amp;lt;partialMapScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
     &amp;lt;export id=&amp;quot;0&amp;quot;&amp;gt;                                       // first export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap1.ocd&amp;lt;/file&amp;gt;              // export file&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;                       // paper oder real world coordinates&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;                                          // export rectangle with Top Left point and Bottom Right point &lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                              // the loop export several ocd files. For this example 21 files.&lt;br /&gt;
         &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalPages&amp;gt;7&amp;lt;/horizontalPages&amp;gt;              &lt;br /&gt;
         &amp;lt;verticalPages&amp;gt;3&amp;lt;/verticalPages&amp;gt;&lt;br /&gt;
         &amp;lt;horizontalOverlap&amp;gt;10&amp;lt;/horizontalOverlap&amp;gt;         // horizontal and vertical overlap. &lt;br /&gt;
         &amp;lt;verticalOverlap&amp;gt;10&amp;lt;/verticalOverlap&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;&lt;br /&gt;
     &amp;lt;/export&amp;gt;&lt;br /&gt;
                                              &lt;br /&gt;
     &amp;lt;export id=&amp;quot;1&amp;quot;&amp;gt;                                       // second export section&lt;br /&gt;
       &amp;lt;file&amp;gt;c:\export\PartialMap2.ocd&amp;lt;/file&amp;gt;&lt;br /&gt;
       &amp;lt;coordSystem&amp;gt;mm&amp;lt;/coordSystem&amp;gt;&lt;br /&gt;
       &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
       &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
       &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
       &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
       &amp;lt;loop&amp;gt;                                             // export only one ocd file&lt;br /&gt;
         &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br /&gt;
       &amp;lt;/loop&amp;gt;                                             &lt;br /&gt;
     &amp;lt;/export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;lt;/partialMapScript&amp;gt;&lt;br /&gt;
 &amp;lt;/ocadScript&amp;gt;&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==XML Script Print==&lt;br /&gt;
&lt;br /&gt;
Print parameters can be saved in a XML script.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Printer || Name &amp;lt;br&amp;gt; DmPaperSize &amp;lt;br&amp;gt; DmDefaultSource &amp;lt;br&amp;gt; DmPrintQuality &amp;lt;br&amp;gt; DmColor &amp;lt;br&amp;gt; DmMediaType || String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || Eg. ,HP Color LaserJet 2840 PCL&#039; &amp;lt;br&amp;gt; File-&amp;gt;Print-&amp;gt;Save XML Script-&amp;gt;Open the Script and depending on which printer was choosen, the informations are there.&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Portrait || Enabled || Bool || true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.SpotColor || Enabled &amp;lt;br&amp;gt; Colors|| Bool &amp;lt;br&amp;gt; String|| true, false &amp;lt;br&amp;gt; Name of the spot color(s)&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PartOfMap || Range &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Integer &amp;lt;br&amp;gt; Enum types&amp;lt;br&amp;gt; Float || 1 &amp;lt;br&amp;gt; mm (page), m (real world)  &amp;lt;br&amp;gt; Left, Right, Bottom, Top&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.HorizontalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.VerticalOverlap || &amp;amp;nbsp; || Float || &lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScale || &amp;amp;nbsp; || Integer || Eg. 25000&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Copies || &amp;amp;nbsp; || Integer || Number of copies&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.Intensity || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.LineWidth || &amp;amp;nbsp; || Integer || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| File.Print.PrintScreenGrid || Enabled &amp;lt;br&amp;gt; PrintScreenGridColor || Bool &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; Ocad color number&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==XML Script Export==&lt;br /&gt;
&lt;br /&gt;
Watch out for the file endings. &amp;lt;br&amp;gt; Resolution is only used if File.Export.GeoRef -&amp;gt; Enabled = false&lt;br /&gt;
&lt;br /&gt;
===AI (Adobe Illustrator), PDF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Integer|| eg.: ,c::\Export\Chlosterwald.ai‘ &amp;lt;br&amp;gt; AI, PDF &amp;lt;br&amp;gt; in dpi [40..2540] (only if the map has raster background maps) &amp;lt;br&amp;gt; eg. &#039;10000&#039; for the scale 1:10&#039;000&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors  || Combine &amp;lt;br&amp;gt; Enabled|| Bool &amp;lt;br&amp;gt; String|| true, false [only if Colors = spotColors] &amp;lt;br&amp;gt; Spotcolor name [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===BMP, GIF, JPEG, PNG===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Quality &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.bmp‘ &amp;lt;br&amp;gt; BMP, GIF, JPEG, PNG &amp;lt;br&amp;gt; only for JPEG, [0..100] &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt; L, R, B, T &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;|| true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &amp;lt;br&amp;gt; for rotated maps use here the coordinate of the upper left und lower right corner&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Boolean &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool || true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===EPS===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer|| eg.: ‚c:\Export\Chlosterwald.eps ‘ &amp;lt;br&amp;gt; EPS &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Enabled || Spotcolor name || [only if Colors = spotColors]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SVG (Scalable Vector Graphics)===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; CompressFile|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.svg ‘ &amp;lt;br&amp;gt; SVG &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===TIFF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:20em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; Resolution &amp;lt;br&amp;gt; Anti-Aliasing &amp;lt;br&amp;gt; ColorCorrection|| String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean|| eg.: ‚c:\Export\Chlosterwald.tif‘ &amp;lt;br&amp;gt; TIFF &amp;lt;br&amp;gt; in dpi [40..2540] &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.PartOfMap || Enabled &amp;lt;br&amp;gt; Coordinates &amp;lt;br&amp;gt;L, R, B, T || Bool &amp;lt;br&amp;gt; Enum types  &amp;lt;br&amp;gt; Float || true, false &amp;lt;br&amp;gt; mm (page), m (real world) &amp;lt;br&amp;gt;left, right, bottom, top &lt;br /&gt;
|-&lt;br /&gt;
|File.Export.Tiles || Enabled &amp;lt;br&amp;gt; Width &amp;lt;br&amp;gt; Height || Bool &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Integer || true, false &amp;lt;br&amp;gt; [only if Enabled = true] &amp;lt;br&amp;gt; [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export.GeoRef|| Enabled &amp;lt;br&amp;gt; PixelSize &amp;lt;br&amp;gt; CreateWorldFile || Bool &amp;lt;br&amp;gt; Float &amp;lt;br&amp;gt; Bool ||true, false &amp;lt;br&amp;gt; in meter [only if Enabled = true] &amp;lt;br&amp;gt; true, false [only if Enabled = true]&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || Colors || Enum types || normal, spotColors&lt;br /&gt;
|-&lt;br /&gt;
| File.Export.SpotColors || Combine&amp;lt;br&amp;gt;Enabled || Bool&amp;lt;br&amp;gt;Spotcolor name || true, false [only if Colors = spotColors]&amp;lt;br&amp;gt;[only if Colors = spotColors]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || ColorMode || Integer || 0 = 32 bit CMYK &amp;lt;br&amp;gt; 1 = 24 bit RGB &amp;lt;br&amp;gt; 2 = 256 colors &amp;lt;br&amp;gt; 3 = grayscale &amp;lt;br&amp;gt; 4 = 8 bit CMYK&amp;lt;br&amp;gt; 5 = 1 bit black/white &amp;lt;br&amp;gt; 6 = halftone screen [only if spotColor = true]&lt;br /&gt;
|-&lt;br /&gt;
|File.Export || Compression || Integer || 1 = no compression &amp;lt;br&amp;gt; 2 = CCITT [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 4 = FaxG4 [only used with ColorMode 5/6] &amp;lt;br&amp;gt; 5 = LZW&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===DXF===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:19em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export || File &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; ExportScale &amp;lt;br&amp;gt; ConvertAnsiToOem &amp;lt;br&amp;gt; ConvertOemToUnicode &amp;lt;br&amp;gt; ObjectsSelectedSymbols &amp;lt;br&amp;gt; AddSymbolDescription &amp;lt;br&amp;gt; UseCrtFileName &amp;lt;br&amp;gt; ExportAsSplines &amp;lt;br&amp;gt; Coordinates || String &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Enum types|| eg.: ‚c:\Export\Chlosterwald.dxf ‘ &amp;lt;br&amp;gt; DXF &amp;lt;br&amp;gt; e.g. &#039;10000&#039; for the scale 1:10&#039;000 &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; eg.: ‚c:\CRT\Chlosterwald.ocdCrt‘ &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; m, mm&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Shape===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:13em&amp;quot; | Node &amp;lt;OcadScript&amp;gt; &lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | Parameter &lt;br /&gt;
! style=&amp;quot;width:8em&amp;quot; | Data type &lt;br /&gt;
! style=&amp;quot;width:25em&amp;quot; | Values / Description&lt;br /&gt;
|-&lt;br /&gt;
| File.Export &lt;br /&gt;
|| ExportPath &amp;lt;br&amp;gt; File &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Format &amp;lt;br&amp;gt; PointObjects&amp;lt;br&amp;gt;LineObjects&amp;lt;br&amp;gt;AreaObjects&amp;lt;br&amp;gt;TextObjects&amp;lt;br&amp;gt;EnvelopePolygonFromTextObjects&amp;lt;br&amp;gt; Dataset &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; WordWrap &amp;lt;br&amp;gt; ProjectionFile &amp;lt;br&amp;gt; Utf8Encoding&lt;br /&gt;
|| String &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; Enum types &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; String &amp;lt;br&amp;gt; Integer &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean &amp;lt;br&amp;gt; Boolean&lt;br /&gt;
||  eg.: ‚c:\Export‘ (only path name) &amp;lt;br&amp;gt; eg.: ‚c:\Export\test.shp‘ (using ExportPath  OR File, not both) &amp;lt;br&amp;gt; SHAPE &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; all for all databases &amp;lt;br&amp;gt; 1, 2, 3, ... for only one database  &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false &amp;lt;br&amp;gt; true, false&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
The following example exports two pdf files in spot colors and two Shape files. Each OcadScript node can contain many &lt;br /&gt;
children.&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;OcadScript&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Open&amp;gt;&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\Chlosterwald.ocd&amp;lt;/File&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Open&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                    //PDF export&lt;br /&gt;
      &amp;lt;File&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\Chlosterwald.pdf&amp;lt;/File&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;PDF&amp;lt;/Format&amp;gt; &lt;br /&gt;
      &amp;lt;PartOfMap&amp;gt;	&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Coordinates&amp;gt;mm&amp;lt;/Coordinates&amp;gt;&lt;br /&gt;
        &amp;lt;L&amp;gt;0&amp;lt;/L&amp;gt;&lt;br /&gt;
        &amp;lt;R&amp;gt;50&amp;lt;/R&amp;gt;&lt;br /&gt;
        &amp;amp;#60;B&amp;amp;#62;50&amp;amp;#60;/B&amp;amp;#62;&lt;br /&gt;
        &amp;lt;T&amp;gt;100&amp;lt;/T&amp;gt;&lt;br /&gt;
      &amp;lt;/PartOfMap&amp;gt;	&lt;br /&gt;
      &amp;lt;ExportScale&amp;gt;10000&amp;lt;/ExportScale&amp;gt;&lt;br /&gt;
      &amp;lt;Colors&amp;gt;spotColors&amp;lt;/Colors&amp;gt; &lt;br /&gt;
      &amp;lt;SpotColors&amp;gt; &lt;br /&gt;
        &amp;lt;Combine&amp;gt;false&amp;lt;/Combine&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Blau&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
        &amp;lt;Enabled&amp;gt;Gelb&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
      &amp;lt;/SpotColors&amp;gt; &lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;File.Export&amp;gt;                                                                   //Shape export&lt;br /&gt;
      &amp;lt;ExportPath&amp;gt;M:\OCAD2018\Changes\11-06xx\11-0663\output\&amp;lt;/ExportPath&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;SHAPE&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;PointObjects&amp;gt;false&amp;lt;/PointObjects&amp;gt;&lt;br /&gt;
      &amp;lt;LineObjects&amp;gt;true&amp;lt;/LineObjects&amp;gt;&lt;br /&gt;
      &amp;lt;AreaObjects&amp;gt;true&amp;lt;/AreaObjects&amp;gt;&lt;br /&gt;
      &amp;lt;TextObjects&amp;gt;false&amp;lt;/TextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;EnvelopePolygonFromTextObjects&amp;gt;false&amp;lt;/EnvelopePolygonFromTextObjects&amp;gt;&lt;br /&gt;
      &amp;lt;Dataset&amp;gt;all&amp;lt;/Dataset&amp;gt;&lt;br /&gt;
      &amp;lt;WordWrap&amp;gt;true&amp;lt;/WordWrap&amp;gt;&lt;br /&gt;
      &amp;lt;ProjectionFile&amp;gt;false&amp;lt;/ProjectionFile&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Export&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Save&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Save&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;lt;File.Close&amp;gt;&lt;br /&gt;
      &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;br /&gt;
    &amp;lt;/File.Close&amp;gt;&lt;br /&gt;
  &amp;lt;/OcadScript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Run XML Script from the Command Line==&lt;br /&gt;
&lt;br /&gt;
It is possible to execute a XML script file from the command line or from batch file.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the xml script file.&lt;br /&gt;
For example: &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;C:\Data\ExportScriptExample_PDF.xml&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Do not forget to use the parameter &amp;lt;File.Open&amp;gt; to open the file, &amp;lt;File.Close&amp;gt; to close it and &amp;lt;File.Exit&amp;gt; to close OCAD.&lt;br /&gt;
==Open ocd File from the Command Line==&lt;br /&gt;
It is possible to open an ocd file from the command line with optional view parameters.&lt;br /&gt;
&lt;br /&gt;
Open the Windows command and enter the OCAD program name and the ocd file name. &lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; &amp;quot;M:\Data\Map.ocd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Additional OCAD supports the following optional view parameters to open an map at desired postion and view scale.&lt;br /&gt;
&lt;br /&gt;
  -c: center for view &lt;br /&gt;
  -s: view scale&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
  &amp;quot;C:\Program Files\OCAD\OCAD 2018\Ocad2018.exe&amp;quot; -c 710000,231000 -s 2500 &amp;quot;M:\Data\Map.ocd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[Main Page]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Course_Setting_Options&amp;diff=12744</id>
		<title>Course Setting Options</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Course_Setting_Options&amp;diff=12744"/>
		<updated>2021-01-28T17:54:38Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* White Outline on Control Number */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Course Setting]][[File:Pro40px.PNG|This function is available in OCAD Professional.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(This function is only available in course setting projects!)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Choose the &#039;&#039;&#039;Options&#039;&#039;&#039; command from the &#039;&#039;&#039;Course Setting&#039;&#039;&#039; menu to display the &#039;&#039;&#039;Course Options&#039;&#039;&#039; dialog box.&lt;br /&gt;
&lt;br /&gt;
[[File:CourseOptions.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Titles===&lt;br /&gt;
====Event Title====&lt;br /&gt;
Enter the name of the event. The event title appears on top of the control description.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Course Title====&lt;br /&gt;
Choose wheter the &#039;&#039;&#039;[[Add_Course_Setting_Objects#Add_a_Course_Title|Course Title]]&#039;&#039;&#039; shall be displayed with the &#039;&#039;&#039;[[Create a New Class|Classes]]&#039;&#039;&#039;, the &#039;&#039;&#039;[[Create a New Course|Course Name]] and [[Create a New Class|Classes]]&#039;&#039;&#039; or the &#039;&#039;&#039;[[Create a New Course|Course Name]] only&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:CourseTitleHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Controls===&lt;br /&gt;
====Numbering====&lt;br /&gt;
Choose wheter the controls shall be numbered with the &#039;&#039;&#039;Number&#039;&#039;&#039;, the &#039;&#039;&#039;Number and Code&#039;&#039;&#039; or the &#039;&#039;&#039;Code only&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:NumberingHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
====Distance from Circle to Number====&lt;br /&gt;
Enter the default distance from the control circle to the number in mm.&lt;br /&gt;
&lt;br /&gt;
[[File:DistanceFromCircleToNumberHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
====Full Stop Behind Control Number====&lt;br /&gt;
Check this option if a full stop shall be placed behind each control number.&lt;br /&gt;
&lt;br /&gt;
[[File:FullStopHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
==== White Outline on Control Number====&lt;br /&gt;
This function is only available for ISSOM 2007, ISOM 2017 and ISSprOM 2019 course setting projects.&lt;br /&gt;
Activate this funktion to add white background to your control numbers for better visability. &lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]]Be careful not to cover any important map information with the white background.&lt;br /&gt;
&lt;br /&gt;
[[File:WhiteOutlineControlNumber.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Connection Lines===&lt;br /&gt;
Define a distance from the circle to the connection line in this field.&lt;br /&gt;
&lt;br /&gt;
[[File:DistanceFromCircleHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Control Description===&lt;br /&gt;
====Thicker Horizontal Line====&lt;br /&gt;
Choose between a thicker horizontal line in the &#039;&#039;&#039;[[Edit_Course_Setting_Objects#IOF_Symbol_Control_Description|IOF Symbol Control Description]]&#039;&#039;&#039; every third or every fourth line or not at all.&lt;br /&gt;
&lt;br /&gt;
[[File:ThickerHorizontalLineHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
====Maximum Length====&lt;br /&gt;
Define the maximum length of the control description in rows in this field.&lt;br /&gt;
&lt;br /&gt;
[[File:MaximumLengthHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
====Number of Start====&lt;br /&gt;
Check this option so that the number of the start appears in the control description.&lt;br /&gt;
&lt;br /&gt;
[[File:NumberOfStartHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Control Description on the Map===&lt;br /&gt;
====Box Size====&lt;br /&gt;
Define the size of a box in the control description in this field. Click the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the value to &#039;&#039;&#039;6.00 mm&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:BoxSizeHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg|Hint]] [http://orienteering.org/wp-content/uploads/2010/12/IOF-Control-Descriptions-20041.pdf IOF International Specification for Control Description 2004]: The description sheet boxes should be between 5mm and 7mm.&lt;br /&gt;
&lt;br /&gt;
====White Background====&lt;br /&gt;
Check this option to get a white background behind the control description on the map.&lt;br /&gt;
&lt;br /&gt;
[[File:WhiteBackgroundHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
Check the &#039;&#039;&#039;Draw white background even in draft mode&#039;&#039;&#039; option to show the control description with white background also in draft mode. Use this option if you prefer to print your maps in draft mode.&lt;br /&gt;
&lt;br /&gt;
Activate the option, switch to draft mode and move both draft mode sliders in the View toolbar to the right position. [[File:DraftModeSliders.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:ControlDescriptionBlockout.png]]&lt;br /&gt;
&lt;br /&gt;
Select a course and click the &#039;&#039;&#039;Preview&#039;&#039;&#039; button. The course overprint now is transparent, but the white background of the control description is opaque and blocks out the orienteering map.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OCAD does not block out only the control description. Furthermore, OCAD blocks out all objects drawn with this opaque color used in the symbol &#039;&#039;&#039;760.00 White background&#039;&#039;&#039;. By default it is the color number &#039;&#039;&#039;203 White background.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;: If you also like a framing of the control numbers in draft mode, select the symbol &#039;&#039;&#039;703.000 Course: Control number&#039;&#039;&#039;, edit the symbol and change the color from &#039;&#039;&#039;204 Purple transparent&#039;&#039;&#039; to &#039;&#039;&#039;202 Purple&#039;&#039;&#039;. Click on the Framing tab, enter the new &#039;&#039;&#039;Line width&#039;&#039;&#039; (0.2mm) and change the &#039;&#039;&#039;Framing color&#039;&#039;&#039; to the opaque color &#039;&#039;&#039;203 White background.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close this dialog. The control numbers have now a white framing.&lt;br /&gt;
&lt;br /&gt;
[[File:ControlNumberFraming.png|600px]]&lt;br /&gt;
&lt;br /&gt;
====Add Control Descriptions for All Controls====&lt;br /&gt;
Check this option to add the control description on the &#039;&#039;&#039;All Controls&#039;&#039;&#039; map, too.&lt;br /&gt;
&lt;br /&gt;
[[File:AddControlDescriptionHelp.PNG]]&lt;br /&gt;
&lt;br /&gt;
===XML Export===&lt;br /&gt;
Activate this check box to export the relay variation within the XML export, too. This is an extension of the IOF specification.&lt;br /&gt;
&lt;br /&gt;
===Continuous Numbering===&lt;br /&gt;
If the option is set, the numbering for one-man relay will be continuous on the maps for the 2nd and 3rd loop.&lt;br /&gt;
&lt;br /&gt;
[[File:CsOptionsOneManRelayContinuousNumberingExample.png|800px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to the &#039;&#039;&#039;[[Course Setting for Orienteering]]&#039;&#039;&#039; page.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_TRIAL&amp;diff=12734</id>
		<title>OCAD TRIAL</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_TRIAL&amp;diff=12734"/>
		<updated>2021-01-19T14:42:25Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Start OCAD Trial */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OCADTrial.jpg]]&lt;br /&gt;
&lt;br /&gt;
OCAD can be downloaded as a free 14-day trial version. &lt;br /&gt;
==Register==&lt;br /&gt;
Please register for OCAD Trial on our website [https://www.ocad.com/en/trial/ https://www.ocad.com/en/trial/].&lt;br /&gt;
&lt;br /&gt;
[[File:Trial1.png]]&lt;br /&gt;
&lt;br /&gt;
You can choose which &#039;&#039;&#039;[https://www.ocad.com/en/#editions OCAD Edition]&#039;&#039;&#039; you want to test. You can test all editions if you like.&amp;lt;br&amp;gt;&lt;br /&gt;
The trial version contains the same functions as the full version with a few limitations.&lt;br /&gt;
&lt;br /&gt;
An email with the license data and download link will be send by email.&lt;br /&gt;
==Download and Installation==&lt;br /&gt;
Download, &#039;&#039;&#039;[[Installation|Install]]&#039;&#039;&#039; and &#039;&#039;&#039;[[Activation/Reactivation|Activate]]&#039;&#039;&#039; OCAD Trial.&lt;br /&gt;
&lt;br /&gt;
==Start OCAD Trial==&lt;br /&gt;
The next time you start OCAD, you will see a dialogue:&lt;br /&gt;
&lt;br /&gt;
===Continue to use the Trial Version===&lt;br /&gt;
Choose this option if you like to continue working with OCAD Trial. You see how many days are left from your Trial.&lt;br /&gt;
&lt;br /&gt;
[[File:Trial2.png]]&lt;br /&gt;
&lt;br /&gt;
===Buy an OCAD subscription license===&lt;br /&gt;
Fill out this form and buy an OCAD subscription license.&lt;br /&gt;
&lt;br /&gt;
[[File:Trial3.png]]&lt;br /&gt;
&lt;br /&gt;
===Enter the license data for the OCAD subscription license===&lt;br /&gt;
After you have bought an OCAD subscription license, you can enter your license data here. Your Trial version will be converted to an OCAD full license.&lt;br /&gt;
&lt;br /&gt;
[[File:Trial4.png]]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=MapAnt&amp;diff=12723</id>
		<title>MapAnt</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=MapAnt&amp;diff=12723"/>
		<updated>2021-01-11T10:20:52Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* How was MapAnt created? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:MapAnt.png]]&lt;br /&gt;
&lt;br /&gt;
==What is MapAnt Switzerland==&lt;br /&gt;
&#039;&#039;&#039;[https://www.mapant.ch MapAnt Switzerland]&#039;&#039;&#039; is an automatically generated orienteering map, which should cover the whole of Switzerland in the near future. As a pilot project, the region of northwestern Switzerland was calculated.&lt;br /&gt;
&lt;br /&gt;
To map all parts of Switzerland, we depend on free and freely available LiDAR data, which are not yet available in all cantons. However, this should be the case in near future.&lt;br /&gt;
&lt;br /&gt;
==How was MapAnt created?==&lt;br /&gt;
The map tiles for MapAnt were created with OCAD.&lt;br /&gt;
&lt;br /&gt;
Large amounts of LiDAR data were imported via &#039;&#039;&#039;[[XML_Script_Lidar_and_DTM_Import|XML script]]&#039;&#039;&#039; to derive contour lines and a vegetation map.&lt;br /&gt;
&lt;br /&gt;
Also, data from the official cadastral survey were imported and converted into OCAD symbols.&lt;br /&gt;
&lt;br /&gt;
Afterwards, WMTS tiles were exported in OCAD using &#039;&#039;&#039;[[XML_Script_WMTS_Export|XML Script]]&#039;&#039;&#039; and made available on the web with &#039;&#039;&#039;[https://leafletjs.com/ leaflet]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
MapAnt Switzerland covers both urban and non-urban terrain. During the creation of the map, both types of terrain were taken into account. &lt;br /&gt;
Thus it was decided not to derive the cliffs from the slope gradient and to use the cliffs of the official cadastral survey instead, &lt;br /&gt;
because the first method would have caused problems in urban areas due to the many retaining walls.&lt;br /&gt;
&lt;br /&gt;
==Origin of the data==&lt;br /&gt;
The data were obtained from the individual cantons.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! style=&amp;quot;width:200px; text-align:left;&amp;quot;| Canton&lt;br /&gt;
! style=&amp;quot;width:200px; text-align:center;&amp;quot;|Cadastral survey data&lt;br /&gt;
! style=&amp;quot;width:200px; text-align:center;&amp;quot;|LiDAR data / year&lt;br /&gt;
|-&lt;br /&gt;
|Solothurn&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes / 2018&lt;br /&gt;
|-&lt;br /&gt;
|Basel-Land&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes / 2018&lt;br /&gt;
|-&lt;br /&gt;
|Basel-Stadt&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|No&lt;br /&gt;
|-&lt;br /&gt;
|Aargau&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|Yes &lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|No&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data source===&lt;br /&gt;
* Amtliche Vermessung (OpenData) (Amtliche Vermessung Schweiz): [https://map.geo.admin.ch/?lang=de&amp;amp;topic=ech&amp;amp;bgLayer=ch.swisstopo.pixelkarte-farbe&amp;amp;layers=ch.swisstopo.zeitreihen,ch.bfs.gebaeude_wohnungs_register,ch.bav.haltestellen-oev,ch.swisstopo.swisstlm3d-wanderwege,ch.swisstopo-vd.amtliche-vermessung&amp;amp;layers_visibility=false,false,false,false,true&amp;amp;layers_timestamp=18641231,,,,&amp;amp;layers_opacity=1,1,1,0.8,1 Link Swisstopo]&lt;br /&gt;
* Lidar data: [https://geoweb.so.ch/geodaten/index.php?action=home&amp;amp;UID=&amp;amp;USR=&amp;amp;user_id=&amp;amp;lang=de&amp;amp;aktuell=&amp;amp;sogis_zip_ie= Link Geodaten Kanton Solothurn]&lt;br /&gt;
&lt;br /&gt;
==How to use MapAnt?==&lt;br /&gt;
MapAnt can animate to discover new areas, you can load it as a background map for mapping or print parts of it for training.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|15px]]For the latter, it is always necessary to clarify with the cantons and associations regarding forest use, private property, nature reserves, etc.&lt;br /&gt;
&lt;br /&gt;
MapAnt kann zum entdecken neuer Gebiete animieren, man kann es als Hintergrundkarte zum kartieren laden oder Teile davon für Trainings ausdrucken.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Achtung.PNG|15px]]Bei letzterem müssen immer zwingend Abklärungen bei Kantone und Vereine bezüglich Waldnutzung, Privatbsitz, Naturschutzgebiete, Wildruhezonen, ect. gemacht werden.&lt;br /&gt;
&lt;br /&gt;
==Credits==&lt;br /&gt;
MapAnt Switzerland was supported by [https://www.goennerclub.ch/ OL Gönnerclub] and [http://rolv-nws.ch/ ROLV NWS].&amp;lt;br&amp;gt;&lt;br /&gt;
Also, MapAnt Switzerland was inspired by various similar projects worldwide, most notably [https://www.mapant.fi MapAnt Finland] and [https://mapant.no/ MapAnt Norway].&amp;lt;br&amp;gt; Thanks for the idea and willingness to share knowledge.&lt;br /&gt;
&lt;br /&gt;
==Imprint==&lt;br /&gt;
OCAD AG&amp;lt;BR&amp;gt;&lt;br /&gt;
Mühlegasse 36&amp;lt;BR&amp;gt;&lt;br /&gt;
CH-6340 Baar / Switzerland&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E-Mail: info@ocad.com&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Persons authorized to represent the company&amp;lt;BR&amp;gt;&lt;br /&gt;
Thomas Gloor, Delegate of the Board of Directors&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Central Business Name&amp;lt;BR&amp;gt;&lt;br /&gt;
Business name: OCAD AG&amp;lt;BR&amp;gt;&lt;br /&gt;
UID: CHE-112.351.352&amp;lt;BR&amp;gt;&lt;br /&gt;
Commercial Registry Office: Baar&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
VAT Number: CHE-112.351.352&amp;lt;BR&amp;gt;&lt;br /&gt;
VAT number EU: EU276001468&amp;lt;BR&amp;gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12682</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12682"/>
		<updated>2020-12-28T09:47:58Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Ghostscript File Path */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose (...)&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePathNew.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=File:GhostscriptFilePathNew.png&amp;diff=12681</id>
		<title>File:GhostscriptFilePathNew.png</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=File:GhostscriptFilePathNew.png&amp;diff=12681"/>
		<updated>2020-12-28T09:17:31Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12680</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12680"/>
		<updated>2020-12-28T09:17:18Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Ghostscript File Path */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePathNew.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12679</id>
		<title>OCAD Preferences</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=OCAD_Preferences&amp;diff=12679"/>
		<updated>2020-12-28T09:16:37Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Ghostscript File Path */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Some preferences are not available in the &#039;&#039;&#039;OCAD Starter&#039;&#039;&#039; and &#039;&#039;&#039;OCAD Course Setting&#039;&#039;&#039; editions.&#039;&#039;&lt;br /&gt;
==GUI (Graphical User Interface)==&lt;br /&gt;
===Right click in drawing area opens context menu===&lt;br /&gt;
If enabled, the context menu is shown by clicking on the drawing area with the right mouse button.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ContextMenu.png]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeToStraightLineMode.gif]]&lt;br /&gt;
&lt;br /&gt;
In the upper part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039;, the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]] mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
In the lower part of the &#039;&#039;&#039;Context&#039;&#039;&#039; menu, you can change the view either with the [[File:Icon Pan.PNG]] &#039;&#039;&#039;[[View#Pan|Pan]]&#039;&#039;&#039;, [[File:Icon ZoomIn.PNG]] &#039;&#039;&#039;[[View#Zoom_In|Zoom In]]&#039;&#039;&#039;, [[File:Icon ZoomOut.PNG]] &#039;&#039;&#039;[[View#Zoom_Out|Zoom Out]]&#039;&#039;&#039; or the [[File:Icon ShowEntireMap.PNG]] &#039;&#039;&#039;[[View#Show_Entire_Map|Show Entire Map]]&#039;&#039;&#039; tool.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If disabled, you can switch between the current &#039;&#039;&#039;[[Drawing_an_Object|Drawing Mode]]&#039;&#039;&#039; and the [[File:Icon SelectObjectAndEditVertex.PNG]] &#039;&#039;&#039;[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]&#039;&#039;&#039; mode by clicking on the drawing area with the right mouse button.&lt;br /&gt;
&lt;br /&gt;
=== Right mouse click change between drawing and editing ===&lt;br /&gt;
This option is only activated if the &#039;&#039;&#039;Context menu in drawing area&#039;&#039;&#039; option is deactivated.&lt;br /&gt;
&lt;br /&gt;
We recommend to deactivate this option when drawing on a tablet with a pen. In this case OCAD ignores the right click during drawing.&lt;br /&gt;
&lt;br /&gt;
===Wider splitter between drawing area and symbol box===&lt;br /&gt;
If this option is enabled, the splitter between the symbol box and the drawing area appears wider as usual. This feature may improve the user-friendliness.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:WiderSplitter.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Toolbars===&lt;br /&gt;
Show or Hide the following toolbars in this field:&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Editing_and_Drawing_Toolbar|Editing and Drawing Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Edit_Functions_Toolbar|Edit Functions Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Mobile_Toolbar|Mobile Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Numeric_Keypad_Toolbar|Numeric Keypad Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#Standard_Toolbar|Standard Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[Graphical_User_Interface#View_Toolbar|View Toolbar]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Reset&#039;&#039;&#039; button to reset the toolbar positions to the default settings. Please restart OCAD for the changes to take effect. This function is sometimes used if an undocked toolbar outside the screen.&lt;br /&gt;
 &lt;br /&gt;
Click the &#039;&#039;&#039;Customize&#039;&#039;&#039; button to add or remove icons to/from the toolbars.&lt;br /&gt;
&lt;br /&gt;
===Status bar===&lt;br /&gt;
Choose the format of the coordinates appearing in the [[Graphical_User_Interface#Status_Bar|Status Bar]] in this box.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:StatusBarSettings.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Style===&lt;br /&gt;
Change the virtual appearance of the GUI by choosing one in the dropdown list.&lt;br /&gt;
&lt;br /&gt;
===Reset docking panels===&lt;br /&gt;
Reset the docking panels (symbol box, GPS box and database box). OCAD restart needed to take effect.&lt;br /&gt;
&lt;br /&gt;
Use this function if the symbol box is hidden.&lt;br /&gt;
&lt;br /&gt;
==File==&lt;br /&gt;
=== Auto file load when opening OCAD ===&lt;br /&gt;
Check this box to load the last map you worked on automatically when OCAD is started. Otherwise no map will be loaded.&lt;br /&gt;
===Create ocd file association===&lt;br /&gt;
Click this button to associate the running OCAD edition with .ocd files. &lt;br /&gt;
OCAD must run as administrator to execute this function (change file association in Windows Registry).&lt;br /&gt;
&lt;br /&gt;
[[File:Create ocd file association.png]]&lt;br /&gt;
&lt;br /&gt;
Confirm to run as administrator.&lt;br /&gt;
&lt;br /&gt;
[[File:CreateOcdFileAssociation2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, go to &#039;&#039;&#039;Settings&amp;gt;Apps&amp;gt;Default apps&#039;&#039;&#039; and &#039;&#039;&#039;Chosse default apps by file type&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Normally, default file type for .ocd files is set during installation. However, if you run OCAD in the Cloud, the default file type is not set.&lt;br /&gt;
&lt;br /&gt;
=== Clear file history ===&lt;br /&gt;
Click this button to clear the file history from [[File#Open_Recently_Exported_Documents|Recently Exported Documents]] and [[File#Open_Recently_Used_OCAD_Files|Recently Used OCAD Files]]. &lt;br /&gt;
If a drive from the file history files does not exist anymore, e.g. disconnected network drives, it may needs more time to open the [[File| File menu]]. This function solves the problem.&lt;br /&gt;
&lt;br /&gt;
=== Temporary OCAD Folder ===&lt;br /&gt;
While working on an open file OCAD is saving all changes to temporary file(s) in a tmp folder. This folder can be changed here. By default it is C:\Users\[USERNAME]\AppData\Roaming\OCAD\tmp.&lt;br /&gt;
&lt;br /&gt;
OCAD saves the WMS images in this folder.&lt;br /&gt;
&lt;br /&gt;
=== Ghostscript File Path ===&lt;br /&gt;
OCAD using Ghostscript to converting a pdf background map to a jpg file when [[Background_Map#Open_a_Background_Map|opening the pdf file]]. &lt;br /&gt;
&lt;br /&gt;
[http://www.ghostscript.com/download/gsdnld.html Download] and install Ghostscript. &lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set the file path of the Ghostscript exe file (e.g. &#039;&#039;C:\Program Files (x86)\gs\gs9.08\bin\gswin32.exe&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[File:GhostscriptFilePath.png]]&lt;br /&gt;
&lt;br /&gt;
===Auto-backup===&lt;br /&gt;
Activate the checkbox &#039;&#039;&#039;Create auto-backup when opening OCAD file&#039;&#039;&#039; and every time you open an .ocd-file, OCAD will save a backup of this file. You can also create a backup manually by using the [[Create_Backup|&#039;&#039;&#039;Create Backup&#039;&#039;&#039;]] funktion in the &#039;&#039;&#039;File&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Choose&#039;&#039;&#039; button to set a file path for the auto-backup.&amp;lt;br&amp;gt;&lt;br /&gt;
Activate &#039;&#039;&#039;Compress file&#039;&#039;&#039; to save disk space.&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] Remember to clean out the auto-backup directory from time to time.&lt;br /&gt;
&lt;br /&gt;
[[File:Auto-backup.png]]&lt;br /&gt;
===Default coordinate system===&lt;br /&gt;
&lt;br /&gt;
Set here the default coordinate system for your template files. &lt;br /&gt;
&lt;br /&gt;
[[File:DefaultCoordinateSystem.png]]&lt;br /&gt;
&lt;br /&gt;
==View==&lt;br /&gt;
===User defined zoom in menu item===&lt;br /&gt;
Enter a value to specify the [[View#User_Defined|User Defined Zoom]]. Choose &#039;&#039;&#039;User Defined&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to apply the specified zoom to the map.&lt;br /&gt;
&lt;br /&gt;
===View mode loop===&lt;br /&gt;
With the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; tool you can easily switch between different view modes. Select the view modes you want to switch between in the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; box in the &#039;&#039;&#039;View&#039;&#039;&#039; category of &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
To use the &#039;&#039;&#039;View mode loop&#039;&#039;&#039; you have to define a &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039; for &#039;&#039;&#039;View - View Mode Loop&#039;&#039;&#039;. Afterwards you can switch between the set view modes using the &#039;&#039;&#039;[[Shortcuts|Shortcut]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Visit the &#039;&#039;&#039;[[View Mode#View Mode Loop|View Mode Loop]]&#039;&#039;&#039; article to get more information about this function.&lt;br /&gt;
&lt;br /&gt;
===Color Correction===&lt;br /&gt;
On some monitors colors and gamma of the map are not displayed correctly. Use the controller to regulate the color and gamma manually. Click on the &#039;&#039;&#039;Standard&#039;&#039;&#039; button to set the &#039;&#039;&#039;Color Correction&#039;&#039;&#039; back to default.&lt;br /&gt;
&lt;br /&gt;
===Redraw background automatically===&lt;br /&gt;
If this option is enabled, the map is redrawn after every single modification of the map (This may reduce the performance of OCAD). Otherwise you have to press the &#039;&#039;&#039;F5&#039;&#039;&#039; key or select &#039;&#039;&#039;Redraw&#039;&#039;&#039; in the &#039;&#039;&#039;View&#039;&#039;&#039; menu to redraw the map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:RedrawBackgroundAutomatically.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Faster text rendering===&lt;br /&gt;
Enable the &#039;&#039;&#039;Faster text rendering&#039;&#039;&#039; option to render text faster and less precisely. This may increase the performance of OCAD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FasterTextRendering.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Screen Grid===&lt;br /&gt;
[[File:OCADPreferencesScreenGrid.PNG]]&lt;br /&gt;
&lt;br /&gt;
In this section of the &#039;&#039;&#039;OCAD Preferences&#039;&#039;&#039; the color and the appearance of the &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can be changed. &lt;br /&gt;
&lt;br /&gt;
Change the &#039;&#039;&#039;Color&#039;&#039;&#039; by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&lt;br /&gt;
&lt;br /&gt;
Click the &#039;&#039;&#039;Default&#039;&#039;&#039; button to reload the default gray color.&lt;br /&gt;
&lt;br /&gt;
Choose a &#039;&#039;&#039;Style&#039;&#039;&#039; from the dropdown menu. The &#039;&#039;&#039;[[View#Show Screen Grid|Screen Grid]]&#039;&#039;&#039; can either be &#039;&#039;&#039;Solid&#039;&#039;&#039;, &#039;&#039;&#039;Dashed&#039;&#039;&#039; or &#039;&#039;&#039;Dotted&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Select==&lt;br /&gt;
You can choose between two modes to select multiple objects: &lt;br /&gt;
* All objects must be with at least one vertex in the selection.&lt;br /&gt;
* All objects must be completely in the selection.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:OCADPreferences Select.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more information about selecting multiple objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Multiple Objects|Select and Edit Multiple Objects]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Object==&lt;br /&gt;
===Object stretching===&lt;br /&gt;
If this option is activated, you are able to stretch objects in the [[File:Icon SelectAndEditObject.PNG]] &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039; mode.&amp;lt;br /&amp;gt;&lt;br /&gt;
You can find more about stretching objects on this page: &#039;&#039;&#039;[[Select#Select and Edit Object|Select and Edit Object]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Unsymbolized objects===&lt;br /&gt;
Choose a color for [[Unsymbolized Objects]] by clicking on the &#039;&#039;&#039;Setup&#039;&#039;&#039; [[File:Icon_Setup.PNG]] icon. The &#039;&#039;&#039;Color Picker&#039;&#039;&#039; dialog appears and you can configure the color.&lt;br /&gt;
&lt;br /&gt;
==Drawing and Editing==&lt;br /&gt;
&lt;br /&gt;
===Drawing Bézier curves===&lt;br /&gt;
Choose the preferred mode for drawing curves. &lt;br /&gt;
*In OCAD mode, only the direction of a dragged tangent is used. The distance from the normal vertices to the curve vertices is calculated automatically. This is the recommended mode.&lt;br /&gt;
*In Illustrator mode, the length of the dragged tangent is used to calculate the distance of the curve vertex.&lt;br /&gt;
&lt;br /&gt;
[[File:OCADPreferences Bezier.gif]]&lt;br /&gt;
&lt;br /&gt;
You can find more about drawing curves on the following page: &#039;&#039;&#039;[[Drawing an Object#Draw a Curve|Draw a Curve]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Curve mode: Change to straight line mode when clicking in drawing area ===&lt;br /&gt;
Check this box to draw straight lines also in curve mode. See more in &#039;&#039;&#039;[[Drawing_an_Object#Change_to_Straight_Line_Mode|Change to Straight Line Mode]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Convert freehand to curve when drawing===&lt;br /&gt;
Check this box to convert lines and areas to curves when drawing in freehand mode. Otherwise they remain as polygons. The settings made in the &#039;&#039;&#039;Smooth when drawing freehand&#039;&#039;&#039; dropdown list of the &#039;&#039;&#039;Tolerances&#039;&#039;&#039; field determine the smoothing level.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Freehand_To_Curve.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Close area objects when drawing===&lt;br /&gt;
OCAD closes area objects automatically if this option is checked. If the start and end point are different, OCAD adds an end point with the same position as the start point.&lt;br /&gt;
&lt;br /&gt;
Choose [[Topology#Close_Area_Objects|&#039;&#039;&#039;Close Area Objects&#039;&#039;&#039;]] in the &#039;&#039;&#039;Topology&#039;&#039;&#039; part of the &#039;&#039;&#039;Object&#039;&#039;&#039; menu to close already drawn area objects.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Close_Area_Objects_When_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Move closed start and end points of line and area objects together===&lt;br /&gt;
When this option is switched on, and the start and end points of a line or area object coincide (the line is closed), they are moved together during editing. If you move the start point, then the end point will also move.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:OCADPreferences MoveEndPoints.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Move line and area segments===&lt;br /&gt;
Activate this option to be able to move line and area segments.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:MoveSegments.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Join affects all line symbols in symbol group ===&lt;br /&gt;
When this option is switched on, OCAD [[Topology#Join|joins]] the ends of selected line objects that are in the same [[Symbol_Box#Symbol_Tree|symbol group]] (symbol tree). If deactivated, OCAD only joins if the line objects have the same symbol.&lt;br /&gt;
&lt;br /&gt;
The option affects the [[File:Icon_Join.PNG]] [[Topology#Join|Join function]] and [[File:Icon_AutomaticJoining.PNG]] [[Topology#Automatic_Joining|Automatic Joining]] during drawing.&lt;br /&gt;
&lt;br /&gt;
===Following existing objects===&lt;br /&gt;
Uncheck the &#039;&#039;&#039;Side lines of double lines&#039;&#039;&#039; option if side lines of double lines should not be traced when you are following existing lines. You can find more about this topic on the &#039;&#039;&#039;[[Drawing an Object#Following Existing Objects|Following Existing Objects]]&#039;&#039;&#039; page.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Side_Lines_Of_Double_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tolerances===&lt;br /&gt;
*&#039;&#039;&#039;Select objects:&#039;&#039;&#039; This tolerance defines the maximum distance on each side of a thin line where you can click to select it. Objects with a thicker main line than the tolerance level can be selected by clicking on the entire line width. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Hint.jpg]] This tolerance is further used in multiple tools like &#039;&#039;&#039;[[Cut#Cut_Line|Cut lines]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Cut#Cut_Area|Cut areas]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Drawing_an_Object#Following_Existing_Objects|Following existing objects]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Reshape|Reshape]]&#039;&#039;&#039;, &#039;&#039;&#039;[[Vertices|Add Vertex, Remove Vertex, Change Vertex Type]]&#039;&#039;&#039;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Snapping:&#039;&#039;&#039; If you activate the &#039;&#039;&#039;[[Snapping]]&#039;&#039;&#039; tool, moving a vertex close to an objects has a snapping effect. This tolerance defines the maximum distance you have to approach to the object, so that the vertex snaps to it. The default value is 5 pixels.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Join when drawing lines:&#039;&#039;&#039; This tolerance defines the maximum distance a vertex has to approach to another line end to [[Topology#Join|join]] it. The default value is 0.25 mm. If the line width is bigger than this tolerance then OCAD takes the line width as the tolerance. This tolerance is used for lines and areas&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Joining_Lines.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Merge lines:&#039;&#039;&#039; This tolerance defines the maximum distance two line endes can be apart to still get merged.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth when drawing freehand:&#039;&#039;&#039; There are three smoothing levels for freehand drawing mode: slightly, medium and strong. They correspond to 0, 1 and 2 in earlier OCAD versions.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Smoothing_Levels.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Change to Bezier curve:&#039;&#039;&#039; This tolerance defines the maximum distance the vertices can move away from the original position by changing from polyline to Bezier curve. The default value is 0.10 mm. Note that the distance between the curve and the polyline can be greater between the vertices.&amp;lt;br /&amp;gt;&lt;br /&gt;
:[[File:Change_To_Bezier.PNG]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Smooth (generalization):&#039;&#039;&#039; This tolerance is used by the Douglas-Peucker smoothing algorithm. Vertices that are closer to the direct line between the previous and the next vertex are removed. The default value is 0.05 mm.&lt;br /&gt;
&lt;br /&gt;
This smooth tolerance is also used in the &#039;Change to Polyline&#039; function.&lt;br /&gt;
:[[File:Smooth.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Cursor color===&lt;br /&gt;
You can change the cursor color to black, red, blue, purple or yellow by selecting a color in the dropdown list.&lt;br /&gt;
====Scale Cursor Size====&lt;br /&gt;
Check this option to enlarge the cursor to the default size on high-DPI monitors with Windows 10 Creators Update.&lt;br /&gt;
&lt;br /&gt;
===Mark===&lt;br /&gt;
&lt;br /&gt;
Set the mark size to normal, large or very large.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Mark_Size.PNG]]&lt;br /&gt;
&lt;br /&gt;
Choose a mark color by clicking the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Setup&#039;&#039;&#039; icon.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color.PNG]]&lt;br /&gt;
&lt;br /&gt;
The mark color is used during drawing and to mark the selected objects.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_Drawing.PNG]]&lt;br /&gt;
&lt;br /&gt;
The GPS cursor in GPS Real Time mode is also drawn with the choosen mark color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_GpsCursor.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Hint.jpg]] OCAD uses the choosen mark color only on white background. Otherwise OCAD choose a color with high contrast to the background color.&amp;lt;br /&amp;gt; &lt;br /&gt;
[[File:Mark_Color_HighContrast.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Enable live preview===&lt;br /&gt;
Enable this option to show the real line width when drawing line objects.&lt;br /&gt;
&lt;br /&gt;
===Auto scroll===&lt;br /&gt;
Check this option if the map view should automatically scroll if you drag out of the drawing area. Disable &#039;&#039;&#039;Auto scroll&#039;&#039;&#039; if you have a slow PC.&lt;br /&gt;
&lt;br /&gt;
===Change to Select and Edit Object mode when selecting two or more objects===&lt;br /&gt;
Check this option to automatically get the [[Select#Select_and_Edit_Object|Select and Edit Object mode]] when selecting two or more objects.&lt;br /&gt;
&lt;br /&gt;
[[File:ChangeSelectMode.gif]]&lt;br /&gt;
&lt;br /&gt;
==Symbol==&lt;br /&gt;
===Default symbol folder===&lt;br /&gt;
You can change the default symbol folder by clicking on the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon. Choose a folder as &#039;&#039;default symbol folder&#039;&#039; which you want to load symbols from when you create a new map. Click on the [[File:Icon_Delete2.PNG]] &#039;&#039;&#039;Delete&#039;&#039;&#039; icon to clear the current folder path. If no folder is selected, OCAD loads symbols from the &#039;&#039;Symbol&#039;&#039; folder in the &#039;&#039;OCAD program directory&#039;&#039; (usually: &#039;&#039;C:\Program Files\OCAD\OCAD 20xx\Symbol\&#039;&#039;) when you want to create a new map.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Symbol===&lt;br /&gt;
* &#039;&#039;&#039;Selected symbol blinks in symbol box&#039;&#039;&#039;: If you check this option, the selected symbol blinks in the symbol box. This makes it easier to recognize the selected symbol.&lt;br /&gt;
* &#039;&#039;&#039;Lock symbol positions in symbol box&#039;&#039;&#039;: If you check this option, you are not able to drag and drop a symbol to a new position in the symbol box.&lt;br /&gt;
* &#039;&#039;&#039;Auto select symbol when selecting object&#039;&#039;&#039;: If you check this option, the corresponding symbol is automatically selected when you select an object. This does not work when you select multiple objects.&lt;br /&gt;
* &#039;&#039;&#039;Change to drawing mode when selecting a symbol&#039;&#039;&#039;: If you check this option, OCAD change to a drawing mode when selecting a symbol in the symbol box. If the symbol has a preffered drawing mode then OCAD change to this drawing mode.&lt;br /&gt;
* &#039;&#039;&#039;Set symbol status visible when changing to Protected&#039;&#039;&#039;: Check this option if you prefer to have the same behaviour as in earlier OCAD versions. In this case OCAD always sets the symbol status Visible when changing to Protected.&lt;br /&gt;
&lt;br /&gt;
==GPS==&lt;br /&gt;
===GPS Log File===&lt;br /&gt;
Check the &#039;&#039;&#039;Log all positions sent from gps&#039;&#039;&#039; option to save all position sent from a GPS device in real time to a log file (Text-File). Click the [[File:Icon_Setup.PNG]] &#039;&#039;&#039;Browse&#039;&#039;&#039; icon to choose a folder, the log files are saved to. The log files are named with the date and time the real time GPS is enabled.&lt;br /&gt;
&lt;br /&gt;
==Warnings==&lt;br /&gt;
===Warnings for hidden symbols===&lt;br /&gt;
These warnings can be activated when you either [[Printing Maps|print]], [[Export Files|export]] or [[Import Files|import]] a map. If you check those options, you will get a warning message if you have [[Symbol#Hide|hidden]] symbols on the map and you are trying to carry out one of mentioned operations.&lt;br /&gt;
===Moving warnings===&lt;br /&gt;
Enable the &#039;&#039;&#039;Move multiple objects&#039;&#039;&#039; option to get a warning message when you move [[Select#Select and Edit Multiple Objects|multiple objects]]. Use this option in order to guard against moving [[Select#Select and Edit Multiple Objects|multiple objects]] accidentally.&lt;br /&gt;
===Database warnings===&lt;br /&gt;
Check these options to show [[Database#Database_Compatibility|Database Compatibility]] warnings about 32/64bit and dBase.&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
===Updater===&lt;br /&gt;
Disable the option &#039;&#039;&#039;Check for Service Updates when you start OCAD&#039;&#039;&#039; to not check for new free &#039;&#039;&#039;[[Service_Update|Service Updates]]&#039;&#039;&#039; when you start OCAD. Is some cases this check takes too long. &lt;br /&gt;
&lt;br /&gt;
Known bugs are corrected in Service Updates. Additionally, new functions are added constantly with the subscription model. Therefore, we recommend using OCAD software always with the most recent Service Update to benefit from the quality improvements. The latest Service Update is also available on our website in the [https://www.ocad.com/en/service-update/ Download] section.&lt;br /&gt;
&lt;br /&gt;
===OCAD Blog===&lt;br /&gt;
If this option is activated, new OCAD blog posts are shown when you start OCAD.&lt;br /&gt;
&lt;br /&gt;
===Google API Key===&lt;br /&gt;
Enter here your Google API Key. This key is used in the [[New_Map_Wizard#Choose_Cross_Reference_Table|New Map Wizard]] to create a DEM via the Google Maps API.&lt;br /&gt;
&lt;br /&gt;
Link: [https://developers.google.com/maps/documentation/javascript/get-api-key Get API Key]&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Paste_WKT&amp;diff=12678</id>
		<title>Paste WKT</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Paste_WKT&amp;diff=12678"/>
		<updated>2020-12-18T17:01:58Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This command is enabled in the &#039;&#039;&#039;Object&#039;&#039;&#039; menu when the clipboard contains OCAD objects or text and you are writing text.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Paste_WKT&amp;diff=12677</id>
		<title>Paste WKT</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Paste_WKT&amp;diff=12677"/>
		<updated>2020-12-18T17:01:25Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: Created page with &amp;quot;File:Space.PNGlink=https://www.ocad.com/en/products/ocad-for-cartographyFile:Ori40px.PNG|This f...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Space.PNG]][[File:Mas40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Ori40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==&lt;br /&gt;
This command is enabled in the &#039;&#039;&#039;Object&#039;&#039;&#039; menu when the clipboard contains OCAD objects or text and you are writing text.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Download_Failed_Error&amp;diff=12676</id>
		<title>Download Failed Error</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Download_Failed_Error&amp;diff=12676"/>
		<updated>2020-12-17T08:15:43Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Third option: download the Update from the Update link sent by OCAD AG */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Possible errors ==&lt;br /&gt;
The OCAD Build 3226 - 3232 have a problem with a broken update link. This error message appears:&lt;br /&gt;
&lt;br /&gt;
[[File:DownloadServiceUpdate.png]]&lt;br /&gt;
&lt;br /&gt;
If you get the error above, it means that the update file was downloaded but due to an error, the update did not start automatically. &lt;br /&gt;
&lt;br /&gt;
In this case you have two options to solve this problem:&lt;br /&gt;
* Download the current update via OCAD Updater&lt;br /&gt;
* or start the downloaded update file manually&lt;br /&gt;
* or download the Update from the Update link sent by OCAD AG&lt;br /&gt;
&lt;br /&gt;
==First option: OCAD Updater==&lt;br /&gt;
The OCAD 12 and 2020 Updater can be used as a general overview and update tool for OCAD installations.&lt;br /&gt;
Download the 64-bit version for 64-bit Windows, otherwise the 32-bit version&lt;br /&gt;
* [https://www.ocad.com/download/Ocad2020/Ocad12_2020_Updater_64-bit.exe Download 64-bit]&lt;br /&gt;
* [https://www.ocad.com/download/Ocad2020/Ocad12_2020_Updater_32-bit.exe Download 32-bit]&lt;br /&gt;
&lt;br /&gt;
After the download run the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Ocad12And2019Updater.png|800px]]&lt;br /&gt;
&lt;br /&gt;
The green OK icon indicate that you have installed the latest update. &lt;br /&gt;
&lt;br /&gt;
Otherwise click on the &#039;&#039;&#039;Download Update and install&#039;&#039;&#039; to download the latest version from our server and install it.&lt;br /&gt;
&lt;br /&gt;
[[File:Ocad12And2019UpdaterInstall.png]]&lt;br /&gt;
&lt;br /&gt;
* Confirm to install an update &lt;br /&gt;
* After the installation click &#039;&#039;&#039;Check again&#039;&#039;&#039; to see if the installation was successfully.&lt;br /&gt;
&lt;br /&gt;
==Second option: start the downloaded update file manually ==&lt;br /&gt;
The user has to start the update.&lt;br /&gt;
&lt;br /&gt;
Is such a case, please close OCAD, go to the &#039;&#039;hidde&#039;&#039;n folder &#039;&#039;&#039;C:\Users\[USER]\AppData\Roaming\OCAD\OCAD 2018\Tmp\OCAD_Update\xxx.exe&#039;&#039;&#039; and start the downloaded update from there.&lt;br /&gt;
&lt;br /&gt;
If it doesn&#039;t help please contact OCAD AG by email ( support@ocad.com ).&lt;br /&gt;
&lt;br /&gt;
==Third option: download the Update from the Update link sent by OCAD AG==&lt;br /&gt;
OCAD AG has sent you a download link for the Update by email. You can download this Update from link.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
	<entry>
		<id>https://www.ocad.com/wiki/ocad/en/index.php?title=Download_Failed_Error&amp;diff=12675</id>
		<title>Download Failed Error</title>
		<link rel="alternate" type="text/html" href="https://www.ocad.com/wiki/ocad/en/index.php?title=Download_Failed_Error&amp;diff=12675"/>
		<updated>2020-12-17T08:15:26Z</updated>

		<summary type="html">&lt;p&gt;MergeUser: /* Second option: start the downloaded update file manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Possible errors ==&lt;br /&gt;
The OCAD Build 3226 - 3232 have a problem with a broken update link. This error message appears:&lt;br /&gt;
&lt;br /&gt;
[[File:DownloadServiceUpdate.png]]&lt;br /&gt;
&lt;br /&gt;
If you get the error above, it means that the update file was downloaded but due to an error, the update did not start automatically. &lt;br /&gt;
&lt;br /&gt;
In this case you have two options to solve this problem:&lt;br /&gt;
* Download the current update via OCAD Updater&lt;br /&gt;
* or start the downloaded update file manually&lt;br /&gt;
* or download the Update from the Update link sent by OCAD AG&lt;br /&gt;
&lt;br /&gt;
==First option: OCAD Updater==&lt;br /&gt;
The OCAD 12 and 2020 Updater can be used as a general overview and update tool for OCAD installations.&lt;br /&gt;
Download the 64-bit version for 64-bit Windows, otherwise the 32-bit version&lt;br /&gt;
* [https://www.ocad.com/download/Ocad2020/Ocad12_2020_Updater_64-bit.exe Download 64-bit]&lt;br /&gt;
* [https://www.ocad.com/download/Ocad2020/Ocad12_2020_Updater_32-bit.exe Download 32-bit]&lt;br /&gt;
&lt;br /&gt;
After the download run the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Ocad12And2019Updater.png|800px]]&lt;br /&gt;
&lt;br /&gt;
The green OK icon indicate that you have installed the latest update. &lt;br /&gt;
&lt;br /&gt;
Otherwise click on the &#039;&#039;&#039;Download Update and install&#039;&#039;&#039; to download the latest version from our server and install it.&lt;br /&gt;
&lt;br /&gt;
[[File:Ocad12And2019UpdaterInstall.png]]&lt;br /&gt;
&lt;br /&gt;
* Confirm to install an update &lt;br /&gt;
* After the installation click &#039;&#039;&#039;Check again&#039;&#039;&#039; to see if the installation was successfully.&lt;br /&gt;
&lt;br /&gt;
==Second option: start the downloaded update file manually ==&lt;br /&gt;
The user has to start the update.&lt;br /&gt;
&lt;br /&gt;
Is such a case, please close OCAD, go to the &#039;&#039;hidde&#039;&#039;n folder &#039;&#039;&#039;C:\Users\[USER]\AppData\Roaming\OCAD\OCAD 2018\Tmp\OCAD_Update\xxx.exe&#039;&#039;&#039; and start the downloaded update from there.&lt;br /&gt;
&lt;br /&gt;
If it doesn&#039;t help please contact OCAD AG by email ( support@ocad.com ).&lt;br /&gt;
&lt;br /&gt;
==Third option: download the Update from the Update link sent by OCAD AG==&lt;br /&gt;
OCAD AG has sent you a download link for the Update by email. You can download this Update via link.&lt;/div&gt;</summary>
		<author><name>MergeUser</name></author>
	</entry>
</feed>