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

@@ -19,7 +19,7 @@ WITH important_city_point AS (
ne.nameascii ILIKE osm.name_en
)
AND osm.place IN ('city', 'town', 'village')
AND ST_DWithin(ne.geom, osm.geometry, 50000)
AND ST_DWithin(ne.geometry, osm.geometry, 50000)
)
UPDATE osm_city_point AS osm
-- Move scalerank to range 1 to 10 and merge scalerank 5 with 6 since not enough cities