Sign InWorkflowOpen Workspace

GeoJSON Converter Guide / دليل محول GeoJSON

Convert GeoJSON web data to KMZ (Google Earth), DXF (CAD), CSV (data), and Shapefile (GIS) while preserving all feature properties. • حول بيانات GeoJSON للويب إلى KMZ (Google Earth) و DXF (CAD) و CSV (البيانات) و Shapefile (GIS) مع الحفاظ على جميع خصائص الميزات.

What is GeoJSON? · ما هو GeoJSON؟

GeoJSON is a standard format for encoding geographic data structures and their properties using JSON. It's the native format for web mapping libraries like Leaflet, Mapbox, and Google Maps API.

GeoJSON هو صيغة معيارية لترميز هياكل البيانات الجغرافية وخصائصها باستخدام JSON. إنها الصيغة الأصلية لمكتبات خرائط الويب مثل Leaflet و Mapbox و Google Maps API.

GeoJSON contains:

يحتوي GeoJSON على:

  • Features: Geometry (Point, LineString, Polygon) + Properties (attributes) · ميزات: الهندسة (Point و LineString و Polygon) + الخصائص (السمات)
  • Coordinates: Always in WGS84 (latitude/longitude) · الإحداثيات: دائماً في WGS84 (خط عرض/خط طول)
  • Properties: Custom key-value pairs (name, description, color, etc.) · الخصائص: أزواج مفتاح-قيمة مخصصة (الاسم والوصف واللون وغيرها)

GeoJSON File Structure · هيكل ملف GeoJSON

Minimal GeoJSON FeatureCollection example:

مثال ميزات GeoJSON الأساسية:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [55.1234, 25.5678]
      },
      "properties": {
        "name": "Point A",
        "id": "PT001"
      }
    }
  ]
}

Coordinate Order: [Longitude, Latitude] — NOT [Latitude, Longitude]! This is a common source of confusion.

ترتيب الإحداثيات: [Longitude و Latitude] — وليس [Latitude و Longitude]! هذا هو مصدر شائع للالتباس.

Conversion Outputs · مخرجات التحويل

GeoJSON → KMZ (Google Earth)

GeoJSON → KMZ (Google Earth)

  • Points become placemarks, lines/polygons become paths
  • تصبح النقاط علامات موقع والخطوط/المضلعات تصبح مسارات
  • Properties displayed in Google Earth info bubbles
  • يتم عرض الخصائص في فقاعات المعلومات في Google Earth

GeoJSON → DXF (CAD)

GeoJSON → DXF (CAD)

  • Each feature becomes a CAD entity (POINT, POLYLINE, LWPOLYLINE)
  • تصبح كل ميزة كيان CAD (POINT و POLYLINE و LWPOLYLINE)
  • Properties attached as CAD attributes (visible in properties dialog)
  • تُرفق الخصائص كسمات CAD (مرئية في حوار الخصائص)

GeoJSON → CSV (Data Export)

GeoJSON → CSV (تصدير البيانات)

  • All properties exported to spreadsheet columns
  • جميع الخصائص المُصدَّرة إلى أعمدة جدول البيانات
  • Geometry converted to centroid coordinates (Lon/Lat)
  • تحويل الهندسة إلى إحداثيات النقطة المركزية (Lon/Lat)

GeoJSON → Shapefile (GIS)

GeoJSON → Shapefile (GIS)

  • Full Shapefile with geometry and all properties preserved
  • ملف Shapefile كامل مع الهندسة وجميع الخصائص المحفوظة
  • Includes .prj file in WGS84 (EPSG:4326)
  • يتضمن ملف .prj في WGS84 (EPSG:4326)

Common Issues · المشاكل الشائعة

Coordinates appear in wrong location

Check that your GeoJSON uses the correct coordinate order: [Longitude, Latitude]. If you accidentally provided [Latitude, Longitude], coordinates will appear in the wrong location on Earth. Re-check the source of your GeoJSON data.

الإحداثيات تظهر في موقع خاطئ

تحقق من أن GeoJSON يستخدم ترتيب الإحداثيات الصحيح: [Longitude و Latitude]. إذا قدّمت بالخطأ [Latitude و Longitude]، ستظهر الإحداثيات في موقع خاطئ على الأرض. أعد التحقق من مصدر بيانات GeoJSON الخاصة بك.

File size limit exceeded

Very large GeoJSON files (>50MB) may fail. For large datasets, split into multiple files or use the Batch Converter. GeoJSON is not optimal for massive datasets; consider using Shapefile or PostGIS for millions of features.

تم تجاوز حد حجم الملف

قد تفشل ملفات GeoJSON الكبيرة جداً (أكثر من 50 ميجابايت). للمجموعات الكبيرة، قسّم إلى ملفات متعددة أو استخدم محول الملفات الجماعي. GeoJSON ليست مثلى للمجموعات الضخمة؛ فكر في استخدام Shapefile أو PostGIS لملايين الميزات.

Properties appear as null in output

GeoJSON properties must be simple values (strings, numbers, booleans). Complex nested objects or arrays in properties may not convert properly. Flatten your properties before uploading.

تظهر الخصائص كـ null في الإخراج

يجب أن تكون خصائص GeoJSON قيماً بسيطة (نصوص وأرقام وقيم منطقية). قد لا تتحول الكائنات المتداخلة المعقدة أو المصفوفات في الخصائص بشكل صحيح. سطّح خصائصك قبل التحميل.

Best Practices · أفضل الممارسات

  • Validate before uploading: Use an online GeoJSON validator (geojsonlint.com) to catch syntax errors. · تحقق قبل التحميل: استخدم دقيق GeoJSON عبر الإنترنت (geojsonlint.com) للتقاط أخطاء بناء الجملة.
  • Always include properties: Add meaningful properties (name, id, description) to each feature for better usability in other formats. · أضفّ دائماً الخصائص: أضفّ خصائص ذات معنى (الاسم والمعرف والوصف) لكل ميزة لقابلية استخدام أفضل في صيغ أخرى.
  • For web-to-CAD workflow: Export to GeoJSON from web editor, then convert to DXF for CAD import. · لسير العمل من الويب إلى CAD: صدّر إلى GeoJSON من محرر الويب، ثم حول إلى DXF لاستيراد CAD.