use data_geoid_colname with data table, reenable area-based measure tests that can catch this bug

This commit is contained in:
John Krauss
2016-06-27 11:55:03 -04:00
parent 7733529ff5
commit ca4327d3cd
2 changed files with 26 additions and 23 deletions

View File

@@ -633,7 +633,7 @@ BEGIN
q := q || q_select || format('FROM observatory.%I ', ((data_table_info)[1]->>'tablename'));
q := format(q || ' ) ' || q_sum || ' ]::numeric[] FROM _overlaps, values
WHERE values.%I = _overlaps.%I', geom_geoid_colname, geom_geoid_colname);
WHERE values.%I = _overlaps.%I', data_geoid_colname, geom_geoid_colname);
EXECUTE
q