Elevation Profile from Line Path
បង្កើតតារាងក្រាហ្វិកទម្រង់កម្ពស់តាមបណ្តោយខ្សែ ដោយយកកម្ពស់ពី raster កម្ពស់ រួចសរសេរលទ្ធផលជារូបភាព PNG ឬ JPG។
- រកឃើញនៅឯណា
- KGA Toolbox ▸ Spatial Analysis ▸ Spatial Analysis ▸ Create Profile ▸ Elevation Profile from Line Path
ទិដ្ឋភាពទូទៅ
The chart is fully styleable from the tool dialog — fonts (including Khmer typefaces), colours, grid, markers, and fill under the curve — so the output can be dropped straight into a report or map layout without editing in a graphics package.
ការប្រើប្រាស់
- Input Line Feature accepts polyline features only. The profile follows the line's geometry from its start vertex to its end vertex, so line direction determines which end appears on the left of the chart. Flip the line if the profile reads backwards.
- Input Elevation Raster must cover the full length of the line. Sections of the line beyond the raster produce gaps in the profile.
- Output Chart must be a
.pngor.jpgfile. The chart is an image, not a layer — it is not added to the map. - All styling parameters sit behind Additional Chart Properties?. Leave it unchecked to accept the defaults, which produce a clean blue profile on a light background at 10×5 inches.
- Customize Figure Size takes a
WIDTHxHEIGHTstring in inches — for example,10x5. A larger figure gives more room for axis labels on a long profile. - For Khmer-language reports, set Choose Font to one of the Khmer typefaces in the list (
Battambang,Bayon,Hanuman,Khmer OS,Khmer OS Muol, and others). The chosen font applies to the title and axis labels. - Axis titles default to metric labels —
Distance (m)andElevation (m). Change them to match the raster's actual vertical units if it is not in metres; the tool does not convert units.
ប៉ារ៉ាម៉ែត្រ
Required input and output
| ឈ្មោះ | ប្រភេទទិន្នន័យ | ការពិពណ៌នា |
|---|---|---|
| Input Line Feature | Feature Set | The line along which elevation is sampled. Polyline geometry only. |
| Input Elevation Raster | Raster Layer | The elevation raster sampled to build the profile. Must cover the line. |
| Output Chart | File | The image file to write. Must be |
| Additional Chart Properties?ជម្រើស | Boolean | Enables the styling parameters below.
|
Chart Surround
| ឈ្មោះ | ប្រភេទទិន្នន័យ | ការពិពណ៌នា |
|---|---|---|
| Customize Figure Sizeជម្រើស | String | The figure size in inches, as |
| Chart Titleជម្រើស | String | The chart title. Default is |
| X Axis Titleជម្រើស | String | The horizontal axis label. Default is |
| Y Axis Titleជម្រើស | String | The vertical axis label. Default is |
| Choose Fontជម្រើស | String | The typeface for title and labels. Includes Latin faces ( |
| Title Sizeជម្រើស | Double | Title font size in points. Default is |
| Axis Label Sizeជម្រើស | Double | Axis label font size in points. Default is |
| Enable Legend?ជម្រើស | Boolean | Draws a legend on the chart. |
Graph Properties
| ឈ្មោះ | ប្រភេទទិន្នន័យ | ការពិពណ៌នា |
|---|---|---|
| Line Widthជម្រើស | Double | Profile line width. Default is |
| Line Graph Styleជម្រើស | String | Profile line style.
|
| Line Colorជម្រើស | String | Profile line colour. Offers a standard palette plus terrain-themed and ArcGIS-themed colours and a colourblind-safe set. Default is |
| Add Point Marker?ជម្រើស | Boolean | Draws a marker at each sampled point. |
| Point Marker Styleជម្រើស | String | Marker shape — |
| Marker Sizeជម្រើស | Long | Marker size. Default is |
Chart Properties
| ឈ្មោះ | ប្រភេទទិន្នន័យ | ការពិពណ៌នា |
|---|---|---|
| Background Colorជម្រើស | String | The chart background scheme. Default is |
| Add X Axis Grid?ជម្រើស | Boolean | Draws vertical grid lines. |
| Line Grid Styleជម្រើស | String | Grid line style — |
| Grid Widthជម្រើស | Double | Grid line width. Default is |
| Line Grid Colorជម្រើស | String | Grid colour — |
Fill Under Graph
| ឈ្មោះ | ប្រភេទទិន្នន័យ | ការពិពណ៌នា |
|---|---|---|
| Fill Area Under Graph?ជម្រើស | Boolean | Shades the area beneath the profile line, giving the familiar cross-section look. |
| Fill Colorជម្រើស | String | The shading colour. Includes light, pastel, and dark-mode-friendly options. Default is |
របៀបប្រើ
- Add the elevation raster to the map.
- On the KGA Toolbox tab, in the Spatial Analysis group, open the Spatial Analysis menu, point to Create Profile, and click Elevation Profile from Line Path.
- For Input Line Feature, either choose an existing polyline layer or digitise the profile line directly on the map using the feature-set control on the dialog.
- Set Input Elevation Raster.
- Set Output Chart to a
.pngor.jpgpath. - To style the chart, check Additional Chart Properties? and adjust the categories as needed. For a Khmer-language report, set Choose Font to a Khmer typeface.
- Click Run, then open the image file.
ព័ត៌មានអាជ្ញាបណ្ណ
Requires an active KGA Toolbox license. The tool validates the license before running.