We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c67e3 commit 0fa1821Copy full SHA for 0fa1821
src/js/index.js
@@ -327,7 +327,7 @@ function list_overlaps(layer_id) {
327
se as (SELECT the_geom FROM al WHERE id = '${layer_id}' AND namecol = '${district_id}'),
328
inter as
329
(SELECT DISTINCT al.id, al.namecol, al.namealt,
330
- ST_Area(al.the_geom) as area, ST_Area(ST_Intersection(al.the_geom, se.the_geom)) as searea
+ ST_Area(se.the_geom) as area, ST_Area(ST_Intersection(al.the_geom, se.the_geom)) as searea
331
FROM al, se
332
WHERE ST_Intersects(al.the_geom, se.the_geom))
333
SELECT * FROM inter WHERE searea / area > .005
0 commit comments