PostGIS
Name
ST_SharedPaths — Returns a collection containing paths shared by the two input linestrings/multilinestrings.
Description
Returns a collection containing paths shared by the two input geometries. Those going in the same direction are in the first element of the collection, those going in the opposite direction are in the second element. The paths themselves are given in the direction of the first geometry.
Performed by the GEOS module.
Availability: 2.0.0
Examples: Finding shared paths
A multilinestring and a linestring |
The shared path of multilinestring and linestring overlaid with original geometries.
|
|