var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Burnfoot", "pol_id": 3180, "status": 0, "osmname": "Burnfoot Post Office", "object": "node/2014093135", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.7697, 55.4357 ], [ -2.769435 , 55.435623 ] ] } }, { "type": "Feature", "properties": { "name": "Clovenfords Mobile Service", "pol_id": 109575, "status": 0, "osmname": "(no name)", "object": "node/250978990", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.8745, 55.62004 ], [ -2.877025 , 55.618317 ] ] } }, { "type": "Feature", "properties": { "name": "Cornhill-on-Tweed", "pol_id": 3270, "status": 0, "osmname": "Cornhill-on-Tweed Post Office", "object": "node/367057625", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.2262, 55.64705 ], [ -2.226602 , 55.646834 ] ] } }, { "type": "Feature", "properties": { "name": "Denholm", "pol_id": 2832, "status": 0, "osmname": "Denholm Post Office", "object": "node/4534105019", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.68504, 55.45713 ], [ -2.685003 , 55.457054 ] ] } }, { "type": "Feature", "properties": { "name": "Dickson Street", "pol_id": 150458, "status": 0, "osmname": "Dickson Street Post Office", "object": "node/9341748945", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.7886, 55.4283 ], [ -2.788522 , 55.428202 ] ] } }, { "type": "Feature", "properties": { "name": "Etal", "pol_id": 16512, "status": 0, "osmname": "Etal Post Office", "object": "node/4584074756", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.11824, 55.64748 ], [ -2.11696 , 55.647825 ] ] } }, { "type": "Feature", "properties": { "name": "Eyemouth", "pol_id": 149081, "status": 0, "osmname": "Eyemouth Post Office", "object": "node/6735354222", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.1001, 55.8698 ], [ -2.10001 , 55.869692 ] ] } }, { "type": "Feature", "properties": { "name": "Gala Park", "pol_id": 1569, "status": 0, "osmname": "Gala Park Post Office", "object": "node/1079472941", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.81251, 55.61639 ], [ -2.81254 , 55.616395 ] ] } }, { "type": "Feature", "properties": { "name": "Galashiels", "pol_id": 93595, "status": 0, "osmname": "Galashiels Post Office", "object": "node/6013350703", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.80772, 55.6171 ], [ -2.807784 , 55.616851 ] ] } }, { "type": "Feature", "properties": { "name": "Holy Island", "pol_id": 8591, "status": 0, "osmname": "Holy Island Post Office", "object": "node/8928141267", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -1.80203, 55.67128 ], [ -1.800147 , 55.671691 ] ] } }, { "type": "Feature", "properties": { "name": "Jedburgh", "pol_id": 145447, "status": 0, "osmname": "Jedburgh Post Office", "object": "node/6349472616", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.5549, 55.4776 ], [ -2.554838 , 55.477508 ] ] } }, { "type": "Feature", "properties": { "name": "Kelso", "pol_id": 2577, "status": 0, "osmname": "Kelso Post Office", "object": "way/115664957", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.433, 55.59842 ], [ -2.433031 , 55.598424 ] ] } }, { "type": "Feature", "properties": { "name": "Langlee", "pol_id": 133529, "status": 0, "osmname": "Langlee Post Office", "object": "node/1079472903", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.7779, 55.6102 ], [ -2.777638 , 55.610029 ] ] } }, { "type": "Feature", "properties": { "name": "Lauder", "pol_id": 1747, "status": 0, "osmname": "Lauder Post Office", "object": "way/100646586", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.74878, 55.71928 ], [ -2.748785 , 55.71929 ] ] } }, { "type": "Feature", "properties": { "name": "Morebattle", "pol_id": 97780, "status": 0, "osmname": "Morebattle Post Office", "object": "way/103522499", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.36401, 55.51776 ], [ -2.36389 , 55.517675 ] ] } }, { "type": "Feature", "properties": { "name": "Newcastleton", "pol_id": 131100, "status": 0, "osmname": "Newcastleton Post Office", "object": "node/9243954152", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.81213, 55.18059 ], [ -2.812091 , 55.180291 ] ] } }, { "type": "Feature", "properties": { "name": "Reston", "pol_id": 2696, "status": 0, "osmname": "Reston Post Office", "object": "node/1069305175", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.18979, 55.85219 ], [ -2.18977 , 55.852192 ] ] } }, { "type": "Feature", "properties": { "name": "SBHA Selkirk", "pol_id": 125262, "status": 0, "osmname": "SBHA Selkirk Post Office", "object": "node/13767431259", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.8477, 55.5508 ], [ -2.847778 , 55.550708 ] ] } }, { "type": "Feature", "properties": { "name": "Selkirk", "pol_id": 140329, "status": 0, "osmname": "Selkirk Post Office", "object": "way/1001682946", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.8421, 55.5469 ], [ -2.841881 , 55.546812 ] ] } }, { "type": "Feature", "properties": { "name": "St Abbs", "pol_id": 2726, "status": 0, "osmname": "St Abbs Post Office & Shop", "object": "node/1069305159", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.13045, 55.89782 ], [ -2.130472 , 55.897789 ] ] } }, { "type": "Feature", "properties": { "name": "St Boswells", "pol_id": 145446, "status": 0, "osmname": "St Boswells Post Office", "object": "node/1400880279", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.6448, 55.5719 ], [ -2.645827 , 55.571079 ] ] } }, { "type": "Feature", "properties": { "name": "Stow", "pol_id": 1949, "status": 0, "osmname": "Stow Post Office", "object": "node/435279473", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.86092, 55.69219 ], [ -2.860837 , 55.691989 ] ] } }, { "type": "Feature", "properties": { "name": "Whitsome", "pol_id": 3800, "status": 0, "osmname": "Whitsome Ark", "object": "node/12759542156", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.21714, 55.74918 ], [ -2.219244 , 55.748702 ] ] } }, { "type": "Feature", "properties": { "name": "Yetholm", "pol_id": 134765, "status": 0, "osmname": "Yetholm Post Office", "object": "node/4405657153", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -2.28804, 55.54603 ], [ -2.287818 , 55.545925 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Ancroft Mobile Service", "pol_id": 97461, "status": 0, "postcode": "TD15 2TE" }, "geometry": { "type": "Point", "coordinates": [ -2.00164, 55.70016 ] } }, { "type": "Feature", "properties": { "name": "Ancrum", "pol_id": 97773, "status": 0, "postcode": "TD8 6XH" }, "geometry": { "type": "Point", "coordinates": [ -2.59063, 55.51401 ] } }, { "type": "Feature", "properties": { "name": "Bonchester Bridge Mobile Service", "pol_id": 110568, "status": 0, "postcode": "TD9 8JN" }, "geometry": { "type": "Point", "coordinates": [ -2.65599, 55.40091 ] } }, { "type": "Feature", "properties": { "name": "Bowden Mobile Service", "pol_id": 109576, "status": 0, "postcode": "TD6 0SS" }, "geometry": { "type": "Point", "coordinates": [ -2.7088, 55.5667 ] } }, { "type": "Feature", "properties": { "name": "Chirnside", "pol_id": 129430, "status": 0, "postcode": "TD11 3UF" }, "geometry": { "type": "Point", "coordinates": [ -2.21001, 55.80207 ] } }, { "type": "Feature", "properties": { "name": "Coldstream", "pol_id": 146281, "status": 0, "postcode": "TD12 4DH" }, "geometry": { "type": "Point", "coordinates": [ -2.2523, 55.6514 ] } }, { "type": "Feature", "properties": { "name": "Crookham Mobile Service", "pol_id": 134075, "status": 0, "postcode": "TD12 4SY" }, "geometry": { "type": "Point", "coordinates": [ -2.13392, 55.63698 ] } }, { "type": "Feature", "properties": { "name": "Duns", "pol_id": 127611, "status": 0, "postcode": "TD11 3BY" }, "geometry": { "type": "Point", "coordinates": [ -2.34431, 55.77795 ] } }, { "type": "Feature", "properties": { "name": "Earlston Mobile Service", "pol_id": 145769, "status": 0, "postcode": "TD4 6DB" }, "geometry": { "type": "Point", "coordinates": [ -2.6766, 55.6386 ] } }, { "type": "Feature", "properties": { "name": "Eccles Mobile Service", "pol_id": 108799, "status": 0, "postcode": "TD5 7QR" }, "geometry": { "type": "Point", "coordinates": [ -2.37517, 55.66688 ] } }, { "type": "Feature", "properties": { "name": "Ednam", "pol_id": 134554, "status": 0, "postcode": "TD5 7QQ" }, "geometry": { "type": "Point", "coordinates": [ -2.41874, 55.62855 ] } }, { "type": "Feature", "properties": { "name": "Ettrickbridge Mobile Service", "pol_id": 109577, "status": 0, "postcode": "TD7 5JJ" }, "geometry": { "type": "Point", "coordinates": [ -2.96816, 55.50917 ] } }, { "type": "Feature", "properties": { "name": "Ford", "pol_id": 9092, "status": 0, "postcode": "TD15 2QG" }, "geometry": { "type": "Point", "coordinates": [ -2.08482, 55.63154 ] } }, { "type": "Feature", "properties": { "name": "Fountainhall Mobile Service", "pol_id": 109580, "status": 0, "postcode": "TD1 2SY" }, "geometry": { "type": "Point", "coordinates": [ -2.9076, 55.73312 ] } }, { "type": "Feature", "properties": { "name": "Gavinton Mobile Service", "pol_id": 151090, "status": 0, "postcode": "TD11 3QS" }, "geometry": { "type": "Point", "coordinates": [ -2.3703, 55.7621 ] } }, { "type": "Feature", "properties": { "name": "Gordon Mobile Service", "pol_id": 151089, "status": 0, "postcode": "TD3 6LW" }, "geometry": { "type": "Point", "coordinates": [ -2.5648, 55.6805 ] } }, { "type": "Feature", "properties": { "name": "Greenlaw Mobile Service", "pol_id": 108688, "status": 0, "postcode": "TD10 6XA" }, "geometry": { "type": "Point", "coordinates": [ -2.46235, 55.70655 ] } }, { "type": "Feature", "properties": { "name": "Hindhousefield Mobile Service", "pol_id": 168144, "status": 0, "postcode": "TD8 6LA" }, "geometry": { "type": "Point", "coordinates": [ -2.5476, 55.473 ] } }, { "type": "Feature", "properties": { "name": "Lilliesleaf Mobile Service", "pol_id": 151107, "status": 0, "postcode": "TD6 9HX" }, "geometry": { "type": "Point", "coordinates": [ -2.7397, 55.5176 ] } }, { "type": "Feature", "properties": { "name": "Lowick Mobile Service", "pol_id": 97457, "status": 0, "postcode": "TD15 2UD" }, "geometry": { "type": "Point", "coordinates": [ -1.9774, 55.651 ] } }, { "type": "Feature", "properties": { "name": "Melrose Mobile Service", "pol_id": 167291, "status": 0, "postcode": "TD6 9RX" }, "geometry": { "type": "Point", "coordinates": [ -2.7232, 55.598 ] } }, { "type": "Feature", "properties": { "name": "Midlem", "pol_id": 16178, "status": 0, "postcode": "TD7 4QB" }, "geometry": { "type": "Point", "coordinates": [ -2.7521, 55.5382 ] } }, { "type": "Feature", "properties": { "name": "Newton St Boswells Mobile Service", "pol_id": 187888, "status": 0, "postcode": "TD6 0SA" }, "geometry": { "type": "Point", "coordinates": [ -2.6736, 55.578 ] } }, { "type": "Feature", "properties": { "name": "Norham Mobile Service", "pol_id": 97596, "status": 0, "postcode": "TD15 2LQ" }, "geometry": { "type": "Point", "coordinates": [ -2.1637, 55.71856 ] } }, { "type": "Feature", "properties": { "name": "Oxton Mobile Service", "pol_id": 109579, "status": 0, "postcode": "TD2 6PN" }, "geometry": { "type": "Point", "coordinates": [ -2.80489, 55.77211 ] } }, { "type": "Feature", "properties": { "name": "Tweed Road Mobile Service", "pol_id": 151079, "status": 0, "postcode": "TD1 3EF" }, "geometry": { "type": "Point", "coordinates": [ -2.7909, 55.607 ] } }, { "type": "Feature", "properties": { "name": "Tweedmouth", "pol_id": 24717, "status": 0, "postcode": "TD15 2DS" }, "geometry": { "type": "Point", "coordinates": [ -2.0085, 55.7625 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "(no name)", "object": "node/11369524090", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.008616, 55.762517 ] } }, { "type": "Feature", "properties": { "name": "(no name)", "object": "node/1043882550", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.082477, 55.888603 ] } }, { "type": "Feature", "properties": { "name": "(no name)", "object": "node/1043882461", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.057469, 55.892431 ] } }, { "type": "Feature", "properties": { "name": "Ayton Post Office", "object": "node/1069305165", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.124062, 55.84265 ] } }, { "type": "Feature", "properties": { "name": "Coldingham Post Office", "object": "node/2147729733", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -2.156388, 55.886834 ] } }, { "type": "Feature", "properties": { "name": "Kingsmeadows", "object": "node/2202402763", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.186923, 55.645766 ] } }, { "type": "Feature", "properties": { "name": "Newcraighall Post Office", "object": "node/13591841571", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.106377, 55.934608 ] } } ] };