postgresql - Postgres - reverse overlapping linestrings -


i have 2 tables uploaded them here backup pgadmin.i hope it's possible import database.

mapaszlakow.eu/tables.zip

these linestrings containing bicycle , hiking routes openstreetmap.they have various attributes name,route,color,distance etc. below on screenshot qgis can see bicycle , hiking routes overlap each other. enter image description here

the bicycle routes should remain unchanged. hiking routes on overlapping parts bicycle routes should match direction of bicycle route.if direction of hiking route match direction of bicycle route nothing should done correct. thinking using st_reverse , st_orderingequals have no idea how it.thank you.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -