WKT 📝

WKT (Well-Known Text)

Open Beta
.wkt · text/plain

‏WKT הוא פורמט ייצוג טקסטואלי של גאומטריות, בשימוש במסדי נתונים (PostGIS, ‏SpatiaLite) וביישומי GIS. פשוט וקל לשילוב.

ייצוא WKT עכשיו ✨ Open Beta — חינם, ללא הגבלות

תכונות עיקריות

פורמט טקסט
תקן OGC
שילוב קל במסד נתונים
כל סוגי הגאומטריה נתמכים

אודות פורמט 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.

איזו תוכנה פותחת קבצי WKT

התוכנות והיישומים הבאים יכולים לפתוח, לערוך ולעבוד עם קבצי WKT (Well-Known Text) (.wkt) שיוצאו מ-OSM2CDR:

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

Format specifications

מי משתמש במפות WKT

🏗
מסדי נתונים (PostGIS)
Geometry is pasted into SQL directly through ST_GeomFromText — with no converters and no intermediate files.
💻
תכנות
Convenient material for tests and debugging: the shape is visible to the eye right in the source.
📊
ניתוח GIS
Quick exchange of geometry between GIS tools, all of which understand WKT.
🎨
שילוב מערכות
Passing coordinates to an adjacent system that accepts plain text rather than GIS format files.

כיצד לייצא WKT

1
בחירת אזור
ציירו מלבן או מצולע על המפה האינטראקטיבית ב-osm2cdr.ru
2
בחירת WKT
בחרו WKT (Well-Known Text) מתוך רשימת 127 פורמטי הייצוא הזמינים
3
ייצוא
לחצו על ייצוא וקבלו את קובץ ה-.wkt שלכם תוך 1-5 דקות
4
הורדה
הורידו את קובץ ה-WKT המוכן ופתחו אותו ב-PostGIS

איך לפתוח לאחר הייצוא

מפות פופולריות בפורמט WKT

חינם

קבלו ייצוא מפות בפורמט WKT (Well-Known Text)

הורידו מפות WKT מקצועיות מ-OpenStreetMap. יצירה מיידית, לכל אזור.

חינם / ייצוא
ייצוא WKT עכשיו →

שאלות נפוצות

מהו WKT?
האם ניתן לייבא WKT אל PostGIS?
Are names and tags preserved?
How do I tell which layer is which?
Which coordinate system and what precision?

השוואה עם פורמטים אחרים

Convert to WKT and back

פורמטים קשורים

מיוצאים יחד לעיתים קרובות

Related Articles