Switch from geom to geometry

This commit is contained in:
stirringhalo
2016-12-20 22:32:34 -05:00
parent 6f6cb74ce5
commit bab5c3d4b6
12 changed files with 82 additions and 82 deletions

View File

@@ -10,7 +10,7 @@ WITH important_country_point AS (
-- We only match whether the point is within the Natural Earth polygon
-- because name matching is to difficult since OSM does not contain good
-- enough coverage of ISO codesy
ST_Within(osm.geometry, ne.geom)
ST_Within(osm.geometry, ne.geometry)
-- We leave out tiny countries
AND ne.scalerank <= 1
)