var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Abram", "pol_id": 10723, "status": 0, "osmname": "Abram Post Office", "object": "way/979661517", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.59227, 53.50807 ], [ -2.592274 , 53.508047 ] ] } }, { "type": "Feature", "properties": { "name": "Appley Bridge", "pol_id": 127558, "status": 0, "osmname": "Appley Bridge Post Office", "object": "node/773901112", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.71157, 53.57922 ], [ -2.711661 , 53.57919 ] ] } }, { "type": "Feature", "properties": { "name": "Ashton-in-Makerfield", "pol_id": 10814, "status": 0, "osmname": "Ashton-in-Makerfield Post Office", "object": "way/977312259", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.63847, 53.48809 ], [ -2.638555 , 53.488157 ] ] } }, { "type": "Feature", "properties": { "name": "Ashurst", "pol_id": 11451, "status": 0, "osmname": "Ashurst Post Office", "object": "node/773901930", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.77358, 53.56336 ], [ -2.773232 , 53.563188 ] ] } }, { "type": "Feature", "properties": { "name": "Aspull Moor", "pol_id": 10860, "status": 0, "osmname": "Aspull Moor Post Office", "object": "node/8330368714", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.58438, 53.5691 ], [ -2.584391 , 53.569088 ] ] } }, { "type": "Feature", "properties": { "name": "Atherton Road", "pol_id": 10910, "status": 0, "osmname": "Atherton Road Post Office", "object": "node/272778732", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.57441, 53.53158 ], [ -2.574345 , 53.531608 ] ] } }, { "type": "Feature", "properties": { "name": "Beech Hill", "pol_id": 10998, "status": 0, "osmname": "Beech Hill Post Office", "object": "node/11114956144", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.64741, 53.56006 ], [ -2.647947 , 53.559979 ] ] } }, { "type": "Feature", "properties": { "name": "Billinge", "pol_id": 130221, "status": 0, "osmname": "Billinge Post Office", "object": "node/773899797", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.71084, 53.4943 ], [ -2.710937 , 53.49429 ] ] } }, { "type": "Feature", "properties": { "name": "Digmoor", "pol_id": 13113, "status": 0, "osmname": "Digmoor Post Office", "object": "node/921502372", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.7587, 53.5375 ], [ -2.758575 , 53.53738 ] ] } }, { "type": "Feature", "properties": { "name": "Firs Lane", "pol_id": 13162, "status": 0, "osmname": "Firs Lane Post Office", "object": "node/4788301922", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.53237, 53.498 ], [ -2.532286 , 53.497934 ] ] } }, { "type": "Feature", "properties": { "name": "Garswood", "pol_id": 133590, "status": 0, "osmname": "Garswood Post Office", "object": "node/6009839923", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.67249, 53.49108 ], [ -2.672335 , 53.491111 ] ] } }, { "type": "Feature", "properties": { "name": "Goose Green", "pol_id": 11566, "status": 0, "osmname": "Goose Green Post Office", "object": "node/9588907826", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.65768, 53.52534 ], [ -2.657763 , 53.525343 ] ] } }, { "type": "Feature", "properties": { "name": "Hardybutts", "pol_id": 168495, "status": 0, "osmname": "Hardybutts Post Office", "object": "node/11267337603", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6181, 53.5446 ], [ -2.617957 , 53.544458 ] ] } }, { "type": "Feature", "properties": { "name": "Hawkley", "pol_id": 13136, "status": 0, "osmname": "Hawkley Post Office", "object": "way/1197815507", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.64199, 53.52427 ], [ -2.642056 , 53.524226 ] ] } }, { "type": "Feature", "properties": { "name": "Hindley", "pol_id": 128444, "status": 0, "osmname": "Hindley Post Office", "object": "node/11115235259", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.57792, 53.53542 ], [ -2.577969 , 53.535412 ] ] } }, { "type": "Feature", "properties": { "name": "Hindley Green", "pol_id": 126227, "status": 0, "osmname": "Hindley Green Post Office", "object": "node/272748387", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.54489, 53.52343 ], [ -2.544762 , 53.523507 ] ] } }, { "type": "Feature", "properties": { "name": "Ince", "pol_id": 11811, "status": 0, "osmname": "Ince Post Office", "object": "node/773865706", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6059, 53.544 ], [ -2.605844 , 53.543925 ] ] } }, { "type": "Feature", "properties": { "name": "Kitt Green", "pol_id": 11850, "status": 0, "osmname": "Kitt Green Post Office", "object": "way/1198831878", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6826, 53.54502 ], [ -2.682522 , 53.545027 ] ] } }, { "type": "Feature", "properties": { "name": "Land Side", "pol_id": 136365, "status": 0, "osmname": "Land Side Post Office", "object": "node/10968137643", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5208, 53.4818 ], [ -2.520689 , 53.48166 ] ] } }, { "type": "Feature", "properties": { "name": "Leigh", "pol_id": 17582, "status": 0, "osmname": "Leigh Post Office", "object": "node/676312474", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.51632, 53.49746 ], [ -2.516424 , 53.497453 ] ] } }, { "type": "Feature", "properties": { "name": "Marsh Green", "pol_id": 12534, "status": 0, "osmname": "Marsh Green Post Office", "object": "node/773869356", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6686, 53.55 ], [ -2.66825 , 53.550066 ] ] } }, { "type": "Feature", "properties": { "name": "Newburgh", "pol_id": 12198, "status": 0, "osmname": "Newburgh Post Office", "object": "node/921503559", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.7837, 53.58691 ], [ -2.783528 , 53.58694 ] ] } }, { "type": "Feature", "properties": { "name": "Old Road", "pol_id": 133937, "status": 0, "osmname": "Old Road Post Office", "object": "node/9209181783", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.64573, 53.49143 ], [ -2.6456 , 53.491419 ] ] } }, { "type": "Feature", "properties": { "name": "Parbold", "pol_id": 129706, "status": 0, "osmname": "Parbold Post Office", "object": "node/4395407674", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.77051, 53.5919 ], [ -2.770237 , 53.591936 ] ] } }, { "type": "Feature", "properties": { "name": "Platt Bridge", "pol_id": 12502, "status": 0, "osmname": "Platt Bridge Post Office", "object": "node/1437447314", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.59842, 53.51921 ], [ -2.598235 , 53.519093 ] ] } }, { "type": "Feature", "properties": { "name": "Railway Road", "pol_id": 135636, "status": 0, "osmname": "(no name)", "object": "node/12604454943", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.52196, 53.49709 ], [ -2.521904 , 53.497075 ] ] } }, { "type": "Feature", "properties": { "name": "Robin Park", "pol_id": 23369, "status": 0, "osmname": "Robin Park Post Office", "object": "node/773899647", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.65088, 53.54323 ], [ -2.650028 , 53.543085 ] ] } }, { "type": "Feature", "properties": { "name": "Sandy Lane", "pol_id": 13053, "status": 0, "osmname": "Sandy Lane Post Office", "object": "node/14073982690", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.80417, 53.54897 ], [ -2.804182 , 53.548998 ] ] } }, { "type": "Feature", "properties": { "name": "Shevington", "pol_id": 12699, "status": 0, "osmname": "Shevington Post Office", "object": "node/773900911", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.69452, 53.57092 ], [ -2.694352 , 53.570852 ] ] } }, { "type": "Feature", "properties": { "name": "Spinning Gate", "pol_id": 144417, "status": 0, "osmname": "Spinning Gate Post Office", "object": "node/5743650120", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5176, 53.4956 ], [ -2.517352 , 53.495499 ] ] } }, { "type": "Feature", "properties": { "name": "Standish", "pol_id": 12765, "status": 0, "osmname": "Standish Post Office", "object": "node/1364260703", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.66329, 53.58714 ], [ -2.663427 , 53.587052 ] ] } }, { "type": "Feature", "properties": { "name": "The Centre", "pol_id": 145456, "status": 0, "osmname": "The Centre Post Office", "object": "node/4573777986", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.4836, 53.5038 ], [ -2.483521 , 53.504062 ] ] } }, { "type": "Feature", "properties": { "name": "Westleigh", "pol_id": 13384, "status": 0, "osmname": "Westleigh Post Office", "object": "node/773901376", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5261, 53.51 ], [ -2.525933 , 53.509879 ] ] } }, { "type": "Feature", "properties": { "name": "Wigan", "pol_id": 179696, "status": 0, "osmname": "(no name)", "object": "node/12480679375", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6328, 53.5465 ], [ -2.632618 , 53.546476 ] ] } }, { "type": "Feature", "properties": { "name": "Wigan Lane", "pol_id": 12881, "status": 0, "osmname": "Wigan Lane Post Office", "object": "node/2609128040", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.62827, 53.55394 ], [ -2.628078 , 53.553957 ] ] } }, { "type": "Feature", "properties": { "name": "Worsley Hall", "pol_id": 11894, "status": 0, "osmname": "Worsley Hall Post Office", "object": "way/1020006188", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.66531, 53.54151 ], [ -2.665341 , 53.541491 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Ashbourne Avenue", "pol_id": 167345, "status": 0, "postcode": "WN2 1AF" }, "geometry": { "type": "Point", "coordinates": [ -2.6087, 53.5551 ] } }, { "type": "Feature", "properties": { "name": "Bickershaw", "pol_id": 179771, "status": 0, "postcode": "WN2 5TL" }, "geometry": { "type": "Point", "coordinates": [ -2.5716, 53.5148 ] } }, { "type": "Feature", "properties": { "name": "Bryn", "pol_id": 145498, "status": 0, "postcode": "WN4 0BS" }, "geometry": { "type": "Point", "coordinates": [ -2.6491, 53.5028 ] } }, { "type": "Feature", "properties": { "name": "Leigh Road", "pol_id": 145829, "status": 0, "postcode": "WN7 1SJ" }, "geometry": { "type": "Point", "coordinates": [ -2.518, 53.5036 ] } }, { "type": "Feature", "properties": { "name": "Longshaw", "pol_id": 177480, "status": 0, "postcode": "WN5 7DT" }, "geometry": { "type": "Point", "coordinates": [ -2.7144, 53.5196 ] } }, { "type": "Feature", "properties": { "name": "Lower Ince", "pol_id": 145714, "status": 0, "postcode": "WN3 4LU" }, "geometry": { "type": "Point", "coordinates": [ -2.6197, 53.5367 ] } }, { "type": "Feature", "properties": { "name": "Norley", "pol_id": 135779, "status": 0, "postcode": "WN5 9LS" }, "geometry": { "type": "Point", "coordinates": [ -2.67608, 53.54045 ] } }, { "type": "Feature", "properties": { "name": "Orrell", "pol_id": 167865, "status": 0, "postcode": "WN5 8TG" }, "geometry": { "type": "Point", "coordinates": [ -2.7112, 53.5328 ] } }, { "type": "Feature", "properties": { "name": "Skelmersdale", "pol_id": 20500, "status": 0, "postcode": "WN8 6LA" }, "geometry": { "type": "Point", "coordinates": [ -2.77808, 53.55403 ] } }, { "type": "Feature", "properties": { "name": "Upholland", "pol_id": 168272, "status": 0, "postcode": "WN8 0ND" }, "geometry": { "type": "Point", "coordinates": [ -2.7218, 53.5403 ] } }, { "type": "Feature", "properties": { "name": "Worthington", "pol_id": 12966, "status": 0, "postcode": "WN1 2TF" }, "geometry": { "type": "Point", "coordinates": [ -2.63816, 53.58424 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "(no name)", "object": "node/7173149101", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.616659, 53.55317 ] } }, { "type": "Feature", "properties": { "name": "(no name)", "object": "node/3336452898", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.703316, 53.581511 ] } }, { "type": "Feature", "properties": { "name": "Bickershaw Post Office", "object": "node/773866370", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.569351, 53.513664 ] } }, { "type": "Feature", "properties": { "name": "Chapel Lane Post Office", "object": "way/664079855", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.516987, 53.597449 ] } } ] };