WKT 📝

WKT (Well-Known Text)

Open Beta
.wkt · text/plain

WKT هو تنسيق تمثيل نصي للأشكال الهندسية، يُستخدم في قواعد البيانات (PostGIS وSpatiaLite) وتطبيقات نظم المعلومات الجغرافية. بسيط وسهل التكامل.

صدّر WKT الآن ✨ النسخة التجريبية المفتوحة — مجاني، بلا قيود

الميزات الرئيسية

صيغة نصية
معيار 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