WKT 📝

WKT (Well-Known Text)

Price before payment
.wkt · text/plain

WKT قالبی برای نمایش متنی هندسه‌هاست که در پایگاه‌های داده (PostGIS، SpatiaLite) و برنامه‌های GIS استفاده می‌شود. ساده و آسان برای یکپارچه‌سازی.

OpenStreetMap data as of 5 October 2026 · 27 days ago

همین حالا 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) را از فهرست ۱۲۷ قالب خروجی موجود انتخاب کنید
3
خروجی
روی خروجی کلیک کنید و فایل .wkt خود را در ۱ تا ۵ دقیقه دریافت کنید
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