Skip to main content
4 of 6
edited title
whuber
  • 70.2k
  • 16
  • 187
  • 282

Create closest point on multilinestring to use in shorrtest_path()

I am working a routing based application where I need to create a route between two points of interest. The problem which I am facing occurs after calculating network topology using assign_vertex_id(). When I run shortest_path I get the path between vertexes and not from the point of interest (as shown in image).

enter image description here

Can you please help me out with this: how can I use this query or any other function to do it?

Thanks for any tips.

apaleja
  • 405
  • 7
  • 17