Commit 290e27c8 authored by Adrien Pavie's avatar Adrien Pavie
Browse files

Theme for cinemas

parent 48ecacce
......@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Next version (to be released)
### Added
- Theme for cinemas
### Fixed
- URL in metadata file for dump exports
......
--METADATA={ "name:fr": "Cinéma", "name:en": "Cinema", "theme:fr": "Culture", "keywords:fr": [ "cinema", "salles" ], "description:fr": "Salles de cinéma issues d'OpenStreetMap (amenity=cinema)" }
--GEOMETRY=point,polygon
SELECT
<OSMID> as osm_id, t.tags->'ref:FR:CNC' AS ref_cnc,
t.tags->'name' AS name,
COALESCE(t.tags->'brand', t.tags->'operator') AS marque,
t.wheelchair, t.tags->'opening_hours' AS opening_hours,
t.tags->'open_air' AS open_air, t.tags->'drive_in' AS drive_in,
t.tags->'cinema:3D' AS cinema3d, t.tags->'screen' AS nb_screens,
t.tags->'capacity' AS capacity, t.tags->'acoustic' AS acoustic,
COALESCE(t.tags->'website', t.tags->'brand:website') AS website,
t.tags->'phone' AS phone,
COALESCE(t.tags->'wikidata', t.tags->'brand:wikidata') AS wikidata, t.tags->'ref:FR:SIRET' AS siret,
<ADM8REF> AS com_insee, <ADM8NAME> AS com_nom, <GEOM>
FROM <TABLE>
WHERE t.amenity = 'cinema' AND <GEOMCOND>
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