TransWikia.com

Postgresql - Snap intersecting and broken MultiLineString

Geographic Information Systems Asked on May 19, 2021

Im trying to use Postgresql to fix a few thousand hiking trails that i have in a map source. Now i have all of the trail parts as MultiLineString but my issue is that each of the trails are broken into multiple MultiLineStrings. Some of them seme to intersect at the point between the lines but some are broken so that there might be a few meters between the lines, i would like to set a tolerance for what distance is allowed between the end of the lines for them to be joined. In total i now have 57000 lines that i need to process. How can i solve this with Postgresql?

Example of intersecting line that is broken:

Example of intersecting line that is broken

Example of line that is broken with space between the lines:

Example of line that is broken with space between the lines

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP