I have two line layers in PostgreSQL/PostGIS.i I want to the select data which are not intersecting. when iWhen I am writingwriting this query it is taking a lot of time.how i How can I make it faster and see the result.?
SELECT Geometry into Qlayer5
FROM qlayer4,
egmap_20170316_tmc_polyline where
st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) = false
SELECT Geometry into Qlayer5
FROM qlayer4, egmap_20170316_tmc_polyline
WHERE st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) = false
and iI have also tried using right join but none of them giving output.
SELECT Geometry into Qlayer5
FROM qlayer4 Right join
egmap_20170316_tmc_polyline on
st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) =false
SELECT Geometry INTO Qlayer5
FROM qlayer4
RIGHT JOIN egmap_20170316_tmc_polyline ON
st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) = false