Well Known Text (WKT): Difference between revisions

From OCAD Wiki - English
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Well-known text (WKT) is a text markup language for representing vector geometry objects. (Source: Wikipedia)
Well-known text (WKT) is a text markup language for representing vector geometry objects.<br>
(Source: [https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry Wikipedia])
 
==Copy Objects [[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]]==
Define a '''[[Options#Shortcuts|Shortcut]]''' in the Options menu to copy objects in OCAD in WKT format.
 
[[File:WKT Shortcut.png|500px]]


==Paste Objects==  
==Paste Objects==  
Create objects from WKT format.
Create objects from WKT format.


This command is enabled in the '''Object''' menu when the clipboard contains OCAD objects or text and you are writing text.  
Note: Line and area objects drawn with Bézier curves will be converted to polylines.
 
==Example==


==Copy Objects==
It is possible to copy/paste objects forth and back between two maps. A '''[[Create_a_New_Map#Set_Scale_and_Coordinate_System|Coordinate System]]''' needs to be set in both maps, but not necessarily the same one. Also, the map scales can be different.  
Define a '''[[Options#Shortcuts|Shortcut]]''' in the Options menu to copy objects in WKT format.


[[File:WKT Shortcut.png|500px]]
In our example, objects are copied between a Sprint Map (Scale 1:4'000) and a Forest Map (Scale 1:10'000) of the same area.
 
[[File:WKT.gif]]

Revision as of 17:49, 4 February 2021

Well-known text (WKT) is a text markup language for representing vector geometry objects.
(Source: Wikipedia)

Copy Objects Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.

Define a Shortcut in the Options menu to copy objects in OCAD in WKT format.

WKT Shortcut.png

Paste Objects

Create objects from WKT format.

Note: Line and area objects drawn with Bézier curves will be converted to polylines.

Example

It is possible to copy/paste objects forth and back between two maps. A Coordinate System needs to be set in both maps, but not necessarily the same one. Also, the map scales can be different.

In our example, objects are copied between a Sprint Map (Scale 1:4'000) and a Forest Map (Scale 1:10'000) of the same area.

WKT.gif