var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Banstead", "pol_id": 19336, "status": 0, "osmname": "Banstead Post Office", "object": "node/775130429", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.19952, 51.32281 ], [ -0.199537 , 51.322951 ] ] } }, { "type": "Feature", "properties": { "name": "Carshalton", "pol_id": 18085, "status": 0, "osmname": "Carshalton Post Office", "object": "node/36312308", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.16034, 51.36593 ], [ -0.160324 , 51.365894 ] ] } }, { "type": "Feature", "properties": { "name": "Damson Way", "pol_id": 149116, "status": 0, "osmname": "Damson Way Post Office", "object": "node/10203787020", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.1668, 51.3486 ], [ -0.166715 , 51.348631 ] ] } }, { "type": "Feature", "properties": { "name": "Florian Avenue", "pol_id": 19150, "status": 0, "osmname": "Florian Avenue Post Office", "object": "node/37155032", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.18096, 51.36957 ], [ -0.180878 , 51.369591 ] ] } }, { "type": "Feature", "properties": { "name": "Green Wrythe", "pol_id": 18379, "status": 0, "osmname": "Green Wrythe Post Office", "object": "node/278080090", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.17524, 51.38461 ], [ -0.175251 , 51.38463 ] ] } }, { "type": "Feature", "properties": { "name": "Hackbridge", "pol_id": 176647, "status": 0, "osmname": "Hackbridge Post Office", "object": "node/6083716194", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.1554, 51.3792 ], [ -0.155296 , 51.379324 ] ] } }, { "type": "Feature", "properties": { "name": "Martin Way", "pol_id": 19184, "status": 0, "osmname": "Martin Way Post Office", "object": "node/775135713", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.20785, 51.4029 ], [ -0.207936 , 51.402854 ] ] } }, { "type": "Feature", "properties": { "name": "Morden", "pol_id": 144619, "status": 0, "osmname": "Morden Post Office", "object": "node/6394527618", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.197, 51.4019 ], [ -0.196789 , 51.401864 ] ] } }, { "type": "Feature", "properties": { "name": "Nork", "pol_id": 19192, "status": 0, "osmname": "Nork Post Office", "object": "node/775131773", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.21512, 51.32724 ], [ -0.215121 , 51.327242 ] ] } }, { "type": "Feature", "properties": { "name": "Sutton", "pol_id": 149111, "status": 0, "osmname": "Sutton Post Office", "object": "node/6535926585", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.1932, 51.3634 ], [ -0.192993 , 51.363425 ] ] } }, { "type": "Feature", "properties": { "name": "Sutton Common Road", "pol_id": 127839, "status": 0, "osmname": "Sutton Common Road Post Office", "object": "node/4738875159", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.20447, 51.3831 ], [ -0.20449 , 51.383204 ] ] } }, { "type": "Feature", "properties": { "name": "The Beeches", "pol_id": 127956, "status": 0, "osmname": "The Beeches Post Office", "object": "node/36591829", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.1701, 51.3573 ], [ -0.170121 , 51.357391 ] ] } }, { "type": "Feature", "properties": { "name": "The Wrythe", "pol_id": 19268, "status": 0, "osmname": "The Wrythe Post Office", "object": "node/1639069694", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.16755, 51.37244 ], [ -0.167582 , 51.372401 ] ] } }, { "type": "Feature", "properties": { "name": "Upper Mulgrave Road", "pol_id": 19278, "status": 0, "osmname": "Upper Mulgrave Road Post Office", "object": "node/31937418", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.21275, 51.35501 ], [ -0.212768 , 51.355057 ] ] } }, { "type": "Feature", "properties": { "name": "Wallington", "pol_id": 125914, "status": 0, "osmname": "Wallington Post Office", "object": "node/5695229681", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.14991, 51.35847 ], [ -0.149782 , 51.35845 ] ] } }, { "type": "Feature", "properties": { "name": "Woodmansterne", "pol_id": 19296, "status": 0, "osmname": "Woodmansterne Post Office", "object": "node/775131002", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -0.17062, 51.32417 ], [ -0.170541 , 51.324181 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Belmont", "pol_id": 179415, "status": 1, "postcode": "SM2 6BX" }, "geometry": { "type": "Point", "coordinates": [ -0.2011, 51.3439 ] } }, { "type": "Feature", "properties": { "name": "London Road", "pol_id": 151267, "status": 0, "postcode": "SM3 9BJ" }, "geometry": { "type": "Point", "coordinates": [ -0.2186, 51.3795 ] } }, { "type": "Feature", "properties": { "name": "Rosehill", "pol_id": 144949, "status": 0, "postcode": "SM5 1AG" }, "geometry": { "type": "Point", "coordinates": [ -0.1888, 51.3833 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Mailbox Centre", "object": "node/14196988846", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -0.192085, 51.40342 ] } } ] };