@@ -156,6 +156,166 @@ Python code
156156 :end-before: **end_algorithm_code_section **
157157
158158
159+ .. _qgisgenerateelevationprofileimage :
160+
161+ Generate elevation profile image
162+ --------------------------------
163+
164+ Creates an elevation profile image from a list of map layers and an optional terrain layer.
165+
166+ Parameters
167+ ..........
168+
169+ Basic parameters
170+ ^^^^^^^^^^^^^^^^
171+
172+ .. list-table ::
173+ :header-rows: 1
174+ :widths: 20 20 20 40
175+
176+ * - Label
177+ - Name
178+ - Type
179+ - Description
180+ * - **Profile curve **
181+ - ``CURVE ``
182+ - [vector: line]
183+ - The line layer representing the profile curve along which the elevation profile will be generated
184+ * - **Map layers **
185+ - ``MAP_LAYERS ``
186+ - [layer] [list]
187+ - The list of map layers to include in the elevation profile
188+ * - **Chart width (in pixels) **
189+ - ``WIDTH ``
190+ - [number]
191+
192+ Default: 400
193+
194+ Minimum value: 0
195+ - The width of the output chart in pixels.
196+ * - **Chart height (in pixels) **
197+ - ``HEIGHT ``
198+ - [number]
199+
200+ Default: 300
201+
202+ Minimum value: 0
203+ - The height of the output chart in pixels.
204+ * - **Terrain layer **
205+
206+ Optional
207+ - ``TERRAIN_LAYER ``
208+ - [raster]
209+ - A terrain layer (e.g., DEM) to use for elevation data. If not provided, elevation data will be derived from the map layers.
210+
211+ Advanced parameters
212+ ^^^^^^^^^^^^^^^^^^^
213+
214+ .. list-table ::
215+ :header-rows: 1
216+ :widths: 20 20 20 40
217+
218+ * - Label
219+ - Name
220+ - Type
221+ - Description
222+ * - **Chart minimum distance (X axis) **
223+
224+ Optional
225+ - ``MINIMUM_DISTANCE ``
226+ - [number]
227+ - The minimum distance (X axis) to display on the chart. If not specified, the chart will auto-scale.
228+ * - **Chart maximum distance (X axis) **
229+
230+ Optional
231+ - ``MAXIMUM_DISTANCE ``
232+ - [number]
233+ - The maximum distance (X axis) to display on the chart. If not specified, the chart will auto-scale.
234+ * - **Chart minimum elevation (Y axis) **
235+
236+ Optional
237+ - ``MINIMUM_ELEVATION ``
238+ - [number]
239+ - The minimum elevation (Y axis) to display on the chart. If not specified, the chart will auto-scale.
240+ * - **Chart maximum elevation (Y axis) **
241+
242+ Optional
243+ - ``MAXIMUM_ELEVATION ``
244+ - [number]
245+ - The maximum elevation (Y axis) to display on the chart. If not specified, the chart will auto-scale.
246+ * - **Chart text color **
247+
248+ Optional
249+ - ``TEXT_COLOR ``
250+ - [color]
251+ - The color of the text in the chart (e.g., axis labels, titles).
252+ * - **Chart background color **
253+
254+ Optional
255+ - ``BACKGROUND_COLOR ``
256+ - [color]
257+ - The background color of the chart.
258+ * - **Chart border color **
259+
260+ Optional
261+ - ``BORDER_COLOR ``
262+ - [color]
263+ - The color of the chart border.
264+ * - **Profile tolerance **
265+ - ``TOLERANCE ``
266+ - [number]
267+
268+ Default: 5
269+
270+ Minimum value: 0
271+ - Defines how far a feature (vector point, line, polygon, or point cloud)
272+ can be from the profile line to be included in the results. It uses map units
273+ and does not affect other layer types.
274+ * - **Chart DPI **
275+ - ``DPI ``
276+ - [number]
277+
278+ Default: 96
279+
280+ Minimum value: 0
281+ - The resolution of the output image in dots per inch (DPI).
282+ * - **Output image **
283+ - ``OUTPUT ``
284+ - [file]
285+
286+ Default: ``[Save to temporary file] ``
287+ - Specify the image file for the plot. One of:
288+
289+ .. include :: ../algs_include.rst
290+ :start-after: **file_output_types **
291+ :end-before: **end_file_output_types **
292+
293+ Outputs
294+ .......
295+
296+ .. list-table ::
297+ :header-rows: 1
298+ :widths: 20 20 20 40
299+
300+ * - Label
301+ - Name
302+ - Type
303+ - Description
304+ * - **Output image **
305+ - ``OUTPUT ``
306+ - [file]
307+ - The generated elevation profile image in the specified format.
308+
309+
310+ Python code
311+ ...........
312+
313+ **Algorithm ID **: ``qgis:generateelevationprofileimage ``
314+
315+ .. include :: ../algs_include.rst
316+ :start-after: **algorithm_code_section **
317+ :end-before: **end_algorithm_code_section **
318+
159319.. _qgismeanandstandarddeviationplot :
160320
161321Mean and standard deviation plot
0 commit comments