27.1.7. 网孔
27.1.7.1. Export contours
Creates contours as a vector layer from a mesh scalar dataset.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Increment between contour levels 可选 |
|
[数字] Default: Not set |
Interval between generated levels. |
Minimum contour level 可选 |
|
[数字] Default: Not set |
Starting level values of contours. |
Maximum contour level 可选 |
|
[数字] Default: Not set |
Maximum values of contours, i.e. no generated levels will be greater than this value. |
List of contours level 可选 |
|
[数字] Default: Not set |
List of wanted levels of contours (separated by commas). If filled, the increment, minimum, and maximum fields will not be considered. |
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Exported contour lines |
|
[vector: line] Default: |
Specify the output line layer representing the contours of the mesh layer. One of:
文件编码也可以在此更改。 |
Exported contour polygons |
|
[vector: polygon] Default: |
Specify the output polygon layer representing the contours of the mesh layer. One of:
文件编码也可以在此更改。 |
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Exported contour lines |
|
[vector: line] |
Line layer representing the contours of the mesh layer. |
Exported contour polygons |
|
[vector: polygon] |
Polygon layer representing the contours of the mesh layer. |
Python代码
Algorithm ID: native:meshcontours
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.2. Export cross section dataset values on lines from mesh
Extracts a mesh dataset's values from lines contained in a vector layer.
Each line is discretized with a resolution distance parameter for extraction of values on its vertices.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Lines for data export |
|
[vector: line] |
Lines where the data will be extracted from the dataset mesh |
Line segmentation resolution |
|
[数字] Default: 10.0 |
The distance between points on the lines where the data will be extracted from the dataset mesh. |
Digits count for dataset value |
|
[数字] Default: 2 |
Number of digits to round dataset values |
Exported data CSV file |
|
[file] 默认: |
Specification of the output file. One of:
|
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Exported data CSV file |
|
[file] |
Python代码
Algorithm ID: native:meshexportcrosssection
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.3. Export mesh edges
Exports a mesh layer's edges to a line vector layer, with the dataset values on edges as attribute values.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Export vector option |
|
[enumeration] |
Coordinate type of vector value exportation.
|
Output vector layer |
|
[vector: line] Default: |
Specification of the output file. One of:
文件编码也可以在此更改。 |
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output vector layer |
|
[vector: line] |
Output vector line layer containing the edges of the input mesh layer with associated dataset values |
Python代码
Algorithm ID: native:exportmeshedges
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.4. Export mesh faces
Exports a mesh layer's faces to a polygon vector layer, with the dataset values on faces as attribute values.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Export vector option |
|
[enumeration] |
Coordinate type of vector value exportation.
|
Output vector layer |
|
[vector: polygon] Default: |
Specification of the output file. One of:
文件编码也可以在此更改。 |
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output vector layer |
|
[vector: polygon] |
Output vector polygon layer containing the faces of the input mesh layer with associated dataset values |
Python代码
Algorithm ID: native:exportmeshfaces
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.5. Export mesh on grid
Exports a mesh layer's dataset values to a gridded point vector layer, with the dataset values on this point as attribute values.
For data on volume (3D stacked dataset values), the exported dataset values are averaged on faces using the method defined in the mesh layer properties (default is Multi level averaging method). 1D meshes are not supported.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Extent 可选 |
|
[范围] |
Specify the spatial extent on which to process the data. Available methods are:
|
Grid spacing 可选 |
|
[数字] Default: 10.0 |
Spacing between the sample points to use |
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Export vector option |
|
[enumeration] |
Coordinate type of vector value exportation.
|
Output vector layer |
|
[vector: point] Default: |
Specification of the output file. One of:
文件编码也可以在此更改。 |
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output vector layer |
|
[vector: point] |
Output vector point layer with dataset values computed from the overlaid face. |
Python代码
Algorithm ID: native:exportmeshongrid
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.6. Export mesh vertices
Exports a mesh layer's vertices to a point vector layer, with the dataset values on vertices as attribute values.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Export vector option |
|
[enumeration] |
Coordinate type of vector value exportation.
|
Output vector layer |
|
[vector: point] Default: |
Specification of the output file. One of:
文件编码也可以在此更改。 |
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output vector layer |
|
[vector: point] |
Output vector point layer containing the vertices of the input mesh layer with associated dataset values |
Python代码
Algorithm ID: native:exportmeshvertices
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.7. Export time series values from points of a mesh dataset
Extracts a mesh dataset's time series values from points contained in a vector layer.
If the time step is kept to its default value (0 hours), the time step used is the one of the two first datasets of the first selected dataset group.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to extract data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Starting time |
|
[datetime] |
The start of the time range to take into account
|
Finishing time |
|
[datetime] |
The end of the time range to take into account
|
Time step (hours) 可选 |
|
[数字] Default: 0 |
Time between two consecutive steps to extract.
Keep |
Points for data export |
|
[vector: point] |
Vector layer containing points where the data will be extracted from the dataset mesh |
Digits count for coordinates |
|
[数字] |
Number of digits to round coordinate values Default: 2 |
Digits count for dataset value |
|
[数字] Default: 2 |
Number of digits to round dataset values |
Exported data CSV file |
|
[file] 默认: |
Specification of the output file. One of:
|
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Exported data CSV file |
|
[file] |
|
Python代码
Algorithm ID: native:meshexporttimeseries
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.8. Rasterize mesh dataset
Creates a raster layer from a mesh dataset.
For data on volume (3D stacked dataset values), the exported dataset values are averaged on faces using the method defined in the mesh layer properties (default is Multi level averaging method). 1D meshes are not supported.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input mesh layer |
|
[mesh] |
The mesh layer to export data from |
Dataset groups |
|
[layer] [list] |
The dataset groups |
Dataset time |
|
[datetime] |
The time range to take into account
|
Extent 可选 |
|
[范围] |
Specify the spatial extent on which to process the data. Available methods are:
|
Pixel size |
|
[数字] 默认值:1.0 |
Pixel size of the output raster layer. |
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Output raster layer |
|
[栅格] 默认: |
Specification of the output file. One of:
|
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output raster layer |
|
[栅格] |
Output raster layer with dataset values computed from the mesh layer. |
Python代码
Algorithm ID: native:meshrasterize
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
27.1.7.9. TIN mesh creation
Creates a TIN mesh layer from vector layers. The TIN mesh is created using a Delaunay triangulation.
参数
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Input layers |
|
[vector: any] [list] |
Vector layers to combine to generate the mesh layer |
Vector layer |
GUI ONLY |
[vector: any] [list] |
A selector for the vector layers to combine to generate the mesh layer |
Value on vertex |
GUI ONLY |
[tablefield: any] |
A selector of the field to use from the selected layer. Each vertex is assigned the corresponding value of its original feature. |
Use Z-coordinate for value on vertex |
GUI ONLY |
[boolean] Default: False |
If checked, the Z value of vector layer points or polygons/lines vertices will be used to assign the Z value of the vertex mesh layer. Only available if the input layers are 3D. |
Output format |
|
[enumeration] Default: 2DM |
Output format of the generated layer
|
Output coordinate system 可选 |
|
[crs] |
Coordinate Reference System to assign to the output |
Output file |
|
[mesh] 默认: |
Specification of the output file. One of:
|
输出
标注 |
名称 |
类型 |
描述 |
---|---|---|---|
Output file |
|
[mesh] |
Output mesh layer with dataset values computed from the vector layers. |
Python代码
Algorithm ID: native:tinmeshcreation
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。