[postgis-users] Can DE-9IM patterns distinguish types of line meeting line at ends?

Mike Taves mwtoews at gmail.com
Mon Jul 11 04:48:37 PDT 2022


On Sun, 10 Jul 2022 at 22:16, Shaozhong SHI <shishaozhong at gmail.com> wrote:
>
> It looks like new methods need to be found.

Try using ST_StartPoint and ST_EndPoint, which can be used in self
joins of linestrings. These functions can identify (e.g.) stream
confluences, where one start point meets more than one end point.

Also, these functions can be made faster with a functional index.


More information about the postgis-users mailing list