Fixed SQL and mapping bugs.

This commit is contained in:
Miel Truyen 2020-08-10 17:41:59 +02:00
parent 3dd9ccb551
commit c121c69a66
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ SELECT CASE class
WHEN 'water_tower' then 900 WHEN 'water_tower' then 900
WHEN 'communications_tower' then 900 WHEN 'communications_tower' then 900
WHEN 'wind_turbine' then 900 WHEN 'wind_turbine' then 900
WHEN 'shelter' then 3000
ELSE 1000 ELSE 1000
END; END;
$$ LANGUAGE SQL IMMUTABLE $$ LANGUAGE SQL IMMUTABLE

View File

@ -134,7 +134,7 @@ layer:
__AND__: __AND__:
subclass: ['generator'] subclass: ['generator']
subtype: ['wind'] subtype: ['wind']
mapping_key: 'aerialway' mapping_key: ['power']
communications_tower: communications_tower:
subclass: ['communications_tower'] subclass: ['communications_tower']
water_tower: water_tower: