# QGIS: تحويل CSV إلى SHP

يساعد هذا الدرس على تحويل CSV إلى SHP (ملف shapefile). فيما يلي خطوات القيام بذلك باستخدام [QGIS](https://www.qgis.org/en/site/) برنامج سطح المكتب.

**مهم**: يجب أن تحتوي البيانات بصيغة CSV على `خط الطول` و `خط العرض` أعمدة لإجراء الربط الجغرافي الصحيح.

**الخطوة 1**: ابدأ عملية الاستيراد باستخدام "Layer" >> "Add Layer" >> "Add Delimited Text Layer".

<figure><img src="/files/4ba907f9ac72006f88f9fb0af7b135bcdf51d38a" alt=""><figcaption></figcaption></figure>

**الخطوة 2**: اضبط معلمات الاستيراد وانقر على زر "Add".

1. حدّد مسار ملف CSV
2. تحقق من فاصل الأعمدة، يجب أن يكون فاصلة.
3. تحقق من الصف الأول. عادةً، يحتوي على أسماء السمات. يجب استبعاده من التحليل.
4. حدّد أعمدة مجموعة البيانات التي تحتوي على بيانات خط العرض (X) وخط الطول (Y).
5. اضبط نظام الإحداثيات المرجعي. عادةً ما يُستخدم ESPG:4326.

<figure><img src="/files/446b43a9585fe58285fba212dfcd03095b4d80f5" alt=""><figcaption></figcaption></figure>

النتيجة المتوقعة بعد **الخطوة 2** تبدو كما يلي

<figure><img src="/files/71d4ce85d4e30d9fa07d9f52897a207c15615df2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1561dec76d801641cd1c092275dc9f2a01d95491" alt=""><figcaption></figcaption></figure>

**الخطوة 3**: ابدأ مسار التصدير عبر النقر بزر الفأرة الأيمن >> "Export" >> "Save Features As ..."

<figure><img src="/files/e6d9e9fdc6159492171708908f1a79def295a4c9" alt=""><figcaption></figcaption></figure>

**الخطوة 4**: اضبط خيارات التصدير المناسبة وانقر على "Ok".

1. حدّد مسار ملف shapefile المُصدَّر.
2. اضبط نظام الإحداثيات المرجعي (CRS) على ESPG:4326، وهو مقبول لدى GeoPard.

<figure><img src="/files/64d2de6043ebdfca1e687d3c2db4384eac5e8e46" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geopard.tech/geopard-tutorials/ar/tlmyhat-sryah-fy-gis/qgis-thwyl-csv-ila-shp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
