a guest Jun 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT l.*
- FROM line AS l
- JOIN "Layer_2" p ON ST_within(end_point(l.geometry),p.geometry)
- JOIN "Layer_2" p2 ON ST_within(start_point(l.geometry),p2.geometry)
RAW Paste Data