名前

ST_InterpolatePoint — ジオメトリのポイントに最も近いポイント上の補間M値を返します。

概要

float8 ST_InterpolatePoint(geometry line, geometry point);

説明

指定されたポイントに最も近いジオメトリにおけるジオメトリの補間M値を返します。

Availability: 2.0.0

This function supports 3d and will not drop the z-index.

SELECT ST_InterpolatePoint('LINESTRING M (0 0 0, 10 0 20)', 'POINT(5 5)');
 st_interpolatepoint
 ---------------------
         10
        

関連情報

ST_AddMeasure, ST_LocateAlong, ST_LocateBetween