WKT 📝

WKT (Well-Known Text)

Open Beta
.wkt · text/plain

WKT është një format tekstual i paraqitjes së gjeometrive, i përdorur në bazat e të dhënave (PostGIS, SpatiaLite) dhe aplikacionet GIS. I thjeshtë dhe i lehtë për t'u integruar.

Eksporto WKT tani ✨ Open Beta — falas, pa kufizime

Veçoritë kryesore

✓Format tekstual
✓Standardi OGC
✓Integrim i lehtë në bazat e të dhënave
✓Të gjitha llojet e gjeometrive të mbështetura

Rreth formatit WKT

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.

Çfarë programi hap skedarët WKT

Programet dhe aplikacionet e mëposhtme mund të hapin, redaktojnë dhe punojnë me skedarë WKT (Well-Known Text) (.wkt) të eksportuar nga OSM2CDR:

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

Format specifications

Kush përdor harta WKT

🏗
Baza të dhënash (PostGIS)
Geometry is pasted into SQL directly through ST_GeomFromText — with no converters and no intermediate files.
💻
Programim
Convenient material for tests and debugging: the shape is visible to the eye right in the source.
📊
Analizë GIS
Quick exchange of geometry between GIS tools, all of which understand WKT.
🎨
Integrim sistemesh
Passing coordinates to an adjacent system that accepts plain text rather than GIS format files.

Si të eksportoni WKT

1
Zgjidhni zonën
Vizatoni një drejtkëndësh ose poligon në hartën interaktive te osm2cdr.ru
2
Zgjidhni WKT
Zgjidhni WKT (Well-Known Text) nga lista e 127 formateve të disponueshme të eksportit
3
Eksporto
Klikoni Eksporto dhe merrni skedarin tuaj .wkt brenda 1-5 minutave
4
Shkarko
Shkarkoni skedarin e gatshëm WKT dhe hapeni në PostGIS

Si ta hapni pas eksportit

Harta popullore në WKT

Falas

Merrni eksporte hartash WKT (Well-Known Text)

Shkarkoni harta profesionale WKT nga OpenStreetMap. Gjenerim i menjëhershëm, çdo zonë.

Falas / eksport
Eksporto WKT tani →

Pyetjet më të shpeshta

Çfarë është WKT? ▼
A mund ta importoj WKT në PostGIS? ▼
Are names and tags preserved? ▼
How do I tell which layer is which? ▼
Which coordinate system and what precision? ▼

Krahaso me formate të tjera

Convert to WKT and back

Formate të ngjashme

Eksportohen shpesh së bashku

Related Articles