Data Creationឧបករណ៍ដំណើរការ

Point To Polygon

បង្កើតពហុកោណពីសំណុំចំណុចព្រំដែនដែលបានតម្រៀបតាមលំដាប់។ ចំណុចអាចមកពីស្រទាប់ចំណុចដែលមានស្រាប់ ឬពីតារាង CSV នៃកូអរដោនេ X/Y។

រកឃើញនៅឯណា
KGA Toolbox ▸ Data Creation ▸ Conversion Tool ▸ Point To Polygon

ទិដ្ឋភាពទូទៅ

The tool connects the points into a closed line in the order given by the Point Order Field, then converts that line into a polygon. This is the standard route for turning a field survey — a list of numbered corner coordinates — into a parcel polygon.

ការប្រើប្រាស់

  • Point order matters. The tool traverses points in ascending order of Point Order Field, so that field must contain a clean sequence (1, 2, 3, …) per plot. An out-of-sequence value produces a self-crossing boundary and the polygon will fail to close correctly.
  • Point Order Field accepts short and long integer fields only. If the survey sequence is stored as text, convert it first with Value Type Converter.
  • To read coordinates from a CSV or Excel table, check Input Point is CSV?. The X Field, Y Field, and Input Coordinate System parameters are then enabled and required — a plain coordinate table carries no spatial reference of its own, so the coordinate system must be stated explicitly.
  • When the input is already a point feature layer, leave Input Point is CSV? unchecked. X Field, Y Field, and Input Coordinate System are ignored and the layer's own spatial reference is used.
  • Output names are derived from the input name:
OutputName pattern
Polygonpolygon_from_<input>
LineLine_from_<input> (CSV input: line_from_<input>_Line)
Point<input>_Point (CSV input only)
  • Check Create Point and/or Line? to keep the intermediate line — and, for CSV input, the generated point feature class — as permanent datasets. Left unchecked, only the polygon is retained.

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

Parameters for Point To Polygon
ឈ្មោះប្រភេទទិន្នន័យការពិពណ៌នា
Input Point is CSV?ជម្រើសBoolean

Declares that the input is a coordinate table rather than a point feature layer.

  • Checked — X Field, Y Field, and Input Coordinate System are enabled and required.
  • Unchecked (default) — The input is treated as a point feature layer.
Input Point DataFeature Layer; Table View

The point features or coordinate table that supplies the boundary vertices.

X Fieldជម្រើសField

The field holding the X (easting or longitude) coordinate. Required when Input Point is CSV? is checked. Numeric fields only.

Y Fieldជម្រើសField

The field holding the Y (northing or latitude) coordinate. Required when Input Point is CSV? is checked. Numeric fields only.

Input Coordinate Systemជម្រើសSpatial Reference

The spatial reference the X/Y values are expressed in. Required when Input Point is CSV? is checked.

Point ID FieldField

The field identifying the polygon each point belongs to. Points sharing an ID are assembled into one polygon, so one run can build many polygons at once.

Point Order FieldField

The field defining the traversal order of points around each boundary. Short or long integer only.

Create Point and/or Line?ជម្រើសBoolean

Retains the intermediate datasets.

  • Checked — The line feature class (and the point feature class, for CSV input) is kept and added to the map.
  • Unchecked (default) — Only the polygon output is kept.
Output workspaceWorkspace; Feature Dataset

The geodatabase or feature dataset that receives the outputs.

Add output to map?ជម្រើសBoolean

Controls whether the outputs are added to the active map.

  • Checked (default) — Outputs are added.
  • Unchecked — Outputs are created but not added.

Derived Output

Parameters for Point To Polygon — Derived Output
ឈ្មោះប្រភេទទិន្នន័យការពិពណ៌នា
Output PolygonFeature Class

The polygon feature class built from the boundary points, named polygon_from_<input>.

Output LineFeature Class

The closed boundary line, retained only when Create Point and/or Line? is checked.

Output PointFeature Class

The point feature class generated from the coordinate table, for CSV input with Create Point and/or Line? checked.

របៀបប្រើ

From an existing point layer

  1. On the KGA Toolbox tab, in the Data Creation group, open the Conversion Tool gallery and click Point To Polygon.
  2. Set Input Point Data to the boundary point layer.
  3. Set Point ID Field to the field that groups points by parcel or plot.
  4. Set Point Order Field to the integer field holding the corner sequence.
  5. Set Output workspace.
  6. Click Run.

From a CSV coordinate table

  1. Add the CSV to the project so it appears in the Standalone Tables section of the Contents pane.
  2. Open Point To Polygon and check Input Point is CSV?.
  3. Set Input Point Data to the table, then set X Field and Y Field.
  4. Set Input Coordinate System to the coordinate system the survey was recorded in. This step is required — the tool cannot infer it from a table.
  5. Set Point ID Field and Point Order Field.
  6. Check Create Point and/or Line? if you want the generated points kept as a feature class.
  7. Set Output workspace and click Run.

ព័ត៌មានអាជ្ញាបណ្ណ

Requires an active KGA Toolbox license. The tool validates the license before running.

មើលផងដែរ

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