var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Barkisland", "pol_id": 11136, "status": 0, "osmname": "Barkisland Post Office", "object": "way/470426780", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.91795, 53.67613 ], [ -1.917797 , 53.676149 ] ] } }, { "type": "Feature", "properties": { "name": "Beechwood", "pol_id": 11181, "status": 0, "osmname": "Beechwood Post Office", "object": "node/244220916", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.92529, 53.70632 ], [ -1.925435 , 53.706325 ] ] } }, { "type": "Feature", "properties": { "name": "Boothtown", "pol_id": 11273, "status": 0, "osmname": "Boothtown Post Office", "object": "node/773006558", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.8654, 53.73489 ], [ -1.865312 , 53.734538 ] ] } }, { "type": "Feature", "properties": { "name": "Elland", "pol_id": 123253, "status": 0, "osmname": "Elland Post Office", "object": "way/579720673", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.83662, 53.6849 ], [ -1.835524 , 53.684136 ] ] } }, { "type": "Feature", "properties": { "name": "Halifax", "pol_id": 136436, "status": 0, "osmname": "Halifax Post Office", "object": "node/5551424213", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.8589, 53.7231 ], [ -1.85875 , 53.723084 ] ] } }, { "type": "Feature", "properties": { "name": "Hebden Bridge", "pol_id": 11635, "status": 0, "osmname": "Hebden Bridge Post Office", "object": "way/93689266", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.01406, 53.74065 ], [ -2.014043 , 53.740673 ] ] } }, { "type": "Feature", "properties": { "name": "Heptonstall", "pol_id": 11718, "status": 0, "osmname": "Heptonstall Post Office", "object": "way/115708393", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.02081, 53.749 ], [ -2.020731 , 53.748925 ] ] } }, { "type": "Feature", "properties": { "name": "Highroad Well", "pol_id": 11764, "status": 0, "osmname": "(no name)", "object": "node/773007949", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.9001, 53.7235 ], [ -1.897044 , 53.723213 ] ] } }, { "type": "Feature", "properties": { "name": "Holywell Green", "pol_id": 11886, "status": 0, "osmname": "Holywell Green Post Office", "object": "node/8483670086", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.86716, 53.67528 ], [ -1.867128 , 53.675345 ] ] } }, { "type": "Feature", "properties": { "name": "Illingworth Moor", "pol_id": 12365, "status": 0, "osmname": "(no name)", "object": "way/579720671", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.89197, 53.75415 ], [ -1.891974 , 53.754171 ] ] } }, { "type": "Feature", "properties": { "name": "Mount Pellon", "pol_id": 12260, "status": 0, "osmname": "Mount Pellon Post Office", "object": "way/579720640", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.89151, 53.72986 ], [ -1.891491 , 53.729895 ] ] } }, { "type": "Feature", "properties": { "name": "Mytholmroyd", "pol_id": 127358, "status": 0, "osmname": "Newsagent and Post Office", "object": "way/591346036", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.982, 53.7311 ], [ -1.982227 , 53.731088 ] ] } }, { "type": "Feature", "properties": { "name": "Northowram", "pol_id": 126847, "status": 0, "osmname": "(no name)", "object": "node/773005784", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.8321, 53.7391 ], [ -1.8286 , 53.739821 ] ] } }, { "type": "Feature", "properties": { "name": "Old Town", "pol_id": 13079, "status": 0, "osmname": "Wadsworth Post Office", "object": "way/579720575", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.9969, 53.75044 ], [ -1.996877 , 53.75043 ] ] } }, { "type": "Feature", "properties": { "name": "Ovenden", "pol_id": 12499, "status": 0, "osmname": "Ovenden Post Office", "object": "node/11277837571", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.8848, 53.7446 ], [ -1.884627 , 53.744604 ] ] } }, { "type": "Feature", "properties": { "name": "Skircoat Green", "pol_id": 12664, "status": 0, "osmname": "Skircoat Green Post Office", "object": "node/946974414", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.86333, 53.70321 ], [ -1.863272 , 53.703118 ] ] } }, { "type": "Feature", "properties": { "name": "Sowerby Bridge", "pol_id": 4090, "status": 0, "osmname": "Sowerby Bridge Post Office", "object": "node/773003480", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.90756, 53.70934 ], [ -1.907534 , 53.709364 ] ] } }, { "type": "Feature", "properties": { "name": "Triangle", "pol_id": 12991, "status": 0, "osmname": "Triangle Post Office", "object": "node/773000667", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.9359, 53.69608 ], [ -1.935897 , 53.696071 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "King Cross Road", "pol_id": 176216, "status": 0, "postcode": "HX1 3JL" }, "geometry": { "type": "Point", "coordinates": [ -1.8827, 53.7147 ] } }, { "type": "Feature", "properties": { "name": "Luddendenfoot", "pol_id": 135352, "status": 0, "postcode": "HX2 6NR" }, "geometry": { "type": "Point", "coordinates": [ -1.9415, 53.7254 ] } }, { "type": "Feature", "properties": { "name": "Park Lane", "pol_id": 151241, "status": 0, "postcode": "HX3 9ED" }, "geometry": { "type": "Point", "coordinates": [ -1.8512, 53.7 ] } }, { "type": "Feature", "properties": { "name": "Southowram", "pol_id": 179332, "status": 0, "postcode": "HX3 9SD" }, "geometry": { "type": "Point", "coordinates": [ -1.8295, 53.7109 ] } }, { "type": "Feature", "properties": { "name": "Wainstalls SAS", "pol_id": 13109, "status": 0, "postcode": "HX2 7TX" }, "geometry": { "type": "Point", "coordinates": [ -1.92714, 53.75305 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "(no name)", "object": "node/1633693689", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -1.78399, 53.643294 ] } }, { "type": "Feature", "properties": { "name": "(no name)", "object": "way/1546086742", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -1.844528, 53.656905 ] } }, { "type": "Feature", "properties": { "name": "Hipperholme Post Office", "object": "node/773004298", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -1.811176, 53.725776 ] } }, { "type": "Feature", "properties": { "name": "Kings Cross Road Post Office", "object": "node/773008153", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -1.88148, 53.715235 ] } } ] };