Import KML file
នាំចូលព្រំដែន KML មើលកូអរដោនេជាមុនក្នុងតារាង រួចបង្កើតលក្ខណៈចំណុច ខ្សែ ឬពហុកោណពីវា ឬនាំចេញកូអរដោនេជា CSV។
- រកឃើញនៅឯណា
- KGA Toolbox ▸ Data Creation ▸ Quick Template ▸ Import KML file
ទិដ្ឋភាពទូទៅ
Where KML Handler is a general two-way converter, this tool is built for one job: turning a KML boundary into cadastral geometry, with the coordinates shown before anything is created.
ការប្រើប្រាស់
- The preview table is the point of this tool. Before generating anything, the coordinates are listed with these columns: Check the table before generating. A KML from a phone or a web tool often contains more than the boundary you want, and SourceType and SourceName are how you tell which points came from where.
| Column | Contents |
|---|---|
| PointID | The point identifier |
| Longitude / Latitude | The coordinate, as read from the KML |
| SourceType / SourceName | What KML element the point came from, and its name |
| GroupName | The grouping the point belongs to |
| VertexID | The vertex number within its ring |
- Source CRS is fixed at WGS 1984 / EPSG:4326, because that is what KML always uses. Output CRS is the coordinate system the generated features are written in — set it to your project's projected system, or the output arrives in degrees and cannot be measured.
- Three generation actions produce different geometry from the same coordinates: The point order in the table determines the shape of the line and polygon. Check the VertexID ordering before generating a polygon — out-of-order points produce a self-crossing boundary.
| Action | Produces |
|---|---|
| Generate Point | One point per coordinate row |
| Generate Line | A line through the points |
| Generate Polygon | A closed polygon from the points |
- Export CSV writes the coordinate table out without generating features, which is useful for checking the values against a survey record.
- Base name names the outputs. Store output in default project geodatabase or Choose location sets where they go.
ប៉ារ៉ាម៉ែត្រ
| ផ្ទាំងគ្រប់គ្រង | ការពិពណ៌នា |
|---|---|
| KML: | The KML file being imported. |
| Source CRS: | Fixed at WGS 1984 / EPSG:4326 — the coordinate system KML always uses. |
| Output CRS: | The coordinate system the generated features are written in. Set this to your project's projected system. |
| Base name: | The base name for the generated outputs. |
| Store output in default project geodatabase | Writes the outputs to the project's default geodatabase. |
| Choose location | Writes the outputs to a location you browse to. |
| PointID / Longitude / Latitude / SourceType / SourceName / GroupName / VertexID | Preview table columns showing the coordinates and where each point came from. |
| Generate Point | Creates one point per coordinate row. |
| Generate Line | Creates a line through the points, in table order. |
| Generate Polygon | Creates a closed polygon from the points, in table order. |
| Export CSV | Writes the coordinate table to CSV without generating features. |
របៀបប្រើ
- On the KGA Toolbox tab, in the Data Creation group, open the Quick Template menu and click Import KML file.
- Choose the KML file. The preview table fills with its coordinates.
- Read the table. Use SourceType and SourceName to confirm the points came from the boundary you intended, not from some other element in the file.
- Check the VertexID ordering, especially if you intend to generate a polygon.
- Set Output CRS to your project's projected coordinate system.
- Type a Base name and choose the output location.
- Click Generate Polygon, Generate Line, or Generate Point as needed.
- If you want the coordinates as a file as well, click Export CSV.
ព័ត៌មានអាជ្ញាបណ្ណ
Requires an active KGA Toolbox license. The tool validates the license before running.