Introduce group posts

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-07-09 17:24:28 +02:00
parent bec1c69d4b
commit 9c9f1385fb
249 changed files with 11886 additions and 5023 deletions

View File

@@ -0,0 +1,31 @@
{
"type": "FeatureCollection",
"version": "draft",
"features": [
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [4.842569, 45.751718] },
"properties": {
"label": "10 Rue Jangot 69007 Lyon",
"score": 0.9999999999926557,
"housenumber": "10",
"id": "69387_3650_00010",
"type": "housenumber",
"x": 843232.29,
"y": 6518573.31,
"importance": 0.5454797306366062,
"name": "10 Rue Jangot",
"postcode": "69007",
"citycode": "69387",
"city": "Lyon",
"district": "Lyon 7e Arrondissement",
"context": "69, Rh\u00f4ne, Auvergne-Rh\u00f4ne-Alpes",
"street": "Rue Jangot",
"distance": 0
}
}
],
"attribution": "BAN",
"licence": "ETALAB-2.0",
"limit": 1
}

View File

@@ -0,0 +1,49 @@
{
"type": "FeatureCollection",
"version": "draft",
"features": [
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [4.842569, 45.751718] },
"properties": {
"label": "10 Rue Jangot 69007 Lyon",
"score": 0.8677708846033279,
"housenumber": "10",
"id": "69387_3650_00010",
"type": "housenumber",
"x": 843232.29,
"y": 6518573.31,
"importance": 0.5454797306366062,
"name": "10 Rue Jangot",
"postcode": "69007",
"citycode": "69387",
"city": "Lyon",
"district": "Lyon 7e Arrondissement",
"context": "69, Rh\u00f4ne, Auvergne-Rh\u00f4ne-Alpes",
"street": "Rue Jangot"
}
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [2.440319, 50.371266] },
"properties": {
"label": "Rue Jangon 62127 Bailleul-aux-Cornailles",
"score": 0.5269641371131077,
"id": "62070_0100",
"type": "street",
"x": 660129.18,
"y": 7030540.46,
"importance": 0.25814396978264664,
"name": "Rue Jangon",
"postcode": "62127",
"citycode": "62070",
"city": "Bailleul-aux-Cornailles",
"context": "62, Pas-de-Calais, Hauts-de-France"
}
}
],
"attribution": "BAN",
"licence": "ETALAB-2.0",
"query": "10 Rue Jangot",
"limit": 5
}

View File

@@ -0,0 +1,5 @@
{
"error_message": "The provided API key is invalid.",
"results": [],
"status": "REQUEST_DENIED"
}

View File

@@ -0,0 +1,109 @@
{
"plus_code": {
"compound_code": "QR2V+M2 Lyon, France",
"global_code": "8FQ6QR2V+M2"
},
"results": [
{
"address_components": [
{
"long_name": "10bis",
"short_name": "10bis",
"types": ["street_number"]
},
{
"long_name": "Rue Jangot",
"short_name": "Rue Jangot",
"types": ["route"]
},
{
"long_name": "Lyon",
"short_name": "Lyon",
"types": ["locality", "political"]
},
{
"long_name": "Rhône",
"short_name": "Rhône",
"types": ["administrative_area_level_2", "political"]
},
{
"long_name": "Auvergne-Rhône-Alpes",
"short_name": "Auvergne-Rhône-Alpes",
"types": ["administrative_area_level_1", "political"]
},
{
"long_name": "France",
"short_name": "FR",
"types": ["country", "political"]
},
{
"long_name": "69007",
"short_name": "69007",
"types": ["postal_code"]
}
],
"formatted_address": "10bis Rue Jangot, 69007 Lyon, France",
"geometry": {
"location": { "lat": 45.751725, "lng": 4.8424966 },
"location_type": "ROOFTOP",
"viewport": {
"northeast": { "lat": 45.7530739802915, "lng": 4.843845580291503 },
"southwest": { "lat": 45.7503760197085, "lng": 4.841147619708499 }
}
},
"place_id": "ChIJrW0QikTq9EcR96jk2OnO75w",
"plus_code": {
"compound_code": "QR2R+MX Lyon, France",
"global_code": "8FQ6QR2R+MX"
},
"types": ["street_address"]
},
{
"address_components": [
{ "long_name": "9", "short_name": "9", "types": ["street_number"] },
{
"long_name": "Rue Jangot",
"short_name": "Rue Jangot",
"types": ["route"]
},
{
"long_name": "Lyon",
"short_name": "Lyon",
"types": ["locality", "political"]
},
{
"long_name": "Rhône",
"short_name": "Rhône",
"types": ["administrative_area_level_2", "political"]
},
{
"long_name": "Auvergne-Rhône-Alpes",
"short_name": "Auvergne-Rhône-Alpes",
"types": ["administrative_area_level_1", "political"]
},
{
"long_name": "France",
"short_name": "FR",
"types": ["country", "political"]
},
{
"long_name": "69007",
"short_name": "69007",
"types": ["postal_code"]
}
],
"formatted_address": "9 Rue Jangot, 69007 Lyon, France",
"geometry": {
"location": { "lat": 45.7518165, "lng": 4.8427168 },
"location_type": "RANGE_INTERPOLATED",
"viewport": {
"northeast": { "lat": 45.7531654802915, "lng": 4.844065780291502 },
"southwest": { "lat": 45.7504675197085, "lng": 4.841367819708497 }
}
},
"place_id": "EiA5IFJ1ZSBKYW5nb3QsIDY5MDA3IEx5b24sIEZyYW5jZSIaEhgKFAoSCR8N2ItE6vRHEW9tyPnhQsUIEAk",
"types": ["street_address"]
}
],
"status": "OK"
}

View File

@@ -0,0 +1,62 @@
{
"html_attributions": [],
"result": {
"address_components": [
{
"long_name": "10bis",
"short_name": "10bis",
"types": ["street_number"]
},
{
"long_name": "Rue Jangot",
"short_name": "Rue Jangot",
"types": ["route"]
},
{
"long_name": "Lyon",
"short_name": "Lyon",
"types": ["locality", "political"]
},
{
"long_name": "Rhône",
"short_name": "Rhône",
"types": ["administrative_area_level_2", "political"]
},
{
"long_name": "Auvergne-Rhône-Alpes",
"short_name": "Auvergne-Rhône-Alpes",
"types": ["administrative_area_level_1", "political"]
},
{
"long_name": "France",
"short_name": "FR",
"types": ["country", "political"]
},
{ "long_name": "69007", "short_name": "69007", "types": ["postal_code"] }
],
"adr_address": "\u003cspan class=\"street-address\"\u003e10bis Rue Jangot\u003c/span\u003e, \u003cspan class=\"postal-code\"\u003e69007\u003c/span\u003e \u003cspan class=\"locality\"\u003eLyon\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eFrance\u003c/span\u003e",
"formatted_address": "10bis Rue Jangot, 69007 Lyon, France",
"geometry": {
"location": { "lat": 45.751725, "lng": 4.8424966 },
"viewport": {
"northeast": { "lat": 45.7531097802915, "lng": 4.843951380291502 },
"southwest": { "lat": 45.7504118197085, "lng": 4.841253419708497 }
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
"id": "4a3482a7a74c6203048adf713b736186c4ace7cd",
"name": "10bis Rue Jangot",
"place_id": "ChIJrW0QikTq9EcR96jk2OnO75w",
"plus_code": {
"compound_code": "QR2R+MX Lyon, France",
"global_code": "8FQ6QR2R+MX"
},
"reference": "ChIJrW0QikTq9EcR96jk2OnO75w",
"scope": "GOOGLE",
"types": ["street_address"],
"url": "https://maps.google.com/?q=10bis+Rue+Jangot,+69007+Lyon,+France&ftid=0x47f4ea448a106dad:0x9cefcee9d8e4a8f7",
"utc_offset": 120,
"vicinity": "Lyon"
},
"status": "OK"
}

View File

@@ -0,0 +1,55 @@
{
"results": [
{
"address_components": [
{ "long_name": "10", "short_name": "10", "types": ["street_number"] },
{
"long_name": "Rue Jangot",
"short_name": "Rue Jangot",
"types": ["route"]
},
{
"long_name": "Lyon",
"short_name": "Lyon",
"types": ["locality", "political"]
},
{
"long_name": "Rhône",
"short_name": "Rhône",
"types": ["administrative_area_level_2", "political"]
},
{
"long_name": "Auvergne-Rhône-Alpes",
"short_name": "Auvergne-Rhône-Alpes",
"types": ["administrative_area_level_1", "political"]
},
{
"long_name": "France",
"short_name": "FR",
"types": ["country", "political"]
},
{
"long_name": "69007",
"short_name": "69007",
"types": ["postal_code"]
}
],
"formatted_address": "10 Rue Jangot, 69007 Lyon, France",
"geometry": {
"location": { "lat": 45.75164940000001, "lng": 4.8424032 },
"location_type": "ROOFTOP",
"viewport": {
"northeast": { "lat": 45.75299838029151, "lng": 4.843752180291502 },
"southwest": { "lat": 45.75030041970851, "lng": 4.841054219708497 }
}
},
"place_id": "ChIJtW0QikTq9EcRLI4Vy6bRx0U",
"plus_code": {
"compound_code": "QR2R+MX Lyon, France",
"global_code": "8FQ6QR2R+MX"
},
"types": ["street_address"]
}
],
"status": "OK"
}

View File

@@ -0,0 +1,58 @@
{
"html_attributions": [],
"result": {
"address_components": [
{ "long_name": "10", "short_name": "10", "types": ["street_number"] },
{
"long_name": "Rue Jangot",
"short_name": "Rue Jangot",
"types": ["route"]
},
{
"long_name": "Lyon",
"short_name": "Lyon",
"types": ["locality", "political"]
},
{
"long_name": "Rhône",
"short_name": "Rhône",
"types": ["administrative_area_level_2", "political"]
},
{
"long_name": "Auvergne-Rhône-Alpes",
"short_name": "Auvergne-Rhône-Alpes",
"types": ["administrative_area_level_1", "political"]
},
{
"long_name": "France",
"short_name": "FR",
"types": ["country", "political"]
},
{ "long_name": "69007", "short_name": "69007", "types": ["postal_code"] }
],
"adr_address": "\u003cspan class=\"street-address\"\u003e10 Rue Jangot\u003c/span\u003e, \u003cspan class=\"postal-code\"\u003e69007\u003c/span\u003e \u003cspan class=\"locality\"\u003eLyon\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eFrance\u003c/span\u003e",
"formatted_address": "10 Rue Jangot, 69007 Lyon, France",
"geometry": {
"location": { "lat": 45.75164940000001, "lng": 4.842403200000001 },
"viewport": {
"northeast": { "lat": 45.7530412802915, "lng": 4.843668630291503 },
"southwest": { "lat": 45.75034331970851, "lng": 4.840970669708498 }
}
},
"icon": "https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
"id": "61b9418d092d2ed05ddd65a55dddefda5b9628cc",
"name": "10 Rue Jangot",
"place_id": "ChIJtW0QikTq9EcRLI4Vy6bRx0U",
"plus_code": {
"compound_code": "QR2R+MX Lyon, France",
"global_code": "8FQ6QR2R+MX"
},
"reference": "ChIJtW0QikTq9EcRLI4Vy6bRx0U",
"scope": "GOOGLE",
"types": ["street_address"],
"url": "https://maps.google.com/?q=10+Rue+Jangot,+69007+Lyon,+France&ftid=0x47f4ea448a106db5:0x45c7d1a6cb158e2c",
"utc_offset": 120,
"vicinity": "Lyon"
},
"status": "OK"
}

View File

@@ -0,0 +1,43 @@
{
"info": {
"statuscode": 0,
"copyright": {
"text": "\\u00A9 2019 MapQuest, Inc.",
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
"imageAltText": "\\u00A9 2019 MapQuest, Inc."
},
"messages": []
},
"options": { "maxResults": 1, "thumbMaps": true, "ignoreLatLngInput": false },
"results": [
{
"providedLocation": { "latLng": { "lat": 45.751718, "lng": 4.842569 } },
"locations": [
{
"street": "10 Rue Jangot",
"adminArea6": "",
"adminArea6Type": "Neighborhood",
"adminArea5": "Lyon",
"adminArea5Type": "City",
"adminArea4": "",
"adminArea4Type": "County",
"adminArea3": "Auvergne-Rhône-Alpes",
"adminArea3Type": "State",
"adminArea1": "FR",
"adminArea1Type": "Country",
"postalCode": "69007",
"geocodeQualityCode": "P1AAA",
"geocodeQuality": "POINT",
"dragPoint": false,
"sideOfStreet": "N",
"linkId": "0",
"unknownInput": "",
"type": "s",
"latLng": { "lat": 45.751714, "lng": 4.842566 },
"displayLatLng": { "lat": 45.751714, "lng": 4.842566 },
"mapUrl": "http://open.mapquestapi.com/staticmap/v5/map?key=secret_key&type=map&size=225,160&locations=45.7517141,4.8425657|marker-sm-50318A-1&scalebar=true&zoom=15&rand=-570915433"
}
]
}
]
}

View File

@@ -0,0 +1,47 @@
{
"info": {
"statuscode": 0,
"copyright": {
"text": "\\u00A9 2019 MapQuest, Inc.",
"imageUrl": "http://api.mqcdn.com/res/mqlogo.gif",
"imageAltText": "\\u00A9 2019 MapQuest, Inc."
},
"messages": []
},
"options": {
"maxResults": 10,
"thumbMaps": true,
"ignoreLatLngInput": false
},
"results": [
{
"providedLocation": { "location": "10 rue Jangot" },
"locations": [
{
"street": "10 Rue Jangot",
"adminArea6": "7e",
"adminArea6Type": "Neighborhood",
"adminArea5": "Lyon",
"adminArea5Type": "City",
"adminArea4": "Lyon",
"adminArea4Type": "County",
"adminArea3": "Auvergne-Rhône-Alpes",
"adminArea3Type": "State",
"adminArea1": "FR",
"adminArea1Type": "Country",
"postalCode": "69007",
"geocodeQualityCode": "P1AXX",
"geocodeQuality": "POINT",
"dragPoint": false,
"sideOfStreet": "N",
"linkId": "0",
"unknownInput": "",
"type": "s",
"latLng": { "lat": 45.751714, "lng": 4.842566 },
"displayLatLng": { "lat": 45.751714, "lng": 4.842566 },
"mapUrl": "http://open.mapquestapi.com/staticmap/v5/map?key=secret_key&type=map&size=225,160&locations=45.7517141,4.8425657|marker-sm-50318A-1&scalebar=true&zoom=15&rand=1358091752"
}
]
}
]
}

View File

@@ -0,0 +1,43 @@
{
"type": "FeatureCollection",
"geocoding": {
"version": "0.1.0",
"attribution": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
"licence": "ODbL",
"query": "45.751718,4.842569"
},
"features": [
{
"type": "Feature",
"properties": {
"geocoding": {
"place_id": 41453794,
"osm_type": "node",
"osm_id": 3078260611,
"type": "house",
"accuracy": 0,
"label": "10, Rue Jangot, La Guillotière, Lyon 7e Arrondissement, Lyon, Métropole de Lyon, Departemental constituency of Rhône, Auvergne-Rhône-Alpes, Metropolitan France, 69007, France",
"name": null,
"housenumber": "10",
"street": "Rue Jangot",
"postcode": "69007",
"city": "Lyon",
"county": "Lyon",
"state": "Auvergne-Rhône-Alpes",
"country": "France",
"admin": {
"level2": "France",
"level3": "Metropolitan France",
"level4": "Auvergne-Rhône-Alpes",
"level5": "Departemental constituency of Rhône",
"level6": "Métropole de Lyon",
"level7": "Lyon",
"level8": "Lyon",
"level9": "Lyon 7e Arrondissement"
}
}
},
"geometry": { "type": "Point", "coordinates": [4.8425657, 45.7517141] }
}
]
}

View File

@@ -0,0 +1,42 @@
{
"type": "FeatureCollection",
"geocoding": {
"version": "0.1.0",
"attribution": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
"licence": "ODbL",
"query": "10 rue Jangot"
},
"features": [
{
"type": "Feature",
"properties": {
"geocoding": {
"place_id": 41453794,
"osm_type": "node",
"osm_id": 3078260611,
"type": "house",
"label": "10, Rue Jangot, La Guillotière, Lyon 7e Arrondissement, Lyon, Métropole de Lyon, Departemental constituency of Rhône, Auvergne-Rhône-Alpes, Metropolitan France, 69007, France",
"name": null,
"housenumber": "10",
"street": "Rue Jangot",
"postcode": "69007",
"city": "Lyon",
"county": "Lyon",
"state": "Auvergne-Rhône-Alpes",
"country": "France",
"admin": {
"level2": "France",
"level3": "Metropolitan France",
"level4": "Auvergne-Rhône-Alpes",
"level5": "Departemental constituency of Rhône",
"level6": "Métropole de Lyon",
"level7": "Lyon",
"level8": "Lyon",
"level9": "Lyon 7e Arrondissement"
}
}
},
"geometry": { "type": "Point", "coordinates": [4.8425657, 45.7517141] }
}
]
}

View File

@@ -0,0 +1,37 @@
{
"features": [
{
"geometry": { "coordinates": [4.8425657, 45.7517141], "type": "Point" },
"type": "Feature",
"properties": {
"osm_id": 3078260611,
"osm_type": "N",
"country": "France",
"osm_key": "place",
"housenumber": "10",
"city": "Lyon",
"street": "Rue Jangot",
"osm_value": "house",
"postcode": "69007",
"state": "Auvergne-Rhône-Alpes"
}
},
{
"geometry": { "coordinates": [4.8424254, 45.7517056], "type": "Point" },
"type": "Feature",
"properties": {
"osm_id": 3078260612,
"osm_type": "N",
"country": "France",
"osm_key": "place",
"housenumber": "10bis",
"city": "Lyon",
"street": "Rue Jangot",
"osm_value": "house",
"postcode": "69007",
"state": "Auvergne-Rhône-Alpes"
}
}
],
"type": "FeatureCollection"
}