Sign InWorkflowOpen Workspace

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

Learn how to convert Shapefiles to CAD (DXF), maps (KMZ, GeoJSON), and data (CSV) while preserving all attributes and coordinates. • تعلم كيفية تحويل Shapefiles إلى CAD (DXF) والخرائط (KMZ و GeoJSON) والبيانات (CSV) مع الحفاظ على جميع السمات والإحداثيات.

Understanding Shapefiles · فهم Shapefiles

A Shapefile is actually a collection of multiple files that must be uploaded as a single ZIP:

ملف Shapefile هو في الواقع مجموعة من الملفات المتعددة التي يجب تحميلها كملف ZIP واحد:

  • .shp — Main file with geometry (points, lines, polygons) · .shp — الملف الرئيسي مع الهندسة (نقاط وخطوط ومضلعات)
  • .shx — Shape index file (required) · .shx — ملف فهرس الشكل (مطلوب)
  • .dbf — Database with all attributes/properties (required) · .dbf — قاعدة البيانات مع جميع السمات/الخصائص (مطلوب)
  • .prj — Coordinate system definition (IMPORTANT — do not forget!) · .prj — تعريف نظام الإحداثيات (مهم جداً — لا تنسى!)
  • .cpg — Code page (optional, for non-English text) · .cpg — صفحة الرموز (اختياري، للنصوص غير الإنجليزية)

Important: All files must have the same base name. Example: boundary.shp, boundary.shx, boundary.dbf, boundary.prj

مهم: يجب أن تحتوي جميع الملفات على نفس الاسم الأساسي. مثال: boundary.shp و boundary.shx و boundary.dbf و boundary.prj

Preparing Your Shapefile · تحضير ملف Shapefile

  1. Ensure all Shapefile components are together (.shp, .shx, .dbf, .prj)
  2. تأكد من أن جميع مكونات Shapefile معاً (.shp و.shx و.dbf و.prj)
  3. Create a ZIP file containing all these files (Windows: right-click → Send to → Compressed folder; Mac: right-click → Compress)
  4. أنشئ ملف ZIP يحتوي على جميع هذه الملفات (Windows: انقر بزر الماوس الأيمن → إرسال إلى → مجلد مضغوط؛ Mac: انقر بزر الماوس الأيمن → ضغط)
  5. Upload the ZIP to GeoCAD Bridge
  6. حمّل ملف ZIP إلى GeoCAD Bridge

Common Issues & Solutions · المشاكل الشائعة والحلول

Missing .prj file causes coordinate system loss

Without a .prj file, GeoCAD Bridge cannot know the original coordinate system. Always include the .prj file in your ZIP. If you have an old Shapefile without it, you can create one by specifying the EPSG code (e.g., "EPSG:32637" for Saudi Arabia UTM).

ملف .prj المفقود يؤدي إلى فقدان نظام الإحداثيات

بدون ملف .prj، لا يمكن لـ GeoCAD Bridge معرفة نظام الإحداثيات الأصلي. أضفّ دائماً ملف .prj في ملف ZIP الخاص بك. إذا كان لديك ملف Shapefile قديم بدونه، يمكنك إنشاء واحد بتحديد رمز EPSG (مثل "EPSG:32637" لـ UTM السعودية).

Shapefile appears at wrong location (0,0 or ocean)

The .prj file exists but contains the wrong coordinate system definition. This happens when Shapefiles are re-projected but not re-defined. Extract the ZIP, open the .prj file in a text editor, and verify it matches the data (e.g., if data is in UTM 37N, .prj should say PROJCS with UTM parameters).

يظهر Shapefile في موقع خاطئ (0,0 أو محيط)

يوجد ملف .prj لكنه يحتوي على تعريف نظام إحداثيات خاطئ. يحدث هذا عندما يتم إعادة توقع Shapefiles لكن لم يتم إعادة تعريفها. استخرج ملف ZIP وافتح ملف .prj في محرر نصوص وتحقق من أنه يطابق البيانات (على سبيل المثال، إذا كانت البيانات في UTM 37N، يجب أن يقول .prj PROJCS مع معاملات UTM).

Non-English text appears as gibberish

The Shapefile lacks a .cpg (code page) file for non-Latin text encoding. If you have Arabic, Chinese, or other non-Latin text in attributes, include a .cpg file specifying the encoding (e.g., "UTF-8" or "ARABIC" for Arabic text).

النصوص غير الإنجليزية تظهر بشكل غير صحيح

الملف Shapefile يفتقد ملف .cpg (صفحة الرموز) لترميز النصوص غير اللاتينية. إذا كان لديك نصوص عربية أو صينية أو غير لاتينية أخرى في السمات، أضفّ ملف .cpg يحدد الترميز (مثل "UTF-8" أو "ARABIC" للنصوص العربية).

Output Formats · صيغ الإخراج

Shapefile → DXF (CAD)

Shapefile → DXF (CAD)

  • Each feature becomes a CAD layer with the feature type (POINTS, LINES, POLYGONS)
  • تصبح كل ميزة طبقة CAD مع نوع الميزة (POINTS و LINES و POLYGONS)
  • Attributes become CAD entity properties (visible in Entity Properties dialog)
  • تصبح السمات خصائص كيان CAD (مرئية في حوار خصائص الكيان)

Shapefile → KMZ (Google Earth)

Shapefile → KMZ (Google Earth)

  • Points become placemarks, lines/polygons become paths and polygons
  • تصبح النقاط علامات موقع والخطوط/المضلعات تصبح مسارات ومضلعات
  • Attribute information available in info balloons
  • معلومات السمات متاحة في بالونات المعلومات

Shapefile → GeoJSON (Web Mapping)

Shapefile → GeoJSON (خرائط الويب)

  • Lossless conversion preserving all geometry and attributes
  • تحويل بدون فقدان يحافظ على جميع الهندسة والسمات
  • Perfect for Leaflet, Mapbox, and other JavaScript mapping libraries
  • مثالي لـ Leaflet و Mapbox ومكتبات الخرائط JavaScript الأخرى

Shapefile → CSV (Data Export)

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

  • Attributes only (geometry converted to centroid coordinates)
  • السمات فقط (يتم تحويل الهندسة إلى إحداثيات النقطة المركزية)
  • Opens in Excel/Sheets for data analysis
  • يفتح في Excel/Sheets لتحليل البيانات

Tips · نصائح

  • Before uploading, verify your Shapefile in QGIS or ArcGIS to confirm the data displays correctly. · قبل التحميل، تحقق من ملف Shapefile في QGIS أو ArcGIS للتأكد من عرض البيانات بشكل صحيح.
  • For attribute queries, export to GeoJSON or CSV for full preservation of all fields. · للاستعلامات عن السمات، صدّر إلى GeoJSON أو CSV للحفاظ الكامل على جميع الحقول.
  • If converting boundaries to DXF for CAD: remember that polyline Z values are not preserved; use 2D conversion. · إذا كنت تحول الحدود إلى DXF للـCAD: تذكر أن قيم Z للخطوط المتعددة لا يتم الحفاظ عليها؛ استخدم التحويل 2D.