From 0e62a5de05aa4c059a5aa0ff2d8b291a07316a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 10 Mar 2018 17:21:40 +0100 Subject: [PATCH] templatetags: let mdr be served as geojson (#22050) --- combo_plugin_gnm/templatetags/gnm.py | 2 + tests/data/mdr-geojson.json | 2308 ++++++++++++++++++++++++++ tests/test_as_opening_hours.py | 15 + 3 files changed, 2325 insertions(+) create mode 100644 tests/data/mdr-geojson.json diff --git a/combo_plugin_gnm/templatetags/gnm.py b/combo_plugin_gnm/templatetags/gnm.py index 4eea068..ce01a83 100644 --- a/combo_plugin_gnm/templatetags/gnm.py +++ b/combo_plugin_gnm/templatetags/gnm.py @@ -79,6 +79,8 @@ def get_slots_from_mdr_format(data, today): """Process data from /ws/grandlyon/ter_territoire.maison_du_rhone/all.json add to slots all the next opening hours in chronological order & beginning from today() """ + if 'properties' in data: + data = data['properties'] slots = [] known_format = False mdr_weekdays_format = ['%s_am' % day for day in FR_WEEKDAYS] + ['%s_pm' % day for day in FR_WEEKDAYS] diff --git a/tests/data/mdr-geojson.json b/tests/data/mdr-geojson.json new file mode 100644 index 0000000..43e61d6 --- /dev/null +++ b/tests/data/mdr-geojson.json @@ -0,0 +1,2308 @@ +{ + "name" : "ter_territoire.maison_du_rhone", + "features" : [ + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.92283997952234, + 45.7438800163866 + ], + "type" : "Point" + }, + "properties" : { + "adresse" : "52 rue Marcel Bramet", + "fax" : "04 26 99 31 42", + "code_insee" : "69029", + "lundi_am" : "08h30-11h45", + "mardi_am" : "08h30-11h45", + "code_territoire" : "16", + "nom" : "Maison de la Métropole Bramet", + "vendredi_pm" : "13h30-16h45", + "code_postal" : "69500", + "mdr_rattachement" : "Bron", + "jeudi_pm" : "13h30-16h45", + "mercredi_am" : "08h30-11h45", + "adresse_complement" : "", + "courriel" : "mdm.bron@grandlyon.com", + "mardi_pm" : "13h30-16h45", + "nom_reduit" : "Bramet", + "identifiant" : "P53", + "telephone" : "04 72 81 04 80", + "lundi_pm" : "13h30-16h45", + "vendredi_am" : "08h30-11h45", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-16h45", + "x_wgs84" : "4.92283998", + "ville" : "Bron", + "jeudi_am" : "08h30-11h45", + "y_wgs84" : "45.74388002", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "gid" : "1" + } + }, + { + "type" : "Feature", + "properties" : { + "vendredi_am" : "08h30-11h45", + "lundi_pm" : "13h30-16h45", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-16h45", + "mardi_pm" : "13h30-16h45", + "identifiant" : "P54", + "nom_reduit" : "Bron", + "telephone" : "04 28 67 12 00", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "gid" : "2", + "ville" : "Bron", + "x_wgs84" : "4.90221999", + "jeudi_am" : "08h30-11h45", + "y_wgs84" : "45.72958004", + "nom" : "Maison de la Métropole principale de Bron", + "vendredi_pm" : "13h30-16h45", + "code_postal" : "69500", + "fax" : "04 26 99 31 42", + "adresse" : "4 rue Paul Pic", + "code_insee" : "69029", + "lundi_am" : "08h30-11h45", + "code_territoire" : "16", + "mardi_am" : "08h30-11h45", + "mercredi_am" : "08h30-11h45", + "adresse_complement" : "", + "courriel" : "mdm.bron@grandlyon.com", + "mdr_rattachement" : "Bron", + "jeudi_pm" : "13h30-16h45" + }, + "geometry" : { + "coordinates" : [ + 4.9022199925935, + 45.7295800412633 + ], + "type" : "Point" + } + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.84188997627172, + 45.7963300380555 + ] + }, + "properties" : { + "mdr_rattachement" : "Caluire-et-Cuire", + "jeudi_pm" : "13h30-16h30", + "courriel" : "mdm.caluire@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "17", + "adresse" : "71-73 rue François Peissel", + "fax" : "04 26 99 31 43", + "code_insee" : "69034", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69300", + "nom" : "Maison de la Métropole principale de Caluire-et-Cuire", + "y_wgs84" : "45.79633004", + "x_wgs84" : "4.84188998", + "jeudi_am" : "08h30-12h00", + "ville" : "Caluire-et-Cuire", + "gid" : "3", + "territoire_mutualise" : "Caluire-Neuville-Rillieux", + "identifiant" : "P60", + "nom_reduit" : "Caluire-et-Cuire", + "telephone" : "04 78 98 90 80", + "mardi_pm" : "13h30-16h30", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-16h30", + "lundi_pm" : "13h30-16h30", + "vendredi_am" : "08h30-12h00" + } + }, + { + "properties" : { + "y_wgs84" : "45.67169004", + "x_wgs84" : "4.89983002", + "ville" : "Corbas", + "jeudi_am" : "08h30-12h30", + "gid" : "4", + "territoire_mutualise" : "Saint Fons-Vénissieux", + "identifiant" : "P94", + "nom_reduit" : "Corbas", + "telephone" : "04 72 50 49 85", + "mardi_pm" : "13h30-17h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h30", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Saint-Fons", + "courriel" : "mdm.st-fons@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "fermé", + "lundi_am" : "08h30-12h30", + "code_territoire" : "22", + "mardi_am" : "fermé", + "adresse" : "38 avenue Salvador-Allende", + "fax" : "04 72 50 27 47", + "code_insee" : "69273", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69960", + "nom" : "Maison de la Métropole de Corbas" + }, + "geometry" : { + "coordinates" : [ + 4.89983001992319, + 45.6716900388868 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "properties" : { + "y_wgs84" : "45.74164", + "x_wgs84" : "4.72460002", + "ville" : "Craponne", + "jeudi_am" : "09h00-12h00", + "gid" : "5", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "identifiant" : "P106", + "nom_reduit" : "Craponne", + "telephone" : "04 28 67 16 70", + "mardi_pm" : "13h30-17h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "09h00-12h00", + "lundi_pm" : "13h30-17h00", + "mdr_rattachement" : "Tassin-la-Demi-Lune", + "jeudi_pm" : "13h30-17h00", + "courriel" : "mdm.tassin@grandlyon.com", + "mercredi_am" : "09h00-12h00", + "adresse_complement" : "", + "lundi_am" : "09h00-12h00", + "code_territoire" : "18", + "mardi_am" : "09h00-12h00", + "adresse" : "31 avenue du 8 mai 1945", + "fax" : "04 26 99 31 65", + "code_insee" : "69069", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69290", + "nom" : "Maison de la Métropole de Craponne" + }, + "geometry" : { + "coordinates" : [ + 4.72460002487414, + 45.741640002374 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.95916993722428, + 45.7712599579841 + ] + }, + "properties" : { + "territoire_mutualise" : "Décines-Meyzieu-Saint Priest", + "gid" : "6", + "x_wgs84" : "4.95916994", + "jeudi_am" : "08h30-12h00", + "ville" : "Décines-Charpieu", + "y_wgs84" : "45.77125996", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 72 05 67 00", + "nom_reduit" : "Décines-Charpieu", + "identifiant" : "P66", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.decines@grandlyon.com", + "mdr_rattachement" : "Décines-Charpieu", + "jeudi_pm" : "13h30-17h00", + "nom" : "Maison de la Métropole principale de Décines-Charpieu", + "code_postal" : "69150", + "vendredi_pm" : "13h30-16h30", + "code_insee" : "69275", + "adresse" : "5 place François Mitterrand", + "fax" : "04 26 99 31 44", + "code_territoire" : "19", + "mardi_am" : "08h30-12h00", + "lundi_am" : "08h30-12h00" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "gid" : "7", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "y_wgs84" : "45.78894002", + "x_wgs84" : "4.78130994", + "jeudi_am" : "08h30-12h00", + "ville" : "Écully", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "identifiant" : "P102", + "nom_reduit" : "Écully", + "telephone" : "04 72 86 04 90", + "mardi_pm" : "13h30-17h00", + "courriel" : "mdm.ecully@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "mdr_rattachement" : "Écully", + "jeudi_pm" : "13h30-17h00", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69130", + "nom" : "Maison de la Métropole principale d'Écully", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "18", + "adresse" : "10 chemin Jean-Marie Vianney", + "fax" : "04 26 99 31 69", + "code_insee" : "69081" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.7813099430853, + 45.7889400171193 + ] + } + }, + { + "properties" : { + "mdr_rattachement" : "Saint-Fons", + "jeudi_pm" : "13h30-17h00", + "courriel" : "mdm.st-fons@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h30", + "code_territoire" : "22", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h30", + "code_insee" : "69276", + "adresse" : "9 bis rue des Razes", + "fax" : "04 78 67 01 49", + "code_postal" : "69320", + "vendredi_pm" : "13h30-17h00", + "nom" : "Maison de la Métropole de Feyzin", + "y_wgs84" : "45.66602003", + "ville" : "Feyzin", + "x_wgs84" : "4.85123996", + "jeudi_am" : "08h30-12h30", + "gid" : "8", + "territoire_mutualise" : "Saint Fons-Vénissieux", + "telephone" : "04 78 70 37 30", + "identifiant" : "P95", + "nom_reduit" : "Feyzin", + "mardi_pm" : "13h30-17h00", + "mercredi_pm" : "fermé", + "type" : "secondaire", + "commentaire" : "", + "vendredi_am" : "08h30-12h30", + "lundi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.85123996134121, + 45.6660200265612 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "mardi_pm" : "13h30-16h30", + "nom_reduit" : "Fontaines-sur-Saône", + "identifiant" : "P61", + "telephone" : "04 78 22 29 16", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-16h30", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-16h30", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.84672994", + "ville" : "Fontaines-sur-Saône", + "y_wgs84" : "45.83518", + "territoire_mutualise" : "Caluire-Neuville-Rillieux", + "gid" : "9", + "adresse" : "54 rue Gambetta", + "fax" : "04 78 22 43 98", + "code_insee" : "69088", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "17", + "nom" : "Maison de la Métropole de Fontaines-sur-Saône", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69270", + "jeudi_pm" : "13h30-16h30", + "mdr_rattachement" : "Neuville-sur-Saône", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.neuville@grandlyon.com" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.84672994388208, + 45.8351800005369 + ] + } + }, + { + "geometry" : { + "coordinates" : [ + 4.77236238057697, + 45.7383187538469 + ], + "type" : "Point" + }, + "properties" : { + "mdr_rattachement" : "Tassin-la-Demi-Lune", + "jeudi_pm" : "fermé", + "mercredi_am" : "fermé", + "adresse_complement" : "", + "courriel" : "mdm.tassin@grandlyon.com", + "fax" : "04 26 99 31 65", + "adresse" : "5 rue de la Poste", + "code_insee" : "69089", + "lundi_am" : "09h00-12h00", + "mardi_am" : "09h00-12h00", + "code_territoire" : "18", + "nom" : "Maison de la Métropole de Francheville", + "vendredi_pm" : "fermé", + "code_postal" : "69340", + "jeudi_am" : "fermé", + "x_wgs84" : "4.77236238", + "ville" : "Francheville", + "y_wgs84" : "45.73831875", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "gid" : "10", + "mardi_pm" : "13h30-17h00", + "nom_reduit" : "Francheville", + "identifiant" : "P114", + "telephone" : "04 78 59 04 71", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "fermé", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "fermé" + }, + "type" : "Feature" + }, + { + "properties" : { + "gid" : "11", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.60619999", + "ville" : "Givors", + "x_wgs84" : "4.76357999", + "jeudi_am" : "fermé", + "mercredi_pm" : "14h00-17h00", + "commentaire" : "", + "type" : "secondaire", + "vendredi_am" : "09h00-12h00", + "lundi_pm" : "14h00-17h00", + "telephone" : "04 78 73 75 84", + "nom_reduit" : "Les Vernes", + "identifiant" : "P91", + "mardi_pm" : "fermé", + "courriel" : "mdm.givors@grandlyon.com", + "adresse_complement" : " ", + "mercredi_am" : "09h00-12h00", + "jeudi_pm" : "fermé", + "mdr_rattachement" : "Givors", + "code_postal" : "69700", + "vendredi_pm" : "14h00-17h00", + "nom" : "Maison de la Métropole des Vernes", + "mardi_am" : "fermé", + "code_territoire" : "21", + "lundi_am" : "09h00-12h00", + "code_insee" : "69091", + "adresse" : "7 avenue Lénine", + "fax" : "04 26 99 31 45" + }, + "geometry" : { + "coordinates" : [ + 4.76357999107523, + 45.606199989294 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.76817003849605, + 45.5844100279522 + ], + "type" : "Point" + }, + "properties" : { + "gid" : "12", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.58441003", + "x_wgs84" : "4.76817004", + "ville" : "Givors", + "jeudi_am" : "08h30-12h00", + "mercredi_pm" : "fermée", + "commentaire" : "", + "type" : "secondaire", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "telephone" : "04 78 73 04 59", + "nom_reduit" : "Prévert", + "identifiant" : "P92", + "mardi_pm" : "13h30-17h00", + "courriel" : "mdm.givors@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "Bâtiment Maison de l'emploi et des services publics - 1er étage", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Givors", + "code_postal" : "69700", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole Prévert", + "code_territoire" : "21", + "mardi_am" : "10h30-12h30", + "lundi_am" : "08h30-12h00", + "code_insee" : "69091", + "adresse" : "6 rue Jacques Prévert", + "fax" : "04 26 99 31 45" + } + }, + { + "type" : "Feature", + "properties" : { + "courriel" : "mdm.givors@grandlyon.com", + "adresse_complement" : "ZAC du Garon", + "mercredi_am" : "fermé", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Givors", + "code_postal" : "69700", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Givors", + "mardi_am" : "08h30-12h00", + "code_territoire" : "21", + "lundi_am" : "09h00-12h00", + "code_insee" : "69091", + "fax" : "04 26 99 31 45", + "adresse" : "8 passage Bonnefond", + "gid" : "13", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.59450004", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.77266001", + "ville" : "Givors", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "telephone" : "04 72 49 14 00", + "identifiant" : "P86", + "nom_reduit" : "Givors", + "mardi_pm" : "13h30-17h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.77266000737784, + 45.5945000381258 + ] + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.78022002856749, + 45.6093099596621 + ] + }, + "properties" : { + "gid" : "14", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.60930996", + "jeudi_am" : "9h-12h00", + "x_wgs84" : "4.78022003", + "ville" : "Grigny", + "mercredi_pm" : "14h00-17h00", + "commentaire" : "", + "type" : "secondaire", + "vendredi_am" : "9h-12h00", + "lundi_pm" : "14h-17h00", + "telephone" : "04 37 20 09 68", + "nom_reduit" : "Grigny", + "identifiant" : "P93", + "mardi_pm" : "14h-17h00", + "courriel" : "mdm.givors@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "9h-12h00", + "jeudi_pm" : "14h-17h00", + "mdr_rattachement" : "Givors", + "code_postal" : "69520", + "vendredi_pm" : "14h00-17h00", + "nom" : "Maison de la Métropole de Grigny", + "code_territoire" : "21", + "mardi_am" : "fermé", + "lundi_am" : "09h-12h00", + "code_insee" : "69096", + "adresse" : "36 avenue des Arrondières", + "fax" : "04 26 99 31 45" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.82217669314378, + 45.6733571094619 + ], + "type" : "Point" + }, + "properties" : { + "courriel" : "mdm.irigny@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Irigny", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69540", + "nom" : "Maison de la Métropole principale d'Irigny", + "lundi_am" : "08h30-12h00", + "code_territoire" : "21", + "mardi_am" : "08h30-12h00", + "adresse" : "8 rue du 8 mai 1945", + "fax" : "04 26 99 31 46", + "code_insee" : "69100", + "gid" : "15", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.67335711", + "x_wgs84" : "4.82217669", + "ville" : "Irigny", + "jeudi_am" : "08h30-12h30", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "identifiant" : "P87", + "nom_reduit" : "Irigny", + "telephone" : "04 72 30 11 06", + "mardi_pm" : "13h30-17h00" + } + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.81032341846061, + 45.7295138398986 + ] + }, + "properties" : { + "y_wgs84" : "45.72951384", + "x_wgs84" : "4.81032342", + "jeudi_am" : "9h00-12h00", + "ville" : "La Mulatière", + "gid" : "16", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "identifiant" : "P113", + "nom_reduit" : "La Mulatière", + "telephone" : "04 78 51 74 36", + "mardi_pm" : "13h30-17h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "fermé", + "vendredi_am" : "9h00-12h00", + "lundi_pm" : "fermé", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Sainte-Foy-lès-Lyon", + "courriel" : "mdm.ste-foy-les-lyon@grandlyon.com", + "mercredi_am" : "fermé", + "adresse_complement" : "", + "lundi_am" : "fermé", + "code_territoire" : "18", + "mardi_am" : "9h00-12h00", + "adresse" : "5 rue de Lattre de Tassigny", + "fax" : "04 26 99 31 64", + "code_insee" : "69142", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69350", + "nom" : "Maison de la Métropole de La Mulatière" + } + }, + { + "properties" : { + "fax" : "04 26 99 31 47", + "adresse" : "47 place Décurel", + "code_insee" : "69116", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "18", + "nom" : "Maison de la Métropole principale de Limonest", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69760", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Limonest", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.limonest@grandlyon.com", + "mardi_pm" : "13h30-17h00", + "identifiant" : "P103", + "nom_reduit" : "Limonest", + "telephone" : "04 28 67 14 70", + "lundi_pm" : "14h30-17h00", + "vendredi_am" : "08h30-12h00", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "x_wgs84" : "4.77233998", + "jeudi_am" : "08h30-12h00", + "ville" : "Limonest", + "y_wgs84" : "45.83582003", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "gid" : "17" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.77233997815746, + 45.835820031275 + ] + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.83120002517707, + 45.7712200247601 + ] + }, + "properties" : { + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "courriel" : "mdm.lyon1@grandlyon.com", + "mdr_rattachement" : "Lyon 1er", + "jeudi_pm" : "13h30-17h00", + "nom" : "Maison de la Métropole principale de Lyon 1er", + "code_postal" : "69001", + "vendredi_pm" : "13h30-16h30", + "code_insee" : "69381", + "adresse" : "18 rue Neyret", + "fax" : "04 26 99 31 48", + "code_territoire" : "11", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h00", + "territoire_mutualise" : "Lyon 1-2-4", + "gid" : "18", + "x_wgs84" : "4.83120003", + "ville" : "Lyon 1er arrondissement", + "jeudi_am" : "08h30-12h00", + "y_wgs84" : "45.77122002", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "mardi_pm" : "13h00-17h00", + "telephone" : "04 28 67 14 00", + "nom_reduit" : "Lyon 1er", + "identifiant" : "P71" + }, + "type" : "Feature" + }, + { + "properties" : { + "x_wgs84" : "4.82922003", + "jeudi_am" : "08h30-12h00", + "ville" : "Lyon 2e arrondissement", + "y_wgs84" : "45.75513002", + "territoire_mutualise" : "Lyon 1-2-4", + "gid" : "19", + "mardi_pm" : "13h00-17h00", + "telephone" : "04 28 67 17 00", + "nom_reduit" : "Lyon 2ème", + "identifiant" : "P72", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 2ème", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.lyon2@grandlyon.com", + "code_insee" : "69382", + "fax" : "04 26 99 30 04", + "adresse" : "9 rue Sainte Hélène", + "mardi_am" : "fermé", + "code_territoire" : "11", + "lundi_am" : "08h30-12h00", + "nom" : "Maison de la Métropole principale de Lyon 2ème", + "code_postal" : "69002", + "vendredi_pm" : "13h30-16h30" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.82922003463352, + 45.7551300221144 + ] + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.84503996573012, + 45.7587999941284 + ] + }, + "properties" : { + "lundi_am" : "08h30-12h00", + "code_territoire" : "12", + "mardi_am" : "fermé", + "fax" : "04 72 61 77 50", + "adresse" : "149 rue Pierre Corneille", + "code_insee" : "69383", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69003", + "nom" : "Maison de la Métropole principale de Lyon 3ème", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 3ème", + "courriel" : "mdm.lyon3@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "identifiant" : "P76", + "nom_reduit" : "Lyon 3ème", + "telephone" : "04 26 83 94 00", + "mardi_pm" : "13h00-17h00", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "y_wgs84" : "45.75879999", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.84503997", + "ville" : "Lyon 3e arrondissement", + "gid" : "20", + "territoire_mutualise" : "Lyon 3-6" + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.8651199690848, + 45.757480020025 + ] + }, + "properties" : { + "territoire_mutualise" : "Lyon 3-6", + "gid" : "21", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.86511997", + "ville" : "Lyon 3e arrondissement", + "y_wgs84" : "45.75748002", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "commentaire" : "", + "type" : "secondaire", + "mercredi_pm" : "13h30-17h00", + "mardi_pm" : "13h00-17h00", + "nom_reduit" : "Sainte-Anne", + "identifiant" : "P75", + "telephone" : "04 78 54 36 90", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.lyon3@grandlyon.com", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 3ème", + "nom" : "Maison de la Métropole Sainte-Anne", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69003", + "fax" : "04 78 53 69 05", + "adresse" : "4 place Sainte-Anne", + "code_insee" : "69383", + "lundi_am" : "08h30-12h00", + "code_territoire" : "12", + "mardi_am" : "fermé" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.82519999240185, + 45.7803399818513 + ], + "type" : "Point" + }, + "properties" : { + "adresse" : "51 rue Deleuvre", + "fax" : "04 26 99 31 49", + "code_insee" : "69384", + "lundi_am" : "08h30-12h00", + "code_territoire" : "11", + "mardi_am" : "fermé", + "nom" : "Maison de la Métropole principale de Lyon 4ème", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69004", + "mdr_rattachement" : "Lyon 4ème", + "jeudi_pm" : "13h30-17h00", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "courriel" : "mdm.lyon4@grandlyon.com", + "mardi_pm" : "13h00-17h00", + "nom_reduit" : "Lyon 4ème", + "identifiant" : "P73", + "telephone" : "04 78 29 88 20", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "x_wgs84" : "4.82519999", + "ville" : "Lyon 4e arrondissement", + "jeudi_am" : "08h30-12h00", + "y_wgs84" : "45.78033998", + "territoire_mutualise" : "Lyon 1-2-4", + "gid" : "22" + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.82156994920997, + 45.7601199757 + ] + }, + "properties" : { + "fax" : "04 26 99 31 50", + "adresse" : "5 bis rue Cleberg", + "code_insee" : "69385", + "lundi_am" : "08h30-12h00", + "mardi_am" : "fermé", + "code_territoire" : "13", + "nom" : "Maison de la Métropole principale de Lyon 5ème", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69005", + "mdr_rattachement" : "Lyon 5ème", + "jeudi_pm" : "13h30-17h00", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.lyon5@grandlyon.com", + "mardi_pm" : "13h00-17h00", + "identifiant" : "P79", + "nom_reduit" : "Lyon 5ème", + "telephone" : "04 72 40 20 08", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.82156995", + "ville" : "Lyon 5e arrondissement", + "y_wgs84" : "45.76011998", + "territoire_mutualise" : "Lyon 5-9", + "gid" : "23" + }, + "type" : "Feature" + }, + { + "geometry" : { + "coordinates" : [ + 4.84336004501164, + 45.7699700369195 + ], + "type" : "Point" + }, + "properties" : { + "courriel" : "mdm.lyon6@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 6ème", + "code_postal" : "69006", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Lyon 6ème", + "mardi_am" : "fermé", + "code_territoire" : "12", + "lundi_am" : "08h30-12h00", + "code_insee" : "69386", + "fax" : "04 26 99 31 51", + "adresse" : "52 avenue Maréchal Foch", + "gid" : "24", + "territoire_mutualise" : "Lyon 3-6", + "y_wgs84" : "45.76997004", + "x_wgs84" : "4.84336005", + "jeudi_am" : "08h30-12h00", + "ville" : "Lyon 6e arrondissement", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "telephone" : "04 72 69 56 30", + "nom_reduit" : "Lyon 6ème", + "identifiant" : "P77", + "mardi_pm" : "13h00-17h00" + }, + "type" : "Feature" + }, + { + "properties" : { + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 7ème Nord", + "courriel" : "mdm.lyon7-nord@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "mardi_am" : "fermé", + "code_territoire" : "14", + "lundi_am" : "08h30-12h00", + "code_insee" : "69387", + "fax" : "04 26 99 31 52", + "adresse" : "36 rue de la Madeleine", + "code_postal" : "69007", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Lyon 7ème Nord", + "y_wgs84" : "45.74846998", + "x_wgs84" : "4.84774001", + "jeudi_am" : "08h30-12h00", + "ville" : "Lyon 7e arrondissement", + "gid" : "25", + "territoire_mutualise" : "Lyon 7Nord-7Sud-8Est-8Ouest", + "telephone" : "04 78 77 25 00", + "nom_reduit" : "Lyon 7ème Nord", + "identifiant" : "P82", + "mardi_pm" : "13h00-17h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.8477400110582, + 45.7484699792596 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "properties" : { + "telephone" : "04 28 67 16 00", + "nom_reduit" : "Lyon 7ème Sud", + "identifiant" : "P83", + "mardi_pm" : "13h00-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "y_wgs84" : "45.73728997", + "x_wgs84" : "4.83217994", + "ville" : "Lyon 7e arrondissement", + "jeudi_am" : "08h30-12h00", + "gid" : "26", + "territoire_mutualise" : "Lyon 7Nord-7Sud-8Est-8Ouest", + "mardi_am" : "fermé", + "code_territoire" : "14", + "lundi_am" : "08h30-12h00", + "code_insee" : "69387", + "fax" : "04 26 99 31 53", + "adresse" : "45 rue Félix Brun", + "code_postal" : "69007", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Lyon 7ème Sud", + "mdr_rattachement" : "Lyon 7ème Sud", + "jeudi_pm" : "13h30-17h00", + "courriel" : "mdm.lyon7-sud@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00" + }, + "geometry" : { + "coordinates" : [ + 4.83217994021669, + 45.7372899718974 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "properties" : { + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.lyon8-est@grandlyon.com", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 8ème Est", + "nom" : "Maison de la Métropole principale de Lyon 8ème Est", + "code_postal" : "69008", + "vendredi_pm" : "13h30-16h30", + "code_insee" : "69388", + "adresse" : "1 place Latarjet", + "fax" : "04 26 99 31 54", + "code_territoire" : "14", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h00", + "territoire_mutualise" : "Lyon 7Nord-7Sud-8Est-8Ouest", + "gid" : "27", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.88478996", + "ville" : "Lyon 8e arrondissement", + "y_wgs84" : "45.72964997", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mardi_pm" : "13h00-17h00", + "telephone" : "04 72 78 80 60", + "identifiant" : "P84", + "nom_reduit" : "Lyon 8ème Est" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.88478996107087, + 45.7296499656974 + ] + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.87040998408616, + 45.7374099710378 + ] + }, + "properties" : { + "code_insee" : "69388", + "fax" : "04 26 99 31 55", + "adresse" : "60 boulevard Jean XXIII", + "code_territoire" : "14", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h00", + "nom" : "Maison de la Métropole principale de Lyon 8ème Ouest", + "code_postal" : "69008", + "vendredi_pm" : "13h30-16h30", + "mdr_rattachement" : "Lyon 8ème Ouest", + "jeudi_pm" : "13h30-17h00", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "courriel" : "mdm.lyon8-ouest@grandlyon.com", + "mardi_pm" : "13h00-17h00", + "telephone" : "04 78 78 84 40", + "identifiant" : "P85", + "nom_reduit" : "Lyon 8ème Ouest", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "x_wgs84" : "4.87040998", + "ville" : "Lyon 8e arrondissement", + "jeudi_am" : "08h30-12h00", + "y_wgs84" : "45.73740997", + "territoire_mutualise" : "Lyon 7Nord-7Sud-8Est-8Ouest", + "gid" : "28" + } + }, + { + "properties" : { + "mardi_am" : "fermé", + "code_territoire" : "13", + "lundi_am" : "08h30-12h00", + "code_insee" : "69389", + "fax" : "04 72 53 02 65", + "adresse" : "8 place Abbé Pierre", + "code_postal" : "69009", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole La Duchère", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 9ème", + "courriel" : "mdm.lyon9@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "telephone" : "04 78 35 35 91", + "identifiant" : "P80", + "nom_reduit" : "La Duchère", + "mardi_pm" : "13h00-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "secondaire", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "y_wgs84" : "45.78745", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.79431006", + "ville" : "Lyon 9e arrondissement", + "gid" : "29", + "territoire_mutualise" : "Lyon 5-9" + }, + "geometry" : { + "coordinates" : [ + 4.79431005658581, + 45.7874499992123 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Lyon 9ème", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.lyon9@grandlyon.com", + "adresse" : "15 rue de Bourgogne", + "fax" : "04 26 83 30 81", + "code_insee" : "69389", + "lundi_am" : "08h30-12h00", + "mardi_am" : "fermé", + "code_territoire" : "13", + "nom" : "Maison de la Métropole principale de Lyon 9ème", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69009", + "x_wgs84" : "4.80410003", + "jeudi_am" : "08h30-12h00", + "ville" : "Lyon 9e arrondissement", + "y_wgs84" : "45.77658001", + "territoire_mutualise" : "Lyon 5-9", + "gid" : "30", + "mardi_pm" : "13h00-17h00", + "identifiant" : "P81", + "nom_reduit" : "Lyon 9ème", + "telephone" : "04 26 83 96 00", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.80410003212468, + 45.7765800051862 + ] + } + }, + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.99790997258392, + 45.765660039486 + ], + "type" : "Point" + }, + "properties" : { + "x_wgs84" : "4.99790997", + "jeudi_am" : "08h30-12h15", + "ville" : "Meyzieu", + "y_wgs84" : "45.76566004", + "territoire_mutualise" : "Décines-Meyzieu-Saint Priest", + "gid" : "31", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 72 45 06 20", + "identifiant" : "P67", + "nom_reduit" : "Meyzieu", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h15", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Meyzieu", + "mercredi_am" : "08h30-12h15", + "adresse_complement" : "", + "courriel" : "mdm.meyzieu@grandlyon.com", + "code_insee" : "69282", + "fax" : "04 26 99 31 57", + "adresse" : "24 avenue Lucien Buisson", + "code_territoire" : "19", + "mardi_am" : "08h30-12h15", + "lundi_am" : "08h30-12h15", + "nom" : "Maison de la Métropole principale de Meyzieu", + "code_postal" : "69330", + "vendredi_pm" : "13h30-16h30" + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.95695995147253, + 45.6622600085776 + ] + }, + "properties" : { + "courriel" : "mdm.st-fons@grandlyon.com", + "mercredi_am" : "08h30-12h30", + "adresse_complement" : "", + "mdr_rattachement" : "Saint-Fons", + "jeudi_pm" : "13h30-17h00", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69780", + "nom" : "Maison de la Métropole de Mions", + "lundi_am" : "08h30-12h30", + "code_territoire" : "22", + "mardi_am" : "fermé", + "adresse" : "Impasse du Pavé", + "fax" : "04 78 21 35 48", + "code_insee" : "69283", + "gid" : "32", + "territoire_mutualise" : "Saint Fons-Vénissieux", + "y_wgs84" : "45.66226001", + "jeudi_am" : "08h30-12h30", + "x_wgs84" : "4.95695995", + "ville" : "Mions", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "fermé", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h30", + "identifiant" : "P97", + "nom_reduit" : "Mions", + "telephone" : "04 78 20 01 20", + "mardi_pm" : "13h30-17h00" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "coordinates" : [ + 4.84191999124039, + 45.8770100444106 + ], + "type" : "Point" + }, + "properties" : { + "gid" : "33", + "territoire_mutualise" : "Caluire-Neuville-Rillieux", + "y_wgs84" : "45.87701004", + "jeudi_am" : "08h30-12h30", + "x_wgs84" : "4.84191999", + "ville" : "Neuville-sur-Saône", + "mercredi_pm" : "13h30-16h30", + "type" : "principale", + "commentaire" : "", + "vendredi_am" : "08h30-12h30", + "lundi_pm" : "13h30-16h30", + "telephone" : "04 78 91 78 64", + "identifiant" : "P62", + "nom_reduit" : "Neuville-sur-Saône", + "mardi_pm" : "13h30-16h30", + "courriel" : "mdm.neuville@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h30", + "jeudi_pm" : "13h30-16h30", + "mdr_rattachement" : "Neuville-sur-Saône", + "code_postal" : "69250", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Neuville-sur-Saône", + "mardi_am" : "08h30-12h30", + "code_territoire" : "17", + "lundi_am" : "08h30-12h30", + "code_insee" : "69143", + "adresse" : "2 avenue Marie-Thérèse Prost", + "fax" : "04 26 99 31 58" + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.80389004528243, + 45.7136499882727 + ] + }, + "properties" : { + "y_wgs84" : "45.71364999", + "x_wgs84" : "4.80389005", + "ville" : "Oullins", + "jeudi_am" : "08h30-12h00", + "gid" : "34", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "nom_reduit" : "Oullins", + "identifiant" : "P89", + "telephone" : "04 72 66 34 90", + "mardi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Oullins", + "courriel" : "mdm.oullins@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "21", + "fax" : "04 26 99 31 59", + "adresse" : "17 rue Tupin", + "code_insee" : "69149", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69600", + "nom" : "Maison de la Métropole principale d'Oullins" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.82128998539048, + 45.7036399849091 + ] + }, + "properties" : { + "nom" : "Maison de la Métropole de Pierre-Bénite", + "vendredi_pm" : "13h30-16h15", + "code_postal" : "69310", + "fax" : "04 26 99 31 46", + "adresse" : "51 boulevard de l'Europe", + "code_insee" : "69152", + "lundi_am" : "fermé", + "mardi_am" : "08h30-12h00", + "code_territoire" : "21", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.irigny@grandlyon.com", + "mdr_rattachement" : "Irigny", + "jeudi_pm" : "13h30-16h45", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-16h45", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-16h45", + "mardi_pm" : "13h30-16h45", + "nom_reduit" : "Pierre-Bénite", + "identifiant" : "P88", + "telephone" : "04 78 50 10 45", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "gid" : "35", + "x_wgs84" : "4.82128999", + "jeudi_am" : "08h30-12h00", + "ville" : "Pierre-Bénite", + "y_wgs84" : "45.70363998" + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.89111999548834, + 45.8127799916795 + ] + }, + "properties" : { + "code_insee" : "69286", + "adresse" : "6 rue Jules Michelet", + "fax" : "04 26 99 31 60", + "code_territoire" : "17", + "mardi_am" : "08h30-12h00", + "lundi_am" : "08h30-12h00", + "nom" : "Maison de la Métropole des Allagniers", + "code_postal" : "69140", + "vendredi_pm" : "13h30-16h00", + "mdr_rattachement" : "Rillieux-la-Pape", + "jeudi_pm" : "14h30-17h00", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "courriel" : "mdm.rillieux@grandlyon.com", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 78 88 75 40", + "identifiant" : "P63", + "nom_reduit" : "Les Allagniers", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "secondaire", + "ville" : "Rillieux-la-Pape", + "x_wgs84" : "4.89112", + "jeudi_am" : "08h30-12h00", + "y_wgs84" : "45.81277999", + "territoire_mutualise" : "Caluire-Neuville-Rillieux", + "gid" : "36" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "lundi_am" : "09h00-12h00", + "mardi_am" : "09h00-12h00", + "code_territoire" : "17", + "fax" : "04 26 99 31 60", + "adresse" : "22 avenue du Général Leclerc", + "code_insee" : "69286", + "vendredi_pm" : "13h30-16h00", + "code_postal" : "69140", + "nom" : "Maison de la Métropole principale de Rillieux-la-Pape", + "jeudi_pm" : "14h30-17h00", + "mdr_rattachement" : "Rillieux-la-Pape", + "courriel" : "mdm.rillieux@grandlyon.com", + "adresse_complement" : "La Velette - 22 rue de la Velette", + "mercredi_am" : "09h00-12h00", + "nom_reduit" : "Rillieux-la-Pape", + "identifiant" : "P64", + "telephone" : "04 72 01 82 30", + "mardi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "09h00-12h00", + "lundi_pm" : "13h30-17h00", + "y_wgs84" : "45.81481997", + "x_wgs84" : "4.90493002", + "ville" : "Rillieux-la-Pape", + "jeudi_am" : "09h00-12h00", + "gid" : "37", + "territoire_mutualise" : "Caluire-Neuville-Rillieux" + }, + "geometry" : { + "coordinates" : [ + 4.90493002191728, + 45.8148199701588 + ], + "type" : "Point" + } + }, + { + "type" : "Feature", + "properties" : { + "mdr_rattachement" : "Sainte-Foy-lès-Lyon", + "jeudi_pm" : "13h30-17h00", + "courriel" : "mdm.ste-foy-les-lyon@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "18", + "adresse" : "4 chemin de Montray", + "fax" : "04 26 99 31 64", + "code_insee" : "69202", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69110", + "nom" : "Maison de la Métropole principale de Sainte-Foy-lès-Lyon", + "y_wgs84" : "45.73486002", + "x_wgs84" : "4.79736995", + "jeudi_am" : "08h30-12h00", + "ville" : "Sainte-Foy-lès-Lyon", + "gid" : "38", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "nom_reduit" : "Sainte-Foy-lès-Lyon", + "identifiant" : "P104", + "telephone" : "04 72 16 32 40", + "mardi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.79736995210091, + 45.7348600237033 + ] + } + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.85447000731433, + 45.7108200228508 + ] + }, + "properties" : { + "code_territoire" : "22", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h30", + "code_insee" : "69199", + "fax" : "04 78 70 44 49", + "adresse" : "5 rue du Bourrelier", + "code_postal" : "69190", + "vendredi_pm" : "13h30-17h00", + "nom" : "Maison de la Métropole principale de Saint-Fons", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Saint-Fons", + "courriel" : "mdm.st-fons@grandlyon.com", + "mercredi_am" : "08h30-12h30", + "adresse_complement" : "", + "telephone" : "04 72 89 03 30", + "nom_reduit" : "Saint-Fons", + "identifiant" : "P96", + "mardi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "vendredi_am" : "08h30-12h30", + "lundi_pm" : "13h30-17h00", + "y_wgs84" : "45.71082002", + "jeudi_am" : "08h30-12h30", + "x_wgs84" : "4.85447001", + "ville" : "Saint-Fons", + "gid" : "39", + "territoire_mutualise" : "Saint Fons-Vénissieux" + } + }, + { + "type" : "Feature", + "properties" : { + "courriel" : "mdm.st-genis-laval@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h00", + "mdr_rattachement" : "Saint-Genis-Laval", + "jeudi_pm" : "13h30-17h00", + "code_postal" : "69230", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Saint-Genis-Laval", + "mardi_am" : "08h30-12h00", + "code_territoire" : "21", + "lundi_am" : "08h30-12h00", + "code_insee" : "69204", + "adresse" : "102 bis avenue Georges Clémenceau", + "fax" : "04 26 99 31 62", + "gid" : "40", + "territoire_mutualise" : "Oullins-Irigny-St Genis Laval-Givors", + "y_wgs84" : "45.69891004", + "x_wgs84" : "4.79474997", + "jeudi_am" : "08h30-12h00", + "ville" : "Saint-Genis-Laval", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "telephone" : "04 78 56 04 88", + "identifiant" : "P90", + "nom_reduit" : "Saint-Genis-Laval", + "mardi_pm" : "13h30-17h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.79474997118396, + 45.6989100448014 + ] + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.95021000067432, + 45.691760036536 + ] + }, + "properties" : { + "vendredi_am" : "08h30-12h15", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "type" : "secondaire", + "commentaire" : "", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 78 20 09 26", + "nom_reduit" : "Bel Air", + "identifiant" : "P68", + "territoire_mutualise" : "Décines-Meyzieu-Saint Priest", + "gid" : "41", + "x_wgs84" : "4.95021", + "jeudi_am" : "08h30-12h15", + "ville" : "Saint-Priest", + "y_wgs84" : "45.69176004", + "nom" : "Maison de la Métropole Bel Air", + "code_postal" : "69800", + "vendredi_pm" : "13h30-16h30", + "code_insee" : "69290", + "adresse" : "104 bis rue du 8 mai 1945", + "fax" : "04 72 37 47 49", + "mardi_am" : "08h30-12h15", + "code_territoire" : "19", + "lundi_am" : "08h30-12h15", + "adresse_complement" : "Tour Picasso", + "mercredi_am" : "08h30-12h15", + "courriel" : "mdm.st-priest@grandlyon.com", + "mdr_rattachement" : "Saint-Priest", + "jeudi_pm" : "13h30-17h00" + }, + "type" : "Feature" + }, + { + "properties" : { + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h15", + "lundi_pm" : "13h30-17h00", + "nom_reduit" : "Le Belvédère", + "identifiant" : "P69", + "telephone" : "04 78 20 62 41", + "mardi_pm" : "13h30-17h00", + "gid" : "42", + "territoire_mutualise" : "Décines-Meyzieu-Saint Priest", + "y_wgs84" : "45.69876004", + "x_wgs84" : "4.94227996", + "jeudi_am" : "08h30-12h15", + "ville" : "Saint-Priest", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69800", + "nom" : "Maison de la Métropole Le Belvédère", + "lundi_am" : "08h30-12h15", + "mardi_am" : "08h30-12h15", + "code_territoire" : "19", + "fax" : "04 72 23 58 93", + "adresse" : "21 boulevard François Reymond", + "code_insee" : "69290", + "courriel" : "mdm.st-priest@grandlyon.com", + "adresse_complement" : "Le Belvédère", + "mercredi_am" : "08h30-12h15", + "mdr_rattachement" : "Saint-Priest", + "jeudi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.94227996474536, + 45.6987600373828 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.93518004081518, + 45.6937499632837 + ] + }, + "properties" : { + "mardi_am" : "08h30-12h15", + "code_territoire" : "19", + "lundi_am" : "08h30-12h15", + "code_insee" : "69290", + "fax" : "04 26 99 31 63", + "adresse" : "21 rue Maréchal Leclerc", + "code_postal" : "69800", + "vendredi_pm" : "13h30-16h30", + "nom" : "Maison de la Métropole principale de Saint-Priest", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Saint-Priest", + "courriel" : "mdm.st-priest@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "08h30-12h15", + "telephone" : "04 78 20 07 11", + "nom_reduit" : "Saint-Priest", + "identifiant" : "P70", + "mardi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "vendredi_am" : "08h30-12h15", + "lundi_pm" : "13h30-17h00", + "y_wgs84" : "45.69374996", + "jeudi_am" : "08h30-12h15", + "x_wgs84" : "4.93518004", + "ville" : "Saint-Priest", + "gid" : "43", + "territoire_mutualise" : "Décines-Meyzieu-Saint Priest" + } + }, + { + "properties" : { + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "type" : "principale", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "mardi_pm" : "13h30-17h00", + "identifiant" : "P105", + "nom_reduit" : "Tassin-la-Demi-Lune", + "telephone" : "04 78 34 26 96", + "territoire_mutualise" : "Tassin-Ecully-Ste Foy Les Lyon-Limonest", + "gid" : "44", + "x_wgs84" : "4.77880995", + "jeudi_am" : "08h30-12h00", + "ville" : "Tassin-la-Demi-Lune", + "y_wgs84" : "45.76130002", + "nom" : "Maison de la Métropole principale de Tassin-la-Demi-Lune", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69160", + "fax" : "04 26 99 31 65", + "adresse" : "119-121 avenue Charles-de-Gaulle", + "code_insee" : "69244", + "lundi_am" : "08h30-12h00", + "mardi_am" : "08h30-12h00", + "code_territoire" : "18", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.tassin@grandlyon.com", + "mdr_rattachement" : "Tassin-la-Demi-Lune", + "jeudi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.77880994590581, + 45.7613000201235 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "mdr_rattachement" : "Vaulx-en-Velin", + "jeudi_pm" : "14h00-16h00", + "courriel" : "mdm.vaulx-en-velin@grandlyon.com", + "mercredi_am" : "09h00-12h00", + "adresse_complement" : "Ilôt B", + "mardi_am" : "10h30-12h00", + "code_territoire" : "16", + "lundi_am" : "09h00-12h00", + "code_insee" : "69256", + "adresse" : "22 rue Condorcet", + "fax" : "04 26 99 31 66", + "code_postal" : "69120", + "vendredi_pm" : "fermé", + "nom" : "Annexe MDM principale Vaulx PA/PH et CPEF", + "y_wgs84" : "45.77830996", + "jeudi_am" : "09h00-12h00", + "x_wgs84" : "4.91839997", + "ville" : "Vaulx-en-Velin", + "gid" : "45", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "telephone" : "04 78 80 17 87", + "nom_reduit" : "Annexe Vaulx-en-Velin", + "identifiant" : "P59", + "mardi_pm" : "14h00-16h00", + "mercredi_pm" : "14h00-16h00", + "commentaire" : "", + "type" : "annexe MDM", + "lundi_pm" : "14h00-16h00", + "vendredi_am" : "09h00-12h00" + }, + "geometry" : { + "coordinates" : [ + 4.91839997179544, + 45.7783099644636 + ], + "type" : "Point" + } + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.92765003434398, + 45.7573399621839 + ] + }, + "properties" : { + "nom" : "Maison de la Métropole de La Tase", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69120", + "adresse" : "4 rue Joseph Blein", + "fax" : "04 26 99 31 66", + "code_insee" : "69256", + "lundi_am" : "8h30-12h00", + "code_territoire" : "16", + "mardi_am" : "8h30-12h00", + "adresse_complement" : "", + "mercredi_am" : "8h30-12h00", + "courriel" : "mdm.vaulx-en-velin@grandlyon.com", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Vaulx-en-Velin", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "8h30-12h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "mardi_pm" : "13h30-17h00", + "nom_reduit" : "La Tase", + "identifiant" : "P57", + "telephone" : "04 78 26 26 08", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "gid" : "46", + "jeudi_am" : "8h30-12h00", + "x_wgs84" : "4.92765003", + "ville" : "Vaulx-en-Velin", + "y_wgs84" : "45.75733996" + }, + "type" : "Feature" + }, + { + "properties" : { + "courriel" : "mdm.vaulx-en-velin@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "mdr_rattachement" : "Vaulx-en-Velin", + "jeudi_pm" : "13h30-17h00", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69120", + "nom" : "Maison de la Métropole Jean Jaurès", + "lundi_am" : "13h30-17h00", + "code_territoire" : "16", + "mardi_am" : "08h30-11h45", + "fax" : "04 26 99 31 66", + "adresse" : "2 rue Georges Chevallier", + "code_insee" : "69256", + "gid" : "47", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "y_wgs84" : "45.78505996", + "x_wgs84" : "4.91758999", + "ville" : "Vaulx-en-Velin", + "jeudi_am" : "08h30-12h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "nom_reduit" : "Jean Jaurès", + "identifiant" : "P55", + "telephone" : "04 37 42 01 12", + "mardi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.9175899938788, + 45.7850599647914 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "type" : "Feature", + "properties" : { + "mdr_rattachement" : "Vaulx-en-Velin", + "jeudi_pm" : "13h30-17h00", + "courriel" : "mdm.vaulx-en-velin@grandlyon.com", + "adresse_complement" : "", + "mercredi_am" : "8h30-12h00", + "lundi_am" : "8h30-12h00", + "code_territoire" : "16", + "mardi_am" : "8h30-12h00", + "adresse" : "15 rue Franklin", + "fax" : "04 26 99 31 66", + "code_insee" : "69256", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69120", + "nom" : "Maison de la Métropole Lamaze", + "y_wgs84" : "45.78745996", + "jeudi_am" : "8h30-12h00", + "x_wgs84" : "4.92272003", + "ville" : "Vaulx-en-Velin", + "gid" : "48", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "nom_reduit" : "Lamaze", + "identifiant" : "P56", + "telephone" : "04 78 80 75 13", + "mardi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "secondaire", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "8h30-12h00", + "lundi_pm" : "13h30-17h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.92272003040964, + 45.7874599637452 + ] + } + }, + { + "type" : "Feature", + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.9189300194705, + 45.7780999592587 + ] + }, + "properties" : { + "nom_reduit" : "Vaulx-en-Velin", + "identifiant" : "P58", + "telephone" : "04 78 79 52 40", + "mardi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "y_wgs84" : "45.77809996", + "x_wgs84" : "4.91893002", + "jeudi_am" : "08h30-12h00", + "ville" : "Vaulx-en-Velin", + "gid" : "49", + "territoire_mutualise" : "Bron-Vaulx-en-Velin", + "lundi_am" : "08h30-12h00", + "code_territoire" : "16", + "mardi_am" : "08h30-12h00", + "fax" : "04 26 99 31 66", + "adresse" : "23 rue Condorcet", + "code_insee" : "69256", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69120", + "nom" : "Maison de la Métropole principale de Vaulx-en-Velin", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Vaulx-en-Velin", + "courriel" : "mdm.vaulx-en-velin@grandlyon.com", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "Îlot A" + } + }, + { + "properties" : { + "courriel" : "mdm.venissieux-nord@grandlyon.com", + "mercredi_am" : "08h30-12h30", + "adresse_complement" : "", + "mdr_rattachement" : "Vénissieux-nord", + "jeudi_pm" : "13h30-17h00", + "vendredi_pm" : "13h30-17h00", + "code_postal" : "69200", + "nom" : "Maison de la Métropole principale de Vénissieux-nord", + "lundi_am" : "08h30-12h30", + "code_territoire" : "22", + "mardi_am" : "fermé", + "fax" : "04 26 99 31 70", + "adresse" : "3 bis Place Jules Grandclément", + "code_insee" : "69259", + "gid" : "50", + "territoire_mutualise" : "Saint Fons-Vénissieux", + "y_wgs84" : "45.71908999", + "jeudi_am" : "08h30-12h30", + "x_wgs84" : "4.88816001", + "ville" : "Vénissieux", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h30", + "lundi_pm" : "13h30-17h00", + "nom_reduit" : "Vénissieux-nord", + "identifiant" : "P98", + "telephone" : "04 72 90 02 00", + "mardi_pm" : "13h30-17h00" + }, + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.88816001135832, + 45.7190899893407 + ] + }, + "type" : "Feature" + }, + { + "geometry" : { + "coordinates" : [ + 4.87596998696795, + 45.6932200176782 + ], + "type" : "Point" + }, + "properties" : { + "code_insee" : "69259", + "fax" : "04 26 99 31 67", + "adresse" : "2 bis avenue Marcel Cachin", + "mardi_am" : "fermé", + "code_territoire" : "22", + "lundi_am" : "08h30-12h30", + "nom" : "Maison de la Métropole principale de Vénissieux-sud Le Coralin", + "code_postal" : "69200", + "vendredi_pm" : "13h30-17h00", + "mdr_rattachement" : "Vénissieux-sud Le Coralin", + "jeudi_pm" : "13h30-17h00", + "mercredi_am" : "08h30-12h30", + "adresse_complement" : "", + "courriel" : "mdm.venissieux-sud@grandlyon.com", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 28 67 15 00", + "identifiant" : "P100", + "nom_reduit" : "Vénissieux-sud Le Coralin", + "vendredi_am" : "08h30-12h30", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "jeudi_am" : "08h30-12h30", + "x_wgs84" : "4.87596999", + "ville" : "Vénissieux", + "y_wgs84" : "45.69322002", + "territoire_mutualise" : "Saint Fons-Vénissieux", + "gid" : "51" + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.91101999673326, + 45.7565700049062 + ] + }, + "properties" : { + "fax" : "04 26 99 31 68", + "adresse" : "24 allée des Cèdres", + "code_insee" : "69266", + "lundi_am" : "08h30-12h00", + "code_territoire" : "15", + "mardi_am" : "fermé", + "nom" : "Maison de la Métropole Bel Air", + "vendredi_pm" : "fermé", + "code_postal" : "69100", + "mdr_rattachement" : "Villeurbanne Sud", + "jeudi_pm" : "13h30-16h45", + "mercredi_am" : "fermé", + "adresse_complement" : "", + "courriel" : "mdm.villeurbanne@grandlyon.com", + "mardi_pm" : "13h30-16h45", + "identifiant" : "P111", + "nom_reduit" : "Bel Air", + "telephone" : "04 72 37 66 13", + "lundi_pm" : "13h30-16h45", + "vendredi_am" : "fermé", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "fermé", + "x_wgs84" : "4.91102", + "jeudi_am" : "08h30-12h00", + "ville" : "Villeurbanne", + "y_wgs84" : "45.75657", + "territoire_mutualise" : "Villeurbanne", + "gid" : "52" + }, + "type" : "Feature" + }, + { + "geometry" : { + "type" : "Point", + "coordinates" : [ + 4.86153996605726, + 45.7760800107368 + ] + }, + "properties" : { + "nom" : "Maison de la Métropole du Tonkin", + "vendredi_pm" : "fermé", + "code_postal" : "69100", + "adresse" : "2 allée Henri-Georges Clouzot", + "fax" : "04 26 99 31 72", + "code_insee" : "69266", + "lundi_am" : "08h30-12h00", + "mardi_am" : "fermé", + "code_territoire" : "15", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.villeurbanne@grandlyon.com", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Villeurbanne Nord", + "vendredi_am" : "fermé", + "lundi_pm" : "13h30-17h00", + "type" : "secondaire", + "commentaire" : "", + "mercredi_pm" : "13h30-17h00", + "mardi_pm" : "fermé", + "identifiant" : "P109", + "nom_reduit" : "Tonkin", + "telephone" : "04 78 89 02 81", + "territoire_mutualise" : "Villeurbanne", + "gid" : "53", + "x_wgs84" : "4.86153997", + "jeudi_am" : "08h30-12h00", + "ville" : "Villeurbanne", + "y_wgs84" : "45.77608001" + }, + "type" : "Feature" + }, + { + "properties" : { + "courriel" : "mdm.villeurbanne@grandlyon.com", + "adresse_complement" : "Square Pellet", + "mercredi_am" : "08h30-12h00", + "mdr_rattachement" : "Villeurbanne centre", + "jeudi_pm" : "13h30-17h00", + "vendredi_pm" : "13h30-16h30", + "code_postal" : "69100", + "nom" : "Maison de la Métropole principale de Villeurbanne centre", + "lundi_am" : "08h30-12h00", + "mardi_am" : "fermé", + "code_territoire" : "15", + "adresse" : "74 cours Émile Zola", + "fax" : "04 26 99 31 71", + "code_insee" : "69266", + "gid" : "54", + "territoire_mutualise" : "Villeurbanne", + "y_wgs84" : "45.77066004", + "ville" : "Villeurbanne", + "x_wgs84" : "4.87068998", + "jeudi_am" : "08h30-12h00", + "commentaire" : "", + "type" : "principale", + "mercredi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "identifiant" : "P108", + "nom_reduit" : "Villeurbanne centre", + "telephone" : "04 28 67 13 00", + "mardi_pm" : "13h30-17h00" + }, + "geometry" : { + "coordinates" : [ + 4.87068998213452, + 45.7706600350878 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "properties" : { + "mardi_pm" : "13h30-17h00", + "telephone" : "04 37 48 48 10", + "nom_reduit" : "Villeurbanne nord", + "identifiant" : "P110", + "lundi_pm" : "13h30-17h00", + "vendredi_am" : "08h30-12h00", + "mercredi_pm" : "13h30-17h00", + "type" : "principale", + "commentaire" : "", + "x_wgs84" : "4.89199996", + "jeudi_am" : "08h30-12h00", + "ville" : "Villeurbanne", + "y_wgs84" : "45.77794", + "territoire_mutualise" : "Villeurbanne", + "gid" : "55", + "code_insee" : "69266", + "fax" : "04 26 99 31 72", + "adresse" : "64 rue du 8 mai 1945", + "code_territoire" : "15", + "mardi_am" : "fermé", + "lundi_am" : "08h30-12h00", + "nom" : "Maison de la Métropole principale de Villeurbanne nord", + "code_postal" : "69100", + "vendredi_pm" : "13h30-16h30", + "mdr_rattachement" : "Villeurbanne nord", + "jeudi_pm" : "13h30-17h00", + "mercredi_am" : "08h30-12h00", + "adresse_complement" : "", + "courriel" : "mdm.villeurbanne@grandlyon.com" + }, + "geometry" : { + "coordinates" : [ + 4.89199996093599, + 45.7779399970283 + ], + "type" : "Point" + }, + "type" : "Feature" + }, + { + "geometry" : { + "coordinates" : [ + 4.89297003413113, + 45.7630100246052 + ], + "type" : "Point" + }, + "properties" : { + "vendredi_am" : "08h30-12h00", + "lundi_pm" : "13h30-17h00", + "mercredi_pm" : "13h30-17h00", + "commentaire" : "", + "type" : "principale", + "mardi_pm" : "13h30-17h00", + "telephone" : "04 78 03 46 00", + "nom_reduit" : "Villeurbanne sud", + "identifiant" : "P112", + "territoire_mutualise" : "Villeurbanne", + "gid" : "56", + "jeudi_am" : "08h30-12h00", + "x_wgs84" : "4.89297003", + "ville" : "Villeurbanne", + "y_wgs84" : "45.76301002", + "nom" : "Maison de la Métropole principale de Villeurbanne sud", + "code_postal" : "69100", + "vendredi_pm" : "13h30-16h30", + "code_insee" : "69266", + "adresse" : "30 rue de la Baïsse", + "fax" : "04 26 99 31 68", + "mardi_am" : "fermé", + "code_territoire" : "15", + "lundi_am" : "08h30-12h00", + "adresse_complement" : "La Baïsse (RDC), La Perralière (1er étage).", + "mercredi_am" : "08h30-12h00", + "courriel" : "mdm.villeurbanne@grandlyon.com", + "jeudi_pm" : "13h30-17h00", + "mdr_rattachement" : "Villeurbanne sud" + }, + "type" : "Feature" + } + ], + "crs" : { + "type" : "name", + "properties" : { + "name" : "urn:ogc:def:crs:OGC:1.3:CRS84" + } + }, + "type" : "FeatureCollection" +} diff --git a/tests/test_as_opening_hours.py b/tests/test_as_opening_hours.py index 9b6ea7e..184f28d 100644 --- a/tests/test_as_opening_hours.py +++ b/tests/test_as_opening_hours.py @@ -12,6 +12,8 @@ from combo_plugin_gnm.templatetags.gnm import as_opening_hours_badge BASE_DIR = os.path.dirname(os.path.dirname(__file__)) GEOJSON = json.load(open(os.path.join( BASE_DIR, 'tests/data/mairie-geojson.json')))['features'] +MDR_GEOJSON = json.load(open(os.path.join( + BASE_DIR, 'tests/data/mdr-geojson.json')))['features'] TZOFFSETS = {"Europe/Paris": 3600} @@ -62,3 +64,16 @@ def test_mairie_open_as_opening_hours_templatetag(): assert test_html == mark_safe(u'
%s
'% (klass, label)) test_html = as_opening_hours_badge(GEOJSON[1], base_datetime=test_datetime) assert test_html == mark_safe(u'
%s
'% (klass, label)) + + +def test_every_mdr_closed_at_midnight(): + """every mdr is closed at mignight""" + midnight = parse("2018-03-05T00:00:00+01:00") + opening_hours = [as_opening_hours_badge(x, base_datetime=midnight) for x in MDR_GEOJSON] + assert len([x for x in opening_hours if 'open' in x]) == 0 + + +def test_all_mdr_data_parsed_correct(): + """everything got parsed correctly""" + opening_hours = [as_opening_hours_badge(x) for x in MDR_GEOJSON] + assert opening_hours.count('') == 0