make sure rank 28 to 30 places are assigned a centroid value

This commit is contained in:
Brian Quinion
2012-12-18 13:37:48 +00:00
parent 96d3cb61c8
commit a293328f11

View File

@@ -5,7 +5,6 @@
-- score integer
--);
CREATE OR REPLACE FUNCTION getclasstypekey(c text, t text) RETURNS TEXT
AS $$
DECLARE
@@ -1389,6 +1388,9 @@ BEGIN
--RAISE WARNING 'finding street for %', NEW;
-- We won't get a better centroid, besides these places are too small to care
NEW.centroid := place_centroid;
NEW.parent_place_id := null;
-- to do that we have to find our parent road