KML Handler
បម្លែងឯកសារ KML និង KMZ ទៅជាស្រទាប់ GIS និងបម្លែងស្រទាប់ GIS ត្រឡប់ទៅជា KML ឬ KMZ វិញ ជាមួយប្រព័ន្ធកូអរដោនេគោលដៅ និងកំណត់ហេតុដំណើរការ។
- រកឃើញនៅឯណា
- KGA Toolbox ▸ Data Creation ▸ Quick Template ▸ KML Handler
ទិដ្ឋភាពទូទៅ
The window handles both directions, so it is the general-purpose KML tool. For importing a boundary with a coordinate preview and a choice of output geometry, use Import KML file instead.
ការប្រើប្រាស់
- The window has two independent halves:
| Section | Direction | Action button |
|---|---|---|
| KML/KMZ to GIS Layer | KML or KMZ in, feature layer out | Run Extraction |
| GIS Layer to KML/KMZ | Feature layer in, KML or KMZ out | Run Conversion |
- For import, Select input browses to the KML or KMZ file, Select output sets where the layer is written, and Output format and Target CRS are set under Configure settings.
- Target CRS matters on import. KML is always in WGS 84 geographic coordinates — that is fixed by the format. Set Target CRS to the projected system your project works in, or the imported layer arrives in degrees and cannot be measured or used with the metre-based tools.
- For export, Save as KMZ chooses between KML and KMZ. KMZ is a compressed single file, which is the better choice for sharing; plain KML is uncompressed and human-readable.
- Exported KML is reprojected to WGS 84 automatically, as the format requires. A projected source layer therefore changes coordinate system on the way out — this is normal, not an error.
- The Processing Log records what happened. Read it after a run: KML is a loose format and a file can contain geometry types, nested folders, or styling that do not map cleanly onto a feature class, and the log is where those problems are reported.
- Height is available where KML elevation values need handling.
ប៉ារ៉ាម៉ែត្រ
| ផ្ទាំងគ្រប់គ្រង | ការពិពណ៌នា |
|---|---|
| Select input | The KML or KMZ file to import. Import section. |
| Select output | Where the imported layer is written. Import section. |
| Output format | The format of the imported output. Import section. |
| Target CRS | The coordinate system the imported layer is written in. Set this to your project's projected system. |
| Height | Handling for KML elevation values. |
| Run Extraction | Runs the KML/KMZ to GIS layer conversion. |
| Save as KMZ | Writes a compressed KMZ instead of a plain KML. Export section. |
| Run Conversion | Runs the GIS layer to KML/KMZ conversion. |
| Processing Log | The record of what happened during the run. |
របៀបប្រើ
Import a KML or KMZ file
- On the KGA Toolbox tab, in the Data Creation group, open the Quick Template menu and click KML Handler.
- In the KML/KMZ to GIS Layer section, click Browse... beside Select input and choose the file.
- Set Select output.
- Under Configure settings, set Output format and set Target CRS to your project's projected coordinate system.
- Click Run Extraction.
- Read the Processing Log and check that everything you expected was imported.
Export a layer to KML or KMZ
- Open the tool and use the GIS Layer to KML/KMZ section.
- Choose the layer to export.
- Check Save as KMZ for a single compressed file, or leave it clear for plain KML.
- Click Run Conversion, then read the Processing Log.
ព័ត៌មានអាជ្ញាបណ្ណ
Requires an active KGA Toolbox license. The tool validates the license before running.