Data Managementផ្ទាំងអន្តរកម្ម

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.
ColumnContents
PointIDThe point identifier
Longitude / LatitudeThe coordinate, as read from the KML
SourceType / SourceNameWhat KML element the point came from, and its name
GroupNameThe grouping the point belongs to
VertexIDThe 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.
ActionProduces
Generate PointOne point per coordinate row
Generate LineA line through the points
Generate PolygonA 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.

ប៉ារ៉ាម៉ែត្រ

Parameters for Import KML file
ផ្ទាំងគ្រប់គ្រងការពិពណ៌នា
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.

របៀបប្រើ

  1. On the KGA Toolbox tab, in the Data Creation group, open the Quick Template menu and click Import KML file.
  2. Choose the KML file. The preview table fills with its coordinates.
  3. 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.
  4. Check the VertexID ordering, especially if you intend to generate a polygon.
  5. Set Output CRS to your project's projected coordinate system.
  6. Type a Base name and choose the output location.
  7. Click Generate Polygon, Generate Line, or Generate Point as needed.
  8. 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.

មើលផងដែរ

ត្រឡប់ទៅឯកសារណែនាំ