Remove park and cemetery duplicates from POI rank

Based on f3e2d7f163 (commitcomment-28180665)
This commit is contained in:
Jiri Kozel 2018-03-26 14:34:37 +02:00 committed by GitHub
parent 974e85ff78
commit 8ac85dced6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,6 @@ CREATE OR REPLACE FUNCTION poi_class_rank(class TEXT)
RETURNS INT AS $$
SELECT CASE class
WHEN 'hospital' THEN 20
WHEN 'park' THEN 25
WHEN 'cemetery' THEN 30
WHEN 'railway' THEN 40
WHEN 'bus' THEN 50
WHEN 'attraction' THEN 70