Commit c50b2f50 authored by Adrien Pavie's avatar Adrien Pavie
Browse files

Update AED theme

parent 7ddffac3
......@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Next version (to be released)
### Changed
- Updated theme for AED (using new tags after release of GeoDAE database)
## 0.2.3 - 2020-07-09
......
......@@ -2,6 +2,7 @@
--GEOMETRY=point
SELECT
t.tags->'ref:FR:GeoDAE' AS gid,
t.tags->'name' AS nom,
ST_Y(ST_Transform(<GEOMEMBED>, 4326)) AS lat_coor1,
ST_X(ST_Transform(<GEOMEMBED>, 4326)) AS long_coor1,
......@@ -16,8 +17,16 @@ SELECT
WHEN t.tags->'access' IS NOT NULL THEN 'non'
ELSE ''
END AS acc_lib,
'' AS acc_pcsec,
'' AS acc_acc,
CASE
WHEN t.tags->'security_desk' = 'yes' THEN 'oui'
WHEN t.tags->'security_desk' = 'no' THEN 'non'
ELSE ''
END AS acc_pcsec,
CASE
WHEN t.tags->'reception_desk' = 'yes' THEN 'oui'
WHEN t.tags->'reception_desk' = 'no' THEN 'non'
ELSE ''
END AS acc_acc,
t.tags->'level' AS acc_etg,
t.tags->'defibrillator:location' AS acc_complt,
CASE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment