I have three tables in Postgresql, each table with one layer of lines. I want to show the path of an initial line to another final. Is it possible executing a SQL query? Thanks
My three tables are connected:
Table cables - gid, id, the_geom
Table tubes - gid, id, cable_id, the_geom
Table fibers - gid, id, tube_id, the_geom
If I select the fiber id=1 I want to know (and see in map) the way starting in fiber 1 until the beginning (fiber - tube - cable)