Skip to content

Locate Point Along Nearest Line

Summary

Set M and Z coordinates from the nearest point on the nearest line

Tags:
vector, nearest, m coordinate

Usage

Find the nearest point on the nearest line, and transfer M and Z coordinates to the input point.

Parameters

Parameter Description Type
Points
INPUT
QgsProcessingParameterFeatureSource
Lines
LINES
QgsProcessingParameterFeatureSource
Search Distance
SEARCH_DISTANCE
Default value: 50.0 QgsProcessingParameterDistance
M|Z No-Data Value For Unmatched Points
NO_DATA
Default value: -999 QgsProcessingParameterNumber
Referenced Points
OUTPUT
QgsProcessingParameterFeatureSink