var matched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Achmore", "pol_id": 15875, "status": 0, "osmname": "Achmore Post Office", "object": "node/774435971", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.57129, 58.17113 ], [ -6.571221 , 58.171125 ] ] } }, { "type": "Feature", "properties": { "name": "Balallan", "pol_id": 1320, "status": 0, "osmname": "Balallan Post Office", "object": "way/866402389", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.6222, 58.08945 ], [ -6.622191 , 58.089426 ] ] } }, { "type": "Feature", "properties": { "name": "Balivanich", "pol_id": 132721, "status": 0, "osmname": "Balivanich Post Office", "object": "node/5159901461", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.3882, 57.4739 ], [ -7.387885 , 57.473577 ] ] } }, { "type": "Feature", "properties": { "name": "Barvas", "pol_id": 116261, "status": 0, "osmname": "Barvas Post Office", "object": "node/6390787546", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.51757, 58.348 ], [ -6.515435 , 58.346534 ] ] } }, { "type": "Feature", "properties": { "name": "Berneray", "pol_id": 90133, "status": 0, "osmname": "Oifis a' Phuist, Bùth agus Cafaidh", "object": "way/207362417", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.17311, 57.71995 ], [ -7.173088 , 57.719784 ] ] } }, { "type": "Feature", "properties": { "name": "Carnan", "pol_id": 126278, "status": 0, "osmname": "Carnan Post Office", "object": "node/5252435823", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.3312, 57.3968 ], [ -7.330955 , 57.39686 ] ] } }, { "type": "Feature", "properties": { "name": "Castlebay", "pol_id": 3013, "status": 0, "osmname": "Oifis a' Phuist Bàgh a' Chaisteil", "object": "node/2305734390", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.48685, 56.95418 ], [ -7.48674 , 56.954137 ] ] } }, { "type": "Feature", "properties": { "name": "Daliburgh", "pol_id": 3188, "status": 0, "osmname": "Daliburgh Post Office", "object": "way/208700697", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.37131, 57.16796 ], [ -7.371325 , 57.167703 ] ] } }, { "type": "Feature", "properties": { "name": "Drinishader Mobile Service", "pol_id": 144703, "status": 0, "osmname": "Drinishader Mobile Post Office Service", "object": "node/2429492555", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.767, 57.8524 ], [ -6.769974 , 57.85367 ] ] } }, { "type": "Feature", "properties": { "name": "Garrabost", "pol_id": 1682, "status": 0, "osmname": "Garrabost Post Office", "object": "way/790738577", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.2352, 58.21718 ], [ -6.239786 , 58.214924 ] ] } }, { "type": "Feature", "properties": { "name": "Grimsay", "pol_id": 140232, "status": 0, "osmname": "Grimsay Post Office", "object": "node/5254880102", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.2398, 57.4863 ], [ -7.240363 , 57.486721 ] ] } }, { "type": "Feature", "properties": { "name": "Harris", "pol_id": 2412, "status": 0, "osmname": "Harris Post Office", "object": "way/206164745", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.79854, 57.89816 ], [ -6.798518 , 57.898126 ] ] } }, { "type": "Feature", "properties": { "name": "Isle of Scalpay Mobile Service", "pol_id": 175335, "status": 0, "osmname": "(no name)", "object": "node/774436814", "ref_match": 0 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.7002, 57.8733 ], [ -6.70019 , 57.873422 ] ] } }, { "type": "Feature", "properties": { "name": "Keose Mobile Service", "pol_id": 143858, "status": 0, "osmname": "Keose Mobile Post Office Service", "object": "node/774436350", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.4906, 58.1055 ], [ -6.490643 , 58.105348 ] ] } }, { "type": "Feature", "properties": { "name": "Kershader", "pol_id": 151149, "status": 0, "osmname": "Kershader Post Office", "object": "node/8017480221", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.513, 58.0919 ], [ -6.512541 , 58.091943 ] ] } }, { "type": "Feature", "properties": { "name": "Laxay Mobile Service", "pol_id": 144005, "status": 0, "osmname": "Laxay Mobile Post Office Service", "object": "node/422559582", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.527, 58.1049 ], [ -6.527217 , 58.10534 ] ] } }, { "type": "Feature", "properties": { "name": "Lochboisdale", "pol_id": 3892, "status": 0, "osmname": "Lochboisdale Post Office", "object": "node/461995667", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.3103, 57.1551 ], [ -7.310011 , 57.154968 ] ] } }, { "type": "Feature", "properties": { "name": "Lochmaddy", "pol_id": 2382, "status": 0, "osmname": "Lochmaddy Post Office", "object": "node/5168203174", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.1592, 57.5988 ], [ -7.159091 , 57.598799 ] ] } }, { "type": "Feature", "properties": { "name": "North Tolsta", "pol_id": 2026, "status": 0, "osmname": "North Tolsta Post Office", "object": "node/774432749", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.21266, 58.34912 ], [ -6.212566 , 58.349062 ] ] } }, { "type": "Feature", "properties": { "name": "Port Of Ness", "pol_id": 2091, "status": 0, "osmname": "Oifis a' Phuist", "object": "node/774435154", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.23368, 58.49077 ], [ -6.2294 , 58.490995 ] ] } }, { "type": "Feature", "properties": { "name": "Portnaguran", "pol_id": 2057, "status": 0, "osmname": "Portnaguran Post Office", "object": "way/884911791", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.16273, 58.24535 ], [ -6.159816 , 58.244709 ] ] } }, { "type": "Feature", "properties": { "name": "Shawbost", "pol_id": 2183, "status": 0, "osmname": "Shawbost Post Office", "object": "node/4925247595", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.67117, 58.32816 ], [ -6.6713 , 58.328185 ] ] } }, { "type": "Feature", "properties": { "name": "Skigersta", "pol_id": 2614, "status": 0, "osmname": "Skigersta Post Office", "object": "node/774432936", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.23605, 58.4815 ], [ -6.235936 , 58.481589 ] ] } }, { "type": "Feature", "properties": { "name": "Stornoway", "pol_id": 8, "status": 0, "osmname": "Oifis a' Phuist Steòrnabhaigh", "object": "node/494339748", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -6.38627, 58.20885 ], [ -6.386383 , 58.20874 ] ] } }, { "type": "Feature", "properties": { "name": "Timsgarry", "pol_id": 2704, "status": 0, "osmname": "Timsgarry Post Office", "object": "node/3014549719", "ref_match": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -7.0092, 58.1962 ], [ -7.008849 , 58.195937 ] ] } } ] }; var missing = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "Amhuinnsuidhe Mobile Service", "pol_id": 175336, "status": 0, "postcode": "HS3 3AU" }, "geometry": { "type": "Point", "coordinates": [ -6.9991, 57.9659 ] } }, { "type": "Feature", "properties": { "name": "Back", "pol_id": 1285, "status": 0, "postcode": "HS2 0JY" }, "geometry": { "type": "Point", "coordinates": [ -6.30366, 58.2755 ] } }, { "type": "Feature", "properties": { "name": "Cearns", "pol_id": 141288, "status": 0, "postcode": "HS1 2YN" }, "geometry": { "type": "Point", "coordinates": [ -6.3911, 58.2226 ] } }, { "type": "Feature", "properties": { "name": "Eriskay", "pol_id": 90134, "status": 0, "postcode": "HS8 5JJ" }, "geometry": { "type": "Point", "coordinates": [ -7.3064, 57.0846 ] } }, { "type": "Feature", "properties": { "name": "Howmore", "pol_id": 168722, "status": 0, "postcode": "HS8 5SD" }, "geometry": { "type": "Point", "coordinates": [ -7.394, 57.272 ] } }, { "type": "Feature", "properties": { "name": "Lemreway Mobile Service", "pol_id": 144704, "status": 0, "postcode": "HS2 9RF" }, "geometry": { "type": "Point", "coordinates": [ -6.4435, 58.0206 ] } }, { "type": "Feature", "properties": { "name": "Leverburgh Mobile Service", "pol_id": 146451, "status": 0, "postcode": "HS5 3TS" }, "geometry": { "type": "Point", "coordinates": [ -7.0167, 57.7708 ] } }, { "type": "Feature", "properties": { "name": "Lochs", "pol_id": 167541, "status": 0, "postcode": "HS2 9PE" }, "geometry": { "type": "Point", "coordinates": [ -6.4965, 58.158 ] } }, { "type": "Feature", "properties": { "name": "Newton", "pol_id": 141193, "status": 0, "postcode": "HS1 2SF" }, "geometry": { "type": "Point", "coordinates": [ -6.3725, 58.2058 ] } }, { "type": "Feature", "properties": { "name": "Paible", "pol_id": 110156, "status": 0, "postcode": "HS6 5DS" }, "geometry": { "type": "Point", "coordinates": [ -7.4409, 57.5881 ] } }, { "type": "Feature", "properties": { "name": "Tolstacholais", "pol_id": 16605, "status": 0, "postcode": "HS2 9DW" }, "geometry": { "type": "Point", "coordinates": [ -6.7816, 58.24322 ] } } ] }; var unmatched = { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "name": "(no name)", "object": "way/1095641829", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.69775, 57.871502 ] } }, { "type": "Feature", "properties": { "name": "(no name)", "object": "node/774436399", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.436289, 58.018127 ] } }, { "type": "Feature", "properties": { "name": "Bernera Post Office", "object": "node/1312930119", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.837927, 58.22312 ] } }, { "type": "Feature", "properties": { "name": "Callanish Post Office", "object": "way/501824909", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.744671, 58.201213 ] } }, { "type": "Feature", "properties": { "name": "Ness Post Office", "object": "way/504388109", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.281405, 58.47411 ] } }, { "type": "Feature", "properties": { "name": "Portree Post Office", "object": "node/3020379531", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.192703, 57.412813 ] } }, { "type": "Feature", "properties": { "name": "Scarista Post Office", "object": "way/502177933", "non_pol": 0 }, "geometry": { "type": "Point", "coordinates": [ -7.012206, 57.836368 ] } } ] };