var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Arbroath", "pol_id": 22661, "status": 0, "osmname": "Haq's", "object": "node/2736258827", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5816, 56.5586 ], [ -2.581717 , 56.558587 ] ] } }, { "type": "Feature", "properties": { "name": "Arklay Street", "pol_id": 1272, "status": 0, "osmname": "(no name)", "object": "node/13952323769", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9665, 56.4774 ], [ -2.966379 , 56.477318 ] ] } }, { "type": "Feature", "properties": { "name": "Ballindean Road", "pol_id": 2520, "status": 0, "osmname": "Ballindean Road Post Office", "object": "node/6289171041", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.90853, 56.48082 ], [ -2.908471 , 56.480676 ] ] } }, { "type": "Feature", "properties": { "name": "Barnhill", "pol_id": 167718, "status": 0, "osmname": "(no name)", "object": "node/4270129719", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.8526, 56.4759 ], [ -2.858331 , 56.474415 ] ] } }, { "type": "Feature", "properties": { "name": "Blackness Road", "pol_id": 179708, "status": 0, "osmname": "Blackness Road Post Office", "object": "node/7973789096", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9942, 56.4603 ], [ -2.994039 , 56.46025 ] ] } }, { "type": "Feature", "properties": { "name": "Brantwood Avenue", "pol_id": 1420, "status": 0, "osmname": "Brantwood Avenue Post Office", "object": "node/4463685294", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.99506, 56.47267 ], [ -2.994997 , 56.472635 ] ] } }, { "type": "Feature", "properties": { "name": "Broughty Ferry", "pol_id": 3533, "status": 0, "osmname": "Broughty Ferry Post Office", "object": "node/283657901", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.8727, 56.4679 ], [ -2.872541 , 56.467737 ] ] } }, { "type": "Feature", "properties": { "name": "Carnoustie", "pol_id": 1710, "status": 0, "osmname": "Carnoustie Post Office", "object": "node/13427274471", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.71239, 56.5008 ], [ -2.713776 , 56.500708 ] ] } }, { "type": "Feature", "properties": { "name": "Charleston", "pol_id": 2603, "status": 0, "osmname": "Charleston Post Office", "object": "way/489415367", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.03746, 56.47336 ], [ -3.037392 , 56.473135 ] ] } }, { "type": "Feature", "properties": { "name": "Craigiebank", "pol_id": 131029, "status": 0, "osmname": "Craigiebank Post Office", "object": "node/4771317787", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9276, 56.4735 ], [ -2.9277 , 56.47345 ] ] } }, { "type": "Feature", "properties": { "name": "Downfield", "pol_id": 130082, "status": 0, "osmname": "Downfield Mini Mart", "object": "node/3884978876", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.99774, 56.49003 ], [ -2.997519 , 56.490066 ] ] } }, { "type": "Feature", "properties": { "name": "Dundee", "pol_id": 145607, "status": 0, "osmname": "Dundee Post Office", "object": "node/5652445521", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9701, 56.4596 ], [ -2.970037 , 56.459512 ] ] } }, { "type": "Feature", "properties": { "name": "Edzell", "pol_id": 129777, "status": 0, "osmname": "Edzell Post Office", "object": "node/775748125", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.65539, 56.80948 ], [ -2.655314 , 56.809439 ] ] } }, { "type": "Feature", "properties": { "name": "Five Mile House", "pol_id": 132742, "status": 0, "osmname": "Five Mile House Post Office", "object": "node/775745921", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.06766, 56.49724 ], [ -3.067776 , 56.497238 ] ] } }, { "type": "Feature", "properties": { "name": "Forfar", "pol_id": 131194, "status": 0, "osmname": "Forfar Post Office", "object": "node/4083034064", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.88772, 56.64445 ], [ -2.887766 , 56.644434 ] ] } }, { "type": "Feature", "properties": { "name": "Gauldry", "pol_id": 149576, "status": 0, "osmname": "Gauldry Post Office", "object": "node/775748003", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.0155, 56.4023 ], [ -3.013914 , 56.402038 ] ] } }, { "type": "Feature", "properties": { "name": "Glamis", "pol_id": 3004, "status": 0, "osmname": "Glamis Post Office", "object": "node/775748024", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.00344, 56.60855 ], [ -3.003078 , 56.608544 ] ] } }, { "type": "Feature", "properties": { "name": "Hillside", "pol_id": 4216, "status": 0, "osmname": "Hillside Shop & Post Office", "object": "way/1195283066", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.47769, 56.74063 ], [ -2.477801 , 56.74068 ] ] } }, { "type": "Feature", "properties": { "name": "Inverbervie", "pol_id": 12283, "status": 0, "osmname": "Inverbervie Post Office", "object": "node/494914460", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.27953, 56.84473 ], [ -2.279594 , 56.844748 ] ] } }, { "type": "Feature", "properties": { "name": "Inverkeilor", "pol_id": 146972, "status": 0, "osmname": "(no name)", "object": "node/775744113", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5452, 56.6337 ], [ -2.548309 , 56.634585 ] ] } }, { "type": "Feature", "properties": { "name": "Johnshaven", "pol_id": 96914, "status": 0, "osmname": "Johnshaven Post Office", "object": "node/775742463", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.3368, 56.79462 ], [ -2.336699 , 56.794494 ] ] } }, { "type": "Feature", "properties": { "name": "Kinneff", "pol_id": 97752, "status": 0, "osmname": "Kinneff Post Office", "object": "node/775742515", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.25688, 56.88259 ], [ -2.256691 , 56.88127 ] ] } }, { "type": "Feature", "properties": { "name": "Kirriemuir", "pol_id": 129762, "status": 0, "osmname": "Kirriemuir Post Office", "object": "node/3549254124", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.00494, 56.67334 ], [ -3.005018 , 56.673285 ] ] } }, { "type": "Feature", "properties": { "name": "Letham", "pol_id": 3177, "status": 0, "osmname": "Letham Post Office", "object": "node/4109771846", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.76952, 56.62812 ], [ -2.769439 , 56.62814 ] ] } }, { "type": "Feature", "properties": { "name": "Longforgan", "pol_id": 129790, "status": 0, "osmname": "Longforgan Post Office", "object": "node/3761305653", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.12316, 56.45726 ], [ -3.123233 , 56.457283 ] ] } }, { "type": "Feature", "properties": { "name": "Maryfield", "pol_id": 2015, "status": 0, "osmname": "(no name)", "object": "node/12830450236", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.95637, 56.47245 ], [ -2.956577 , 56.472284 ] ] } }, { "type": "Feature", "properties": { "name": "Monifieth", "pol_id": 2112, "status": 0, "osmname": "Monifieth Post Office", "object": "way/1279898260", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.81806, 56.48189 ], [ -2.817977 , 56.481969 ] ] } }, { "type": "Feature", "properties": { "name": "Montrose", "pol_id": 22663, "status": 0, "osmname": "Montrose Post Office", "object": "node/12020141443", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.4675, 56.71186 ], [ -2.467828 , 56.711904 ] ] } }, { "type": "Feature", "properties": { "name": "Montrose Street", "pol_id": 4615, "status": 0, "osmname": "Montrose Street Post Office", "object": "node/775748078", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.64187, 56.7276 ], [ -2.641728 , 56.727531 ] ] } }, { "type": "Feature", "properties": { "name": "Newport-on-Tay", "pol_id": 177334, "status": 0, "osmname": "Newport-on-Tay Post Office", "object": "node/13290711491", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9412, 56.4398 ], [ -2.940785 , 56.439736 ] ] } }, { "type": "Feature", "properties": { "name": "Perth Road", "pol_id": 2255, "status": 0, "osmname": "Perth Road Post Office", "object": "node/775738484", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.99112, 56.45606 ], [ -2.991089 , 56.455987 ] ] } }, { "type": "Feature", "properties": { "name": "St Cyrus", "pol_id": 12351, "status": 0, "osmname": "St Cyrus Post Office", "object": "node/7658383715", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.4192, 56.77363 ], [ -2.419265 , 56.773698 ] ] } }, { "type": "Feature", "properties": { "name": "Strathmartine Road", "pol_id": 2343, "status": 0, "osmname": "Strathmartine Road Post Office", "object": "node/4462327203", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.9761, 56.4716 ], [ -2.976011 , 56.471508 ] ] } }, { "type": "Feature", "properties": { "name": "Tayport", "pol_id": 132292, "status": 0, "osmname": "Tayport Post Office", "object": "node/3967124603", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.88041, 56.44854 ], [ -2.880488 , 56.448546 ] ] } }, { "type": "Feature", "properties": { "name": "Westmuir", "pol_id": 21586, "status": 0, "osmname": "Westmuir Shoppie & Post Office", "object": "node/1618724045", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -3.03678, 56.66173 ], [ -3.036871 , 56.661745 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Brechin", "pol_id": 168224, "status": 0, "postcode": "DD9 6EQ" }, "geometry": { "type": "Point", "coordinates": [ -2.6618, 56.7323 ] } }, { "type": "Feature", "properties": { "name": "Brechin Road", "pol_id": 149089, "status": 0, "postcode": "DD11 1TA" }, "geometry": { "type": "Point", "coordinates": [ -2.5842, 56.5694 ] } }, { "type": "Feature", "properties": { "name": "Carmyllie", "pol_id": 146978, "status": 0, "postcode": "DD11 2QS" }, "geometry": { "type": "Point", "coordinates": [ -2.732, 56.5696 ] } }, { "type": "Feature", "properties": { "name": "Ferryden", "pol_id": 146974, "status": 0, "postcode": "DD10 9RN" }, "geometry": { "type": "Point", "coordinates": [ -2.4637, 56.7016 ] } }, { "type": "Feature", "properties": { "name": "Fintry", "pol_id": 2633, "status": 0, "postcode": "DD4 9EZ" }, "geometry": { "type": "Point", "coordinates": [ -2.9403, 56.4894 ] } }, { "type": "Feature", "properties": { "name": "Forthill Road", "pol_id": 167600, "status": 0, "postcode": "DD5 3DQ" }, "geometry": { "type": "Point", "coordinates": [ -2.8765, 56.4773 ] } }, { "type": "Feature", "properties": { "name": "Gordoun", "pol_id": 179616, "status": 0, "postcode": "DD10 0LW" }, "geometry": { "type": "Point", "coordinates": [ -2.2856, 56.8284 ] } }, { "type": "Feature", "properties": { "name": "Kellyfield", "pol_id": 1780, "status": 0, "postcode": "DD4 0LQ" }, "geometry": { "type": "Point", "coordinates": [ -2.90781, 56.48976 ] } }, { "type": "Feature", "properties": { "name": "Lochee", "pol_id": 22656, "status": 0, "postcode": "DD2 3DB" }, "geometry": { "type": "Point", "coordinates": [ -3.0109, 56.4735 ] } }, { "type": "Feature", "properties": { "name": "Mid Craigie", "pol_id": 133561, "status": 0, "postcode": "DD4 8LS" }, "geometry": { "type": "Point", "coordinates": [ -2.929, 56.4816 ] } }, { "type": "Feature", "properties": { "name": "St Marys", "pol_id": 134811, "status": 0, "postcode": "DD3 9JQ" }, "geometry": { "type": "Point", "coordinates": [ -3.00961, 56.49304 ] } }, { "type": "Feature", "properties": { "name": "Tannadice", "pol_id": 146976, "status": 0, "postcode": "DD8 3SH" }, "geometry": { "type": "Point", "coordinates": [ -2.8571, 56.7135 ] } }, { "type": "Feature", "properties": { "name": "Taranty Road", "pol_id": 167960, "status": 0, "postcode": "DD8 1JX" }, "geometry": { "type": "Point", "coordinates": [ -2.8986, 56.638 ] } }, { "type": "Feature", "properties": { "name": "Wellbank", "pol_id": 146975, "status": 0, "postcode": "DD5 3PE" }, "geometry": { "type": "Point", "coordinates": [ -2.8628, 56.5224 ] } }, { "type": "Feature", "properties": { "name": "Whitfield", "pol_id": 123631, "status": 0, "postcode": "DD4 0XS" }, "geometry": { "type": "Point", "coordinates": [ -2.9239, 56.4927 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "(no name)", "object": "node/775746973", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.91595, 56.480145 ] } }, { "type": "Feature", "properties": { "name": "Brechin Post Office", "object": "node/775748077", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.659317, 56.733632 ] } }, { "type": "Feature", "properties": { "name": "Kirkton Post Office", "object": "node/775746004", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.980872, 56.489475 ] } }, { "type": "Feature", "properties": { "name": "Meigle Post Office", "object": "node/11278989670", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.162747, 56.588682 ] } }, { "type": "Feature", "properties": { "name": "Menzieshill Post Office", "object": "node/5240155115", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.038861, 56.467487 ] } } ] };