Well Known Text (WKT)

Well Known Text atau WKT adalah representasi geometri dalam teks atau tulisan, dengan tujuan kemudahan dalam membaca format susunan data geometri (human readable).

WKT didefinisikan oleh OpenGIS Simple Feature Specification for SQL.

Berikut beberapa contoh WKT :

POINT (10 10)

LINESTRING (10 10, 20 20, 30 40)

POLYGON ((10 10, 10 20, 20 20, 20 15, 10 10))

MULTIPOINT (10 10, 20 20)

MULTILINESTRING ((10 10, 20 20), (15 15, 30 15))

MULTIPOLYGON ( ((11 15, 13 21, 14 9, 20 1, 19 7, 9 19, 4 15, 20 3, 15 13), ((11 15, 10 20, 20 20, 20 15, 11 15)) )

GEOMETRYCOLLECTION (POINT (10 10), POINT (30 30), LINESTRING (15 15, 20 20))

Leave a Reply

Your email address will not be published. Required fields are marked *