> For the complete documentation index, see [llms.txt](https://docs.geopard.tech/geopard-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geopard.tech/geopard-tutorials/ar/nsaeh-sryah-fy-nzm-almalwmat-aljghrafyh/qgis-split-multi-field-shapefiles.md).

# QGIS: تقسيم ملف shapefile واحد إلى ملف لكل حقل

استخدم أداة Split Vector Layer في QGIS لتحويل ملف shapefile لحدود المزرعة كلها أو لإنتاجيتها إلى ملف منفصل لكل حقل، وتسمية الملفات حسب سمة الحقل.

شغّل أدوات إدارة البيانات للمتجهات > تقسيم الطبقة المتجهة، واختر حقل اسم الحقل كسمة للمعرّف الفريد، وسيكتب QGIS ملفًا لكل حقل في مجلد الإخراج. تأكد أولًا من أن لكل حقل اسمًا فريدًا، وإلا فسينتهي الأمر بحفظ حقلين لهما الاسم نفسه في ملف واحد.

{% hint style="success" %}
حمّل حدود الحقول بعد تقسيمها واعرض كل الحقول على خريطة واحدة: [ابدأ مجانًا](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-split-multi-field-shapefiles)
{% endhint %}

إذا احتوى ملف Shapefile واحد على مضلعات عدة حقول، فقسّمه قبل الاستيراد. يستورد GeoPard حدّ حقل واحدًا لكل ملف Shapefile. يساعدك سير العمل هذا في QGIS على تجهيز ملفات نظيفة بسرعة أكبر وتجنّب مشكلات الاستيراد.

### قبل البدء

* تأكد من أن للطبقة اسم حقل أو معرّفًا فريدًا.
* أنشئ مجلد إخراج فارغًا مسبقًا.
* أزِل `/`, `\`والأحرف الخاصة المشابهة من أسماء الحقول.

### تقسيم ملف Shapefile متعدد الحقول في QGIS

#### 1. افتح ملف Shapefile في QGIS

افتح ملف Shapefile المصدر في QGIS. وتأكد من احتوائه على مضلعات عدة حقول.

<figure><img src="https://lh5.googleusercontent.com/G8ooE_FarMCXvt6CjpvfwgRIiIwLVcSki84FFUiBelII7dZVLJHPN2K_Dj4As-VZNXYsut1q2JGtYEir3GCVfWqwKe4UAI9r9OcIM87jOkDRfiGes_wmD6zTmUyZpUZXgkQBUaW8RCsdaUKY18kaVQ" alt=""><figcaption><p>طبقة حدود الحقول الأولية، وتحتوي على مضلعات متعددة.</p></figcaption></figure>

#### 2. افتح أداة التقسيم

افتح خيارات الطبقة واختر **تقسيم الطبقة المتجهة**.

<figure><img src="https://lh4.googleusercontent.com/g5B3A43gGlRbUBv2hkAt8xVT7UXzLvj06KB99R471uQQAIZLdoHFPmopQfz9ntwflEEN70DDUuMp7LQGqPocfzkBWbVc27Fm3pPCu2kWhbfnaG54TKGKmj4gKJw7sA10NKJf6ezJ62JVLtMlpSAl1Q" alt=""><figcaption><p>افتح سير عمل التقسيم.</p></figcaption></figure>

#### 3. اختر الطبقة والسمة ومجلد الإخراج

حدّد ما يلي:

1. الطبقة المراد تقسيمها.
2. سمة فريدة لكل حقل.
3. مجلد الإخراج.

<figure><img src="https://lh3.googleusercontent.com/oWwaxwcCPhOp6kIlpDM4z0CK_J_Q6QGCoIdXhr-vMrpQrf_HOLT5ZfHYExEk7J0QIYdPKunOdhe14S9Ay_-FtwGnTnq19GdtnWC4cUcEhEOXIGj7vZdZPsCovszX0sVdz1bF-yraci-5g09ZNJRocw" alt=""><figcaption><p>حدّد الطبقة المصدر وسمة التقسيم.</p></figcaption></figure>

#### 4. حدّد تنسيق الإخراج

اختر **ESRI Shapefile** كتنسيق للإخراج.

<figure><img src="https://lh6.googleusercontent.com/tDOJ7vPBHqCy8peu5Xb97FkYz43HZXnniWwYj6-UXcaMyJaEvuWqx6ew40n9OvXM9OGrPGof0rWasEcgQFjh9SEakNXKW4K4n3Ei56B6jwttr_NW30naaD4OYNJERbQeqeX7bE4JJNd_HwYlgdKIqg" alt=""><figcaption><p>حدّد مجلد الإخراج وتنسيق Shapefile.</p></figcaption></figure>

#### 5. نفّذ عملية التقسيم

انقر على **تشغيل**. ينشئ QGIS ملفًا لكل مضلع. ويصبح كل مضلع ملف Shapefile مستقلًا لحدود حقل.

#### 6. حوّل ملفات `.gpkg` إلى ملفات `.shp` عند الحاجة

تنشئ بعض إعدادات QGIS ملفات `.gpkg` أولًا. إذا حدث ذلك، فافتح كل ملف واحفظه مجددًا بتنسيق **ESRI Shapefile**.

1. انقر بزر الفأرة الأيمن على الطبقة.
2. اختر **تصدير** → **حفظ المعالم باسم**.
3. اختر **ESRI Shapefile**.
4. حدّد اسم الملف وموقعه.
5. أزِل السمات غير الضرورية عند الحاجة.

### النتيجة

أصبح لديك الآن ملف Shapefile واحد لكل حقل. كل ملف جاهز لرفعه كحدّ للحقل في GeoPard. وهذا يوفر وقت الإعداد ويقلل الحاجة إلى إعادة العمل لتصحيح مشكلات الاستيراد التي يمكن تجنبها.

### أدلة QGIS ذات الصلة

* [QGIS: تحويل CSV إلى SHP](https://docs.geopard.tech/geopard-tutorials/ar/nsaeh-sryah-fy-nzm-almalwmat-aljghrafyh/qgis-convert-csv-to-shp.md)
* [QGIS: إعادة إسقاط ملف Shapefile](https://docs.geopard.tech/geopard-tutorials/ar/nsaeh-sryah-fy-nzm-almalwmat-aljghrafyh/qgis-reproject-shapefile.md)

{% hint style="success" %}
حمّل حدود الحقول بعد تقسيمها واعرض كل الحقول على خريطة واحدة: [ابدأ مجانًا](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-split-multi-field-shapefiles)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.geopard.tech/geopard-tutorials/ar/nsaeh-sryah-fy-nzm-almalwmat-aljghrafyh/qgis-split-multi-field-shapefiles.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
