forked from hans/Nominatim
make sure rank 28 to 30 places are assigned a centroid value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user