Well Known Text

Well Known Text

Contenido

Introducción

WKT es el acrónimo en inglés de Well Known Text, que se puede definir como una codificación o sintaxis diseñada específicamente para describir objetos espaciales expresados de forma vectorial. Los objetos que es capaz de describir son: puntos, multipuntos, líneas, multilíneas, polígonos, multipolígonos, colecciones de geometría y puntos en 3 y 4 dimensiones. Su especificación ha sido promovida por un organismo internacional, el Open Geospatial Consortium, siendo su sintaxis muy fácil de utilizar, de forma que es muy generalizado su uso en la industria geoinformática. De hecho, WKT es la base de otros formatos más conocidos como el KML utilizado en Google Maps y Google Earth.

Muchas de las bases de datos espaciales, y en especial Postgresql, utiliza esta codificación cuando se carga la extensión PostGIS. Existe una variante de este lenguaje, pero expresada de forma binaria, denominada WKB (Well Know Binary), también utilizada por estos gestores espaciales, pero con la ventaja de que al ser compilada en forma binaria la velocidad de proceso es muy elevada.

A efectos prácticos la sintaxis WKT consta de una descripción de los vértices que componen la geometría. Para que esta forma de especificar las geometrías tengan sentido deben de acompañarse de una indicación de la referencia espacial o proyección cartográfica utilizada en dicho vector.

Ejemplos de sintaxis

Punto: POINT(30 50)
Línea: LINESTRING(1 1, 5 5, 10 10, 20 20)
Multilínea: LINESTRING( (1 1, 5 5, 10 10, 20 20),(20 30, 10 15, 40 5) )
Polígono simple: POLYGON ((0 0, 10 0, 10 10, 0 0))
Varios polígono en una sola geometría (multipolígono): POLYGON ( (0 0, 10 0, 10 10, 0 10, 0 0),( 20 20, 20 40, 40 40, 40 20, 20 20) )
Geometrías de distinto tipo en un sólo elemento: GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))
Punto vacío: POINT EMPTY
Multipolígono vacío: MULTIPOLYGON EMPTY

Sistemas de referencia espacial

En WKT también se pueden especificar sistemas de referencia espacial describiendo el datum, geoide, sistema de coordenadas y proyección de los objetos espaciales.


Sistemas de gestión de BD

Los siguientes sistemas de gestión de bases de datos ofrecen la posibilidad de usar WKT:


Véase también


Wikimedia foundation. 2010.

Игры ⚽ Поможем написать реферат

Mira otros diccionarios:

  • Well-known text — (WKT) is a text markup language for representing vector geometry objects on a map, spatial reference systems of spatial objects and transformations between spatial reference systems. A binary equivalent, known as well known binary (WKB) is used… …   Wikipedia

  • Well Known Text — Simple Feature Access ist eine Spezifikation des Open Geospatial Consortium, welche eine allgemein gültige Architektur für geografische Daten und deren Geometrien definiert. Die Spezifikation beschreibt einerseits die Speicherung und den Zugriff… …   Deutsch Wikipedia

  • Well Known Binary — Simple Feature Access ist eine Spezifikation des Open Geospatial Consortium, welche eine allgemein gültige Architektur für geografische Daten und deren Geometrien definiert. Die Spezifikation beschreibt einerseits die Speicherung und den Zugriff… …   Deutsch Wikipedia

  • List of well-known fatwas — A fatwa ( ar. فتوى), is a legal pronouncement in Islam, issued by a religious law specialist on a specific issue. See the article fatwa for more information on what a fatwa is.Fatwa regarding theology* al Azhar Shia Fatwa on July 6, 1959:: The… …   Wikipedia

  • Text Editor and Corrector — TECO (pronounced /tee koh/; originally an acronym for [paper] Tape Editor and COrrector , but later Text Editor and COrrector ) is a text editor originally developed at the Massachusetts Institute of Technology (MIT) in the 1960s, after which it… …   Wikipedia

  • Text Encoding Initiative — The Text Encoding Initiative (TEI) is a consortium of institutions and research projects which collectively maintains and develops a standard for the representation of texts in digital form. Originally sponsored by three scholarly societies, the… …   Wikipedia

  • Text messaging — Texter redirects here. For the American surname, see Texter (surname). Txt msg redirects here. For the TV series, see Pop Up Video. A user typing a text message on an LG enV (VX9900) Text messaging, or texting, refers to the exchange of brief… …   Wikipedia

  • Well-Tempered Clavier — The Well Tempered Clavier ( Das Wohltemperirte Clavier in the original old German spelling) [In the German of Bach s time the Clavier was a generic name meaning keyboard instrument, most typically the harpsichord or clavichord mdash; but not… …   Wikipedia

  • Text box — A text box, text field or text entry box is a common element of graphical user interface of computer programs, as well as the corresponding type of widget used when programming GUIs. A text box s purpose is to allow the user to input text… …   Wikipedia

  • Known-plaintext attack — The known plaintext attack (KPA) is an attack model for cryptanalysis where the attacker has samples of both the plaintext (called a crib), and its encrypted version (ciphertext). These can be used to reveal further secret information such as… …   Wikipedia

Compartir el artículo y extractos

Link directo
Do a right-click on the link above
and select “Copy Link”