====== ST_Intersection (Überschneidung)====== Dieses Beispiel gibt alle Gebäude aus, deren Fläche sich mehr als 80 Prozent mit dem übergebenen Polygon überschneiden. SELECT table1.id, name FROM buildings as table1 LEFT JOIN ( SELECT id, ST_Area( geography ) / 100 * 80 as area, ST_Area( ST_Intersection( 'POLYGON ( ( 8.483400 53.179526, 8.485667 53.180180, 8.486871 53.178475, 8.483606 53.178078, 8.483400 53.179526 ) ) ', geography )) as intersection FROM discovery ) as table2 ON table1.id = table2.id WHERE table2.intersection > area