Rewrite SQL of analyser_osmosis_surface_overlaps