WKT 📝

WKT (Well-Known Text)

Price before payment
.wkt · text/plain

WKT yra tekstinis geometrijų atvaizdavimo formatas, naudojamas duomenų bazėse (PostGIS, SpatiaLite) ir GIS programose. Paprastas ir lengvai integruojamas.

OpenStreetMap data as of 5 October 2026 · 26 days ago

Eksportuoti WKT dabar ✨ Atviroji beta — nemokamai, be apribojimų

Pagrindinės savybės

✓Tekstinis formatas
✓OGC standartas
✓Lengva integracija į duomenų bazę
✓Palaikomi visi geometrijos tipai

Apie WKT formatą

WKT (Well-Known Text) is the textual encoding of geometry from the OGC standard: POINT(37.6177 55.7558), LINESTRING(...), POLYGON((...)). It is understood by every spatial database and library — PostGIS, SpatiaLite, Shapely, JTS, GEOS — and it can be read by eye, which makes the format indispensable while debugging.

The export is taken when geometry is needed as text: to paste into an SQL query, to put into a test, to pass coordinates to someone else's system, to take a quick look at what came out of the selected area at all.

The output is a single text file in UTF-8. At the top are comments with the bounding box of the area and the coordinate system, then it goes layer by layer: a line like "-- layer: roads" with one geometry per line underneath it. Coordinates are in WGS84 (EPSG:4326) with six decimal places — that is about ten centimeters on the ground.

One important thing: WKT stores shapes only. There are no names, types or other OpenStreetMap tags in the file — if you need attributes, take GeoJSON, GeoPackage or a CSV with a WKT column.

Kokia programa atidaro WKT failus

Šios programos gali atidaryti, redaguoti WKT (Well-Known Text) (.wkt) failus, eksportuotus iš OSM2CDR, ir dirbti su jais:

💻PostGIS 💻SpatiaLite 🌎QGIS 💻Shapely (Python) 💻JTS (Java) 💻GEOS

Format specifications

Kas naudoja WKT žemėlapius

🏗
Duomenų bazės (PostGIS)
Geometry is pasted into SQL directly through ST_GeomFromText — with no converters and no intermediate files.
💻
Programavimas
Convenient material for tests and debugging: the shape is visible to the eye right in the source.
📊
GIS analizė
Quick exchange of geometry between GIS tools, all of which understand WKT.
🎨
Sistemų integracija
Passing coordinates to an adjacent system that accepts plain text rather than GIS format files.

Kaip eksportuoti WKT

1
Pažymėkite sritį
Nubrėžkite stačiakampį arba daugiakampį interaktyviame žemėlapyje osm2cdr.ru
2
Pasirinkite WKT
Iš 127 prieinamų eksporto formatų sąrašo pasirinkite WKT (Well-Known Text)
3
Eksportuoti
Spustelėkite „Eksportuoti“ ir gaukite savo .wkt failą per 1–5 minutes
4
Atsisiųsti
Atsisiųskite paruoštą WKT failą ir atidarykite jį programoje PostGIS

Kaip atidaryti po eksporto

Populiarūs WKT formato žemėlapiai

Free

Gaukite WKT (Well-Known Text) žemėlapių eksportą

Atsisiųskite profesionalius WKT žemėlapius iš OpenStreetMap. Momentinis generavimas, bet kuri sritis.

Nemokamas / eksportas
Eksportuoti WKT dabar →

Dažnai užduodami klausimai

Kas yra WKT? ▼
Ar galiu importuoti WKT į PostGIS? ▼
Are names and tags preserved? ▼
How do I tell which layer is which? ▼
Which coordinate system and what precision? ▼

Palyginimas su kitais formatais

Convert to WKT and back

Susiję formatai

Dažnai eksportuojama kartu

Related Articles