Well Known Text (WKT): Difference between revisions

From OCAD Wiki - English
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Introduction==
Well-known text (WKT) is a text markup language for representing vector geometry objects.<br>
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])
(Source: [https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry Wikipedia])
Line 8: Line 9:


==Paste Objects==  
==Paste Objects==  
Create objects from WKT format.
When you have copied objects in WKT format, choose '''[[Object#Paste|Paste]]''' (Ctrl + V) from the '''Object''' menu to copy the object(s) in the clipboard to the current map.


Note: Line and area objects drawn with Bézier curves will be converted to polylines.
Note: Line and area objects drawn with Bézier curves will be converted to polylines.
Line 16: Line 17:
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.  
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.  


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.
In our example, objects are copied between a Sprint Map (left side; Scale 1:4'000) and a Forest Map (right side; Scale 1:10'000) of the same area. The copied objects can then be '''[[Change_Symbol|changed to a symbol]]'''.


[[File:WKT.gif]]
[[File:WKT.gif]]

Latest revision as of 08:24, 10 February 2021

Introduction

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

When you have copied objects in WKT format, choose Paste (Ctrl + V) from the Object menu to copy the object(s) in the clipboard to the current map.

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 (left side; Scale 1:4'000) and a Forest Map (right side; Scale 1:10'000) of the same area. The copied objects can then be changed to a symbol.

WKT.gif