KGA Data Conversionដំណើរការជាបាច់
Export Attributes to Excel
សរសេរគុណលក្ខណៈរបស់ស្រទាប់ ទៅជា Excel workbook ដែលមិត្តរួមការងារអាចកែបានដោយមិនចាំបាច់មាន QGIS ក្នុងទម្រង់ដែល Import Attributes from Excel អាចនាំត្រឡប់មកវិញដោយសុវត្ថិភាព។
- រកឃើញនៅឯណា
- Processing ▸ Toolbox ▸ KGA Toolbox ▸ KGA Data Conversion ▸ Export Attributes to Excel
- លេខសម្គាល់ algorithm
- kga:attributes_to_xlsx
- ប្រភេទឧបករណ៍
- Batch algorithm
ទិដ្ឋភាពទូទៅ
This is the outbound half of the attribute round trip. The workbook is not a dump: it carries a hidden sheet recording which layer it came from, drop-downs for every field with a value map, and a locked key column, so what comes back is already valid and already matched.
ប៉ារ៉ាម៉ែត្រ
| ឈ្មោះ | ប្រភេទ | តម្លៃលំនាំដើម | ការពិពណ៌នា |
|---|---|---|---|
| Input layer | Vector layer | — | The layer to export. |
| Key field (identifies each row) | Field of Input layer, optional | empty | The column that identifies a record on the way back. Choose something stable and unique. |
| Fields to export (all if left empty) | Field of Input layer, multiple, optional | empty (all) | |
| Selected features only | Boolean | False | |
| Turn value maps into Excel dropdowns | Boolean | True | Any field with a value map — from a field domain or set by hand — becomes a drop-down in the workbook, so the data comes back already valid. |
| Open the workbook when it is written | Boolean | True | |
| Workbook | File destination (*.xlsx) | — |
របៀបប្រើ
- Open KGA Data Conversion > Export Attributes to Excel.
- Pick the Input layer and a Key field — this is the single most important choice, because it is what matches the edited rows back.
- Narrow Fields to export to what the colleague actually has to fill in. A shorter sheet comes back with fewer accidents.
- Press Run. The workbook opens straight away.
- Send it, get it back, and apply it with Import Attributes from Excel — which already has this file and this layer filled in.
លទ្ធផល
លទ្ធផលដែលប្រកាស
| ឈ្មោះ | ប្រភេទ | ការពិពណ៌នា |
|---|---|---|
| Rows written | Number |
អ្វីដែលអ្នកទទួលបាន
- An
.xlsxworkbook with:- a data sheet — the key column first, then the fields you chose;
- a hidden
_kga_metasheet recording which layer it came from, so the import can tell whether a sheet belongs to the layer it is applied to; - drop-downs on value-mapped columns;
- the key column shaded and locked.
- The Rows written count.
- The file and layer remembered for the import tool.
កំណត់សម្គាល់ និងដែនកំណត់
- The formatting touches need the
openpyxllibrary. Without it the workbook is written plain — no drop-downs, no locked key — and the round trip still works. The log says which happened. - An edited key is a row that matches nothing on the way back. That is why the key column is locked; do not unlock it.
- Nothing is written back to the layer. This half is read-only.
- Excel's habits — turning the text code
0042into the number 42, turning a date into the serial 45231 — are handled on the way in, by the import tool, not prevented here.