Fixed SQL and mapping bugs.
This commit is contained in:
parent
3dd9ccb551
commit
c121c69a66
@ -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
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user