ST_Node — Node a set of linestrings.
geometry ST_Node(
geometry geom)
;
Fully node a set of linestrings using the least possible number of nodes while preserving all of the input ones.
This function supports 3d and will not drop the z-index.
Availability: 2.0.0 - requires GEOS >= 3.3.0.
Due to a bug in GEOS up to 3.3.1 this function fails to node self-intersecting lines. This is fixed with GEOS 3.3.2 or higher. |
Changed: 2.4.0 this function uses GEOSNode internally instead of GEOSUnaryUnion. This may cause the resulting linestrings to have a different order and direction compared to Postgis < 2.4. |