|
63 | 63 | | [`ST_HasM`](#st_hasm) | Check if the input geometry has M values. | |
64 | 64 | | [`ST_HasZ`](#st_hasz) | Check if the input geometry has Z values. | |
65 | 65 | | [`ST_Hilbert`](#st_hilbert) | Encodes the X and Y values as the hilbert curve index for a curve covering the given bounding box. | |
| 66 | +| [`ST_InterpolatePoint`](#st_interpolatepoint) | Computes the closest point on a LINESTRING to a given POINT and returns the interpolated M value of that point. | |
66 | 67 | | [`ST_Intersection`](#st_intersection) | Returns the intersection of two geometries | |
67 | 68 | | [`ST_Intersects`](#st_intersects) | Returns true if the geometries intersect | |
68 | 69 | | [`ST_Intersects_Extent`](#st_intersects_extent) | Returns true if the extent of two geometries intersects | |
|
75 | 76 | | [`ST_Length_Spheroid`](#st_length_spheroid) | Returns the length of the input geometry in meters, using an ellipsoidal model of the earth | |
76 | 77 | | [`ST_LineInterpolatePoint`](#st_lineinterpolatepoint) | Returns a point interpolated along a line at a fraction of total 2D length. | |
77 | 78 | | [`ST_LineInterpolatePoints`](#st_lineinterpolatepoints) | Returns a multi-point interpolated along a line at a fraction of total 2D length. | |
| 79 | +| [`ST_LineLocatePoint`](#st_linelocatepoint) | Returns the location on a line closest to a point as a fraction of the total 2D length of the line. | |
78 | 80 | | [`ST_LineMerge`](#st_linemerge) | "Merges" the input line geometry, optionally taking direction into account. | |
79 | 81 | | [`ST_LineString2DFromWKB`](#st_linestring2dfromwkb) | Deserialize a LINESTRING_2D from a WKB encoded blob | |
80 | 82 | | [`ST_LineSubstring`](#st_linesubstring) | Returns a substring of a line between two fractions of total 2D length. | |
| 83 | +| [`ST_LocateAlong`](#st_locatealong) | Returns a point or multi-point, containing the point(s) at the geometry with the given measure | |
| 84 | +| [`ST_LocateBetween`](#st_locatebetween) | Returns a geometry or geometry collection created by filtering and interpolating vertices within a range of "M" values | |
81 | 85 | | [`ST_M`](#st_m) | Returns the M coordinate of a point geometry | |
82 | 86 | | [`ST_MMax`](#st_mmax) | Returns the maximum M coordinate of a geometry | |
83 | 87 | | [`ST_MMin`](#st_mmin) | Returns the minimum M coordinate of a geometry | |
@@ -1491,6 +1495,24 @@ For the BOX_2D and BOX_2DF variants, the center of the box is used as the point |
1491 | 1495 |
|
1492 | 1496 | ---- |
1493 | 1497 |
|
| 1498 | +### ST_InterpolatePoint |
| 1499 | + |
| 1500 | + |
| 1501 | +#### Signature |
| 1502 | + |
| 1503 | +```sql |
| 1504 | +DOUBLE ST_InterpolatePoint (line GEOMETRY, point GEOMETRY) |
| 1505 | +``` |
| 1506 | + |
| 1507 | +#### Description |
| 1508 | + |
| 1509 | +Computes the closest point on a LINESTRING to a given POINT and returns the interpolated M value of that point. |
| 1510 | + |
| 1511 | +First argument must be a linestring and must have a M dimension. The second argument must be a point. |
| 1512 | +Neither argument can be empty. |
| 1513 | + |
| 1514 | +---- |
| 1515 | + |
1494 | 1516 | ### ST_Intersection |
1495 | 1517 |
|
1496 | 1518 |
|
@@ -1683,6 +1705,21 @@ otherwise, the result is a multi-point with points repeated at the fraction inte |
1683 | 1705 |
|
1684 | 1706 | ---- |
1685 | 1707 |
|
| 1708 | +### ST_LineLocatePoint |
| 1709 | + |
| 1710 | + |
| 1711 | +#### Signature |
| 1712 | + |
| 1713 | +```sql |
| 1714 | +DOUBLE ST_LineLocatePoint (line GEOMETRY, point GEOMETRY) |
| 1715 | +``` |
| 1716 | + |
| 1717 | +#### Description |
| 1718 | + |
| 1719 | +Returns the location on a line closest to a point as a fraction of the total 2D length of the line. |
| 1720 | + |
| 1721 | +---- |
| 1722 | + |
1686 | 1723 | ### ST_LineMerge |
1687 | 1724 |
|
1688 | 1725 |
|
@@ -1729,6 +1766,52 @@ Returns a substring of a line between two fractions of total 2D length. |
1729 | 1766 |
|
1730 | 1767 | ---- |
1731 | 1768 |
|
| 1769 | +### ST_LocateAlong |
| 1770 | + |
| 1771 | + |
| 1772 | +#### Signatures |
| 1773 | + |
| 1774 | +```sql |
| 1775 | +GEOMETRY ST_LocateAlong (line GEOMETRY, measure DOUBLE, offset DOUBLE) |
| 1776 | +GEOMETRY ST_LocateAlong (line GEOMETRY, measure DOUBLE) |
| 1777 | +``` |
| 1778 | + |
| 1779 | +#### Description |
| 1780 | + |
| 1781 | +Returns a point or multi-point, containing the point(s) at the geometry with the given measure |
| 1782 | + |
| 1783 | +For a LINESTRING, or MULTILINESTRING, the location is determined by interpolating between M values |
| 1784 | +For a POINT and MULTIPOINT, the point is returned if the measure matches the M value of the vertex, otherwise an empty geometry is returned |
| 1785 | +For a POLYGON, only the exterior ring is considered, and treated as a LINESTRING |
| 1786 | + |
| 1787 | +If offset is provided, the resulting point(s) is offset by the given amount perpendicular to the line direction. |
| 1788 | + |
| 1789 | +---- |
| 1790 | + |
| 1791 | +### ST_LocateBetween |
| 1792 | + |
| 1793 | + |
| 1794 | +#### Signatures |
| 1795 | + |
| 1796 | +```sql |
| 1797 | +GEOMETRY ST_LocateBetween (line GEOMETRY, start_measure DOUBLE, end_measure DOUBLE, offset DOUBLE) |
| 1798 | +GEOMETRY ST_LocateBetween (line GEOMETRY, start_measure DOUBLE, end_measure DOUBLE) |
| 1799 | +``` |
| 1800 | + |
| 1801 | +#### Description |
| 1802 | + |
| 1803 | +Returns a geometry or geometry collection created by filtering and interpolating vertices within a range of "M" values |
| 1804 | + |
| 1805 | +Creates a geometry or geometry collection, containing the parts formed by vertices that have an "M" value within the "start_measure" and "end_measure" range |
| 1806 | + |
| 1807 | +For LINESTRING or MULTILINESTRING, if a line segment would cross either the upper or lower bound, a vertex is added by interpolating the coordinates at the "intersection" |
| 1808 | +For a POINT and MULTIPOINT, the point is added to the collection if its vertex has an "M" value within the range, otherwise it is skipped |
| 1809 | +For a POLYGON, only the exterior ring is considered, and treated like a LINESTRING |
| 1810 | + |
| 1811 | +If offset is provided, the resulting vertices are offset by the given amount perpendicular to the line direction. |
| 1812 | + |
| 1813 | +---- |
| 1814 | + |
1732 | 1815 | ### ST_M |
1733 | 1816 |
|
1734 | 1817 |
|
|
0 commit comments