Commit 17beecd0 authored by Adrien Pavie's avatar Adrien Pavie
Browse files

EU ID for charging stations

parent 4c6b0050
......@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Next version (to be released)
### Changed
- Added "ref:EU:EVSE" tag in charging station theme
## 0.1.1 - 2020-01-07
......
......@@ -5,7 +5,7 @@ SELECT
t.tags->'owner' AS n_amenageur,
t.tags->'operator' AS n_operateur,
COALESCE(t.tags->'network', t.tags->'brand') AS n_enseigne,
COALESCE(t.tags->'ref', <OSMID>) AS id_station,
COALESCE(t.tags->'ref:EU:EVSE', t.tags->'ref', <OSMID>) AS id_station,
t.tags->'name' AS n_station,
CASE
WHEN t.tags->'addr:housenumber' IS NOT NULL AND t.tags->'addr:street' IS NOT NULL THEN concat(t.tags->'addr:housenumber', ' ', t.tags->'addr:street', ', ', <ADM8NAME>)
......
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