SETELEV

Set elevation for vector layer


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


SETELEV sets the elevation value using bilinear interpolation for georeferenced coordinates. The new elevation value will overwrite the previous elevation value for every vertex from the specified vector layer.
Back to top

Parameters


Name Type Length Value range
InputDem: Input elevation channel* Raster port 1 - 1  
InputVec: Vertex layer* Vector port 1 - 1  
OutputVec: Output vector segment* Vector port 1 - 1  

* Required parameter
Back to top

Parameter descriptions

InputDem: Input elevation channel

Specifies the image channel that contains the DEM information.

InputVec: Vertex layer

Specifies the vector segment that contains the input vertices.

OutputVec: Output vector segment

Specifies the vector segment that contains the input vertices.

For every input vertex, SETELEV calculates the elevation value using bilinear interpolation for georeferenced coordinates, and overwrites the previous elevation value.

Back to top

Details

SETELEV sets the z-coordinates of vectors in an output vector layer from the values in the DEM channel of an image file.

Bilinear interpolation determines the gray level from the weighted average of the four closest pixels to the specified vertex x- and y- coordinates, and assigns that value to the z-coordinate of the vertex.

To verify the results of SETELEV, you can run VECREP.

© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.