faster obs_meta generation, use better formatting and handle NULL boundary_id

This commit is contained in:
John Krauss
2016-07-12 11:52:56 -04:00
parent 56fa19118b
commit ebc27dbbb7
2 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -25303,8 +25303,8 @@ WHERE numer_c.id = numer_data_ct.column_id
AND geom_geomref_ct.table_id = geom_t.id
AND geom_geom_ct.column_id = geom_c.id
AND geom_geom_ct.table_id = geom_t.id
AND geom_c.type ILIKE 'geometry'
AND numer_c.type NOT ILIKE 'geometry'
AND geom_c.type LIKE 'Geometry'
AND numer_c.type NOT LIKE 'Geometry'
AND numer_t.id != geom_t.id
AND numer_c.id != geomref_c.id
AND unit_tag.type = 'unit'