Published
Edited
Sep 17, 2019
Insert cell
Insert cell
map = {
const container = html`<div style="height:600px;">`;
yield container; // Give the container dimensions.
const map = new mapboxgl.Map({
container,
center: [-82.0044, 39.94021],
zoom: 17,
style: {
"version": 8,
"name": "blank",
"sources": {
"blank": {
"type": "vector",
"url": ""
}
},
"layers": [{
"id": "background",
"type": "background",
"paint": {
"background-color": "#1d1f20"
}
}]
},
});
map.on("click", function(e) {
console.log(e.lngLat)
})
map.on('load', function() {
map.addLayer({
id: "points",
type: "circle",
source: {
type: "geojson",
data: points
},
paint: {
"circle-radius": 7,
"circle-color": "#121212",
"circle-stroke-color": "white",
"circle-stroke-width": 2,
"circle-blur": 0.2
}
})

map.addSource("routeSource", {
type: "geojson",
data: {
type: "FeatureCollection",
features: []
}
})


map.addLayer({
id: "lines",
type: "line",
source: {
type: "geojson",
data: netgrid
},
paint: {

"line-color": "fuchsia",
"line-width": 4,
"line-opacity": 0.6
}
}, "points");
map.addLayer({
id: "route",
type: "line",
source: "routeSource",
paint: {
"line-color": "white",
"line-width": 6,
"line-opacity": 1
}
}, "points")

for (var i = 0; i < points.features.length; i++) {
points.features[i].id = i
}
/****
* GENERATE NETWORK GRAPH WITH GEOJSON PATH FINDER - ALREADY DONE FOR US BELOW
*/
// var pathFinder = new PathFinder(netgrid);

/****
* CREATE EMPTY GEOJSON TO HOLD THE FINAL PATH
*/
var shortestPath = {
type: "FeatureCollection",
features: []
};

/****
* KEEP TRACK OF WHAT NODES HAVE BEEN VISITED
*/
var visitedNodes = [];

/****
* ITERATE THROUGH ALL SUBSEQUENT NODES TO FIND THE SHORTEST DISTANCE FROM THE ORIGIN TO THE REMAINING DESTINATIONS, AND ADD THIS TO THE FINAL PATH
*/

getNextNode(pathFinder, 0, points);

function getNextNode(pathFinderNetwork, node, destinations) {

visitedNodes.push(node)

console.log(visitedNodes)

var weights = [];

/****
* SKIP CURRENT OR VISITED NODES
*/
for (var i = 0; i < destinations.features.length; i++) {
if (i === node || visitedNodes.indexOf(i) > -1) {
continue
}

var point = destinations.features[i]

var path = pathFinderNetwork.findPath(destinations.features[node], point);
weights.push({
id: point.id,
fid: point.properties.fid,
weight: path.weight
});
}

if (visitedNodes.length === destinations.features.length) {
return
} else {

var nextNode = findMin(weights, "weight", "id")

// console.log(node, nextNode)

var route = pathFinderNetwork.findPath(destinations.features[node], destinations.features[nextNode]);

if (route.path.length > 1) {
var line = turf.lineString(route.path);

line.properties.fid = points.features[nextNode].properties.fid

shortestPath.features.push(line);
map.getSource("routeSource").setData(shortestPath)
}
setTimeout(function() {
getNextNode(pathFinderNetwork, nextNode, destinations)
},400)
}
}
/****
* OUTPUT THE FINAL GEOJSON FILE
*/
console.log(shortestPath)

/***
* SIMPLE FUNCTION TO GRAB THE A MINIMUM VALUE FROM AN ARRAY
*/
function findMin(arr, key, id) {
let min = arr[0][key];
let index = arr[0][id];

for (let i = 0; i < arr.length; i++) {
let v = arr[i][key];
index = (v < min) ? arr[i][id] : index;
min = (v < min) ? v : min;
}

return index;
}
});
invalidation.then(() => map.remove());
}
Insert cell
points = ({
"type": "FeatureCollection",
"name": "points",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "fid": 3628, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.004000795765876, 39.939636708984871 ] } },
{ "type": "Feature", "properties": { "fid": 786, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.005197643050479, 39.940041052610717 ] } },
{ "type": "Feature", "properties": { "fid": 787, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003980934446417, 39.939997938562016 ] } },
{ "type": "Feature", "properties": { "fid": 1566, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.005135888318861, 39.94090896517254 ] } },
{ "type": "Feature", "properties": { "fid": 1580, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003913534391415, 39.940863539102139 ] } },
{ "type": "Feature", "properties": { "fid": 361, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.005197643050479, 39.940041052610717 ] } },
{ "type": "Feature", "properties": { "fid": 3599, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.004611747257542, 39.939606482355003 ] } },
{ "type": "Feature", "properties": { "fid": 3620, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003954304319308, 39.940329084618547 ] } },
{ "type": "Feature", "properties": { "fid": 3621, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.004558134834724, 39.940355604875826 ] } },
{ "type": "Feature", "properties": { "fid": 3638, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003945075448911, 39.940443845398079 ] } },
{ "type": "Feature", "properties": { "fid": 3640, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003374855004921, 39.940856750815918 ] } },
{ "type": "Feature", "properties": { "fid": 3598, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.005231397609606, 39.9396345621264 ] } },
{ "type": "Feature", "properties": { "fid": 3051, "cat": null }, "geometry": { "type": "Point", "coordinates": [ -82.003913534391415, 39.940863539102139 ] } }
]
})

Insert cell
function test(string) {
console.log(string)
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
netgrid = ({"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00793309629178,39.93763905970028],[-82.00789944652578,39.93760666228072],[-82.00786043142269,39.937576529927355],[-82.00768141613925,39.93746619913995],[-82.00703292560605,39.93709378671357],[-82.00693756505258,39.93704694595047],[-82.00688806995568,39.937027979020556],[-82.00673465033208,39.93699645031223]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00673465033208,39.93699645031223],[-82.00669152423227,39.93695943723716],[-82.00665898799477,39.93693779631434],[-82.00652492545385,39.93685876511461],[-82.00629744706244,39.93671025262913],[-82.0061164080641,39.9365925899447],[-82.00606904597431,39.93656631098057],[-82.00601987812901,39.93654322723457],[-82.00596860386328,39.93652379479103],[-82.00591432388156,39.93650915379034],[-82.00585763715871,39.93649862044798],[-82.00573885972901,39.93648530892782],[-82.00549260228732,39.936470544952876]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00644318213459,39.940962971259694],[-82.00645838457085,39.94074730750602],[-82.00647695031763,39.940434660245224],[-82.00648743519646,39.94025557932756],[-82.0064966043462,39.94009433673713]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00778547760729,39.94014550550817],[-82.00772040980533,39.94014294488302],[-82.00714196335576,39.940120531823176],[-82.00695890537334,39.94011343827976],[-82.00649660434622,39.940094336737154]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00649660434622,39.940094336737154],[-82.00585348287686,39.94006764934418],[-82.0058462343283,39.94006734957512],[-82.00519764305047,39.94004105261073]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00649660434622,39.940094336737154],[-82.00651599618242,39.93983270824343],[-82.00652092435853,39.9397708930825],[-82.00656236921732,39.93925101725163],[-82.0065655858167,39.93921066872043],[-82.00662565520291,39.938410005612795]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00662565520291,39.93841000561282],[-82.00666013235747,39.9379489548058],[-82.00669514963849,39.93745359101661],[-82.00672455817912,39.9371204001395],[-82.00673465033208,39.93699645031223]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00549260228729,39.93647054495286],[-82.00547767608755,39.936521726130515],[-82.00546806188514,39.9365781911796],[-82.00544863489978,39.93680253058167],[-82.00540076042965,39.93749227859857],[-82.00539896569798,39.93751813579749],[-82.0053359853008,39.9383501275776]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00369482362319,39.94418935036104],[-82.00372055866715,39.943831895868506],[-82.00374412660908,39.94340328568435]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0142853122038,39.94042058241754],[-82.01420087856664,39.9404248082271],[-82.01406001759685,39.940423309821576],[-82.01264613871737,39.94035453320007],[-82.01214586497498,39.940325230308424],[-82.01170615496017,39.940305099604],[-82.01150767864537,39.94029786759683]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01155841350416,39.9397602465268],[-82.01151602747865,39.940209369327135],[-82.01150767864537,39.94029786759683]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01150767864537,39.94029786759683],[-82.01134693511008,39.94029216531925],[-82.01058126872321,39.94026243623227],[-82.01033169545472,39.94025224410395]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00778547760726,39.940145505508156],[-82.00778281811147,39.94018529991013],[-82.00773949842875,39.94084671393389],[-82.00772432817881,39.941016395692124]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00519764305047,39.94004105261073],[-82.00458220708548,39.94001924623179],[-82.00398093444637,39.93999793856204]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0062483441924,39.94425045446019],[-82.00626311659843,39.943970047827044],[-82.00629107486812,39.943506911642274]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00754874023654,39.94356710194824],[-82.00730481072746,39.94355578320268],[-82.00690267958974,39.94353680471008],[-82.0066609706804,39.94352539664173],[-82.00629107486807,39.943506911642274]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00764861977343,39.94209631802947],[-82.00761503493335,39.942096406018976],[-82.00692986089945,39.94207110883214],[-82.00640815478172,39.94204512295707],[-82.00637161275257,39.94204313924058]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00629107486807,39.943506911642274],[-82.0063038554677,39.94329764329492],[-82.00632880953893,39.942671612049075],[-82.00633027514813,39.942650092931544],[-82.00637161275253,39.94204313924061]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00764861977342,39.94209631802945],[-82.0076103094951,39.94267951415786],[-82.00760852792001,39.94270546515576],[-82.00755794709104,39.94344223363185],[-82.00754874023654,39.94356710194824]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00772432817881,39.941016395692124],[-82.00716037481469,39.940997785428515],[-82.00708079183714,39.940993915147125],[-82.0064910149816,39.9409652314081],[-82.00644318213456,39.94096297125967]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00644251940847,39.94097257670841],[-82.00644318213459,39.940962971259694]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00421627025608,39.936420776520684],[-82.00483781762443,39.93644745163537],[-82.00493166125642,39.93645147885968],[-82.00525281747169,39.93646495866047],[-82.00549260228729,39.93647054495286]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00716814530313,39.93428531323498],[-82.00714320336886,39.93432432777452],[-82.00710295039784,39.93438523970337],[-82.0069847651647,39.93454030537721],[-82.00664273080206,39.934957512756874],[-82.00633157496479,39.93533618708533],[-82.00599101511771,39.9357538563176],[-82.00564986521061,39.93617037810087],[-82.0055937441836,39.936247465222294],[-82.00556909318848,39.936287166937795],[-82.00552957787338,39.936369356822574],[-82.00549260228732,39.936470544952876]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0053359853008,39.9383501275776],[-82.00533106362194,39.938415305636326],[-82.00530649341847,39.93869406982077],[-82.00527838035404,39.939011252284075],[-82.00526441333727,39.93919655136547],[-82.0052313976096,39.93963456212642],[-82.00521832261276,39.939808025512086],[-82.00519764305047,39.94004105261073]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00662565520291,39.938410005612795],[-82.00650949537876,39.938404255515806],[-82.00596517365763,39.93837887158229],[-82.00540372595232,39.93835270080416],[-82.0053359853008,39.9383501275776]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00793309629178,39.93763905970031],[-82.00794486446067,39.93769790247811],[-82.00794714877762,39.9377530450041],[-82.00793998984844,39.93788272630204],[-82.00789184698036,39.938470228593175]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00789184698039,39.93847022859316],[-82.00788861094456,39.938507504339206],[-82.00786766093263,39.93886406512094],[-82.00784732164576,39.93917624767409],[-82.00784077013647,39.93930464843349],[-82.00782247582016,39.9396631898505],[-82.00780456168255,39.93992665498707],[-82.00778547760729,39.94014550550817]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00789184698039,39.93847022859316],[-82.00777479181544,39.93846493334639],[-82.00725952535576,39.93844196452774],[-82.00720823191004,39.93843967791642],[-82.00662565520291,39.938410005612795]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00398093444637,39.93999793856204],[-82.00399940832892,39.939658068007155],[-82.00400079576585,39.93963670898488],[-82.00403274365586,39.93914485367517],[-82.00403947286033,39.93904125089418],[-82.0040958373224,39.93830577206975]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0053359853008,39.9383501275776],[-82.00470332157424,39.93832688947208],[-82.00464639133416,39.938324798223235],[-82.00418348714673,39.938308659117304],[-82.0040958373224,39.93830577206975]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00398093444637,39.93999793856204],[-82.00343639583805,39.93996703898796],[-82.00338981759074,39.93996519276129],[-82.00290011045402,39.93994577982619]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00290011045402,39.93994577982619],[-82.00255249091238,39.93993195277278],[-82.00245078748098,39.93992715463638],[-82.00215289810268,39.93991310000392]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00766279372168,39.941857544296525],[-82.00764861977343,39.94209631802947]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00772432817881,39.941016395692124],[-82.00770369428243,39.94124416154968],[-82.00766279372168,39.941857544296525]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01068176103361,39.94202985553287],[-82.01062895863245,39.94201568055306],[-82.01057345375608,39.94200538313733],[-82.0104032753002,39.941988430436155],[-82.01021968929437,39.94197622590075],[-82.0101424381532,39.94197315813445]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01033169545472,39.94025224410395],[-82.01032416092522,39.940351497859595],[-82.01027200650444,39.94104696197432],[-82.01024432344413,39.94134836212115],[-82.01021482138776,39.94152827884743],[-82.01014957811724,39.94192995090663],[-82.0101424381532,39.94197315813445]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01014243815314,39.94197315813448],[-82.009981697308,39.94196653876359],[-82.00969288988247,39.94195595246387],[-82.00952873960888,39.941947056718455],[-82.00940471257645,39.94194033529593],[-82.00891420065524,39.94191609257133]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00891420065524,39.94191609257133],[-82.0087683247678,39.94190884746183],[-82.00828481202795,39.94188641908046],[-82.00771656961248,39.941860057834475],[-82.00766279372166,39.94185754429653]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0090764888505,39.94107239119308],[-82.0089650663867,39.94106849333471]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00896506638668,39.941068493334726],[-82.00877253014487,39.941061510524406],[-82.00834127686552,39.941043308492695],[-82.00824902025505,39.94103941438425],[-82.00775790115496,39.94101790917945],[-82.00772432817881,39.941016395692124]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00891420065527,39.94191609257135],[-82.00892784166145,39.94171003029603],[-82.00896076989532,39.941129784949545],[-82.0089650663867,39.94106849333471]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00873779063666,39.94500943186971],[-82.00875977486803,39.94496880345758],[-82.00877670768539,39.944927924939314],[-82.00879247642195,39.944841516960715],[-82.00881672074233,39.944438988334255],[-82.00882601275738,39.944259673531626],[-82.00884306647714,39.943991400926926],[-82.00884280210445,39.943902638206325],[-82.00883034456801,39.94381496808629],[-82.00880959428558,39.94368105233728],[-82.00880456798451,39.94363527801397],[-82.00880529184523,39.94361697956873]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00880529184526,39.94361697956876],[-82.00870810352674,39.94361703022088],[-82.00843532702237,39.943608109273505],[-82.00817032350348,39.94359585276495],[-82.00754874023654,39.94356710194824]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00880529184523,39.94361697956873],[-82.00881328842195,39.943410664840094],[-82.00888057923704,39.94242610307538],[-82.00891420065527,39.94191609257135]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01033169545474,39.94025224410395],[-82.009646015154,39.94022412670909],[-82.0094682925935,39.940216838259296],[-82.00902560905372,39.94019714241831]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00902560905372,39.94019714241831],[-82.0088241725294,39.940188292196915],[-82.00839973980291,39.9401703412318],[-82.00812775312431,39.94015883701022],[-82.00778547760729,39.94014550550817]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0089650663867,39.94106849333471],[-82.00902560905372,39.9401971424183]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00637161275257,39.94204313924058],[-82.00638386796032,39.94186589583493],[-82.00638849344483,39.941800487889836]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00638849344483,39.941800487889836],[-82.00642275800648,39.94132799831182],[-82.00643954417066,39.94101488627807],[-82.00644251940847,39.94097257670841]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00766279372166,39.94185754429653],[-82.00702231067031,39.94182886587174],[-82.00638849344487,39.941800487889836]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00638849344487,39.941800487889836],[-82.00628212563655,39.941796151130696],[-82.00610415329679,39.94178876789199],[-82.00574073123067,39.94177238180784],[-82.00571791318104,39.94177135614974],[-82.00535218906072,39.94175265703979],[-82.00512579397153,39.941742322641026],[-82.00507855152581,39.9417405220561]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00507855152581,39.9417405220561],[-82.00483431673025,39.94173125575737],[-82.00446086747658,39.94171466489289],[-82.00431081120657,39.94170799815271],[-82.00386069643777,39.94168733648554]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00386069643777,39.94168733648554],[-82.0037846378217,39.94168381194671],[-82.00327284388992,39.94166062861973],[-82.00302701628152,39.94164949248022],[-82.00278552458558,39.94163726313589],[-82.00221357052187,39.94160829689643],[-82.00178809139031,39.94159230697485],[-82.00130655090585,39.94156097853936]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00495586495202,39.943443177804575],[-82.00484741931662,39.943438144961426],[-82.0043390177072,39.943417127427324],[-82.00391059199576,39.94339941431221],[-82.00383720595642,39.94339590111918],[-82.0037441266091,39.94340328568435]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00629107486807,39.943506911642274],[-82.00595920815323,39.94349041586531],[-82.00562812546444,39.94347482919509],[-82.00495586495202,39.943443177804575]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00507855152581,39.9417405220561],[-82.005051946636,39.942137778941394],[-82.00503520944426,39.942359612675546],[-82.00502047557343,39.942593339600805],[-82.00501845642756,39.94262536967258],[-82.00498974903982,39.94302559171406],[-82.00496045766887,39.943382573921774],[-82.00495586495202,39.943443177804575]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00644251940851,39.94097257670839],[-82.00639290305689,39.94097030903567],[-82.00628327217505,39.94096527251247],[-82.00587832008743,39.94094686726607],[-82.0057957323329,39.940940811318804],[-82.00562345582375,39.94092817853571],[-82.00516411501644,39.94090999922255],[-82.00513588831886,39.94090896517253]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00519764305048,39.94004105261072],[-82.00519201299007,39.94012224128181],[-82.00513588831886,39.94090896517255]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00513588831886,39.94090896517255],[-82.00511179430771,39.94124583814267],[-82.00507855152581,39.9417405220561]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0042162702561,39.93642077652066],[-82.00425767350535,39.935865731680074],[-82.00427605758419,39.93566312075741],[-82.00427551357535,39.93561439087535],[-82.00426821779804,39.93555396529]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00426821779804,39.93555396529],[-82.00422865991307,39.93551696663653],[-82.00417515666281,39.935476934855124],[-82.00412569444536,39.93545362010533],[-82.00407171472371,39.93543875083433],[-82.00401501772767,39.935429817833956],[-82.0038994865858,39.93541994968407],[-82.00343159898651,39.9353969233948],[-82.0033302980202,39.935391919053124]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00329074862525,39.93576967643427],[-82.003257772737,39.935768164183195],[-82.00311101755817,39.93576113691924],[-82.00271322012586,39.9357438950957],[-82.0023843268588,39.935732434411854],[-82.00227171658526,39.93572966904352]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0033302980202,39.935391919053124],[-82.00332155048963,39.9354515904682],[-82.00329648670689,39.93571525376516],[-82.00329074862525,39.93576967643427]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00416591143197,39.937231317022345],[-82.00417989564284,39.937020680914976],[-82.0042091110317,39.9365495424227],[-82.0042162702561,39.93642077652066]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0040958373224,39.93830577206975],[-82.00409779176655,39.938281759714215],[-82.00414188747867,39.93759953181396],[-82.00415209409161,39.937443095004234],[-82.00416591143197,39.937231317022366]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00416591143197,39.937231317022366],[-82.0040212132298,39.93722704509796],[-82.003578912532,39.93721397967313],[-82.00320769636788,39.93720301341983],[-82.00311024903856,39.937198940203146]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0040958373224,39.93830577206975],[-82.00399065707232,39.93830235347908],[-82.00350554637774,39.93828143751702],[-82.00342587604952,39.938278002269776],[-82.0030328077918,39.93826238263451]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00303280779184,39.93826238263453],[-82.00302295684605,39.9383931961742],[-82.00300604787188,39.93859672795955],[-82.00295997077862,39.939180347870284],[-82.00293093917968,39.93958285613633],[-82.00290369338661,39.93990187161478],[-82.00290011045398,39.939945779826154]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00311024903857,39.93719894020316],[-82.00306165962424,39.93788480928214],[-82.00303280779184,39.93826238263453]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00495586495207,39.943443177804554],[-82.00492157180706,39.94391818306928],[-82.00490900692012,39.944096568561235],[-82.00487642007312,39.944498832636974],[-82.00485637698176,39.94476732074187],[-82.00485600166637,39.944778299986844]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0075487402365,39.94356710194824],[-82.00750948959895,39.94411506373837],[-82.00750339588123,39.94422004233908],[-82.00749522226442,39.94436687661414]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00513588831886,39.94090896517253],[-82.00498291984208,39.940896423676655],[-82.00452074336994,39.94087805896754],[-82.0040746390089,39.94086033115191],[-82.00402352404174,39.94085988637297],[-82.0039135343914,39.94086353910217]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0039135343914,39.94086353910217],[-82.00393560114698,39.94056165918256],[-82.00394507544888,39.940443845398114],[-82.0039543043193,39.94032908461857],[-82.00398093444637,39.93999793856204]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00386069643777,39.94168733648554],[-82.00387558874469,39.9414746456606],[-82.00389045445134,39.94123523968777],[-82.0039135343914,39.94086353910217]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00329074862522,39.93576967643424],[-82.00327731450945,39.935902991194695],[-82.00326880653003,39.93601815265687],[-82.00325362634993,39.936223623492154],[-82.00324649576297,39.93626500047921],[-82.0032355523925,39.936299269328444],[-82.00320141282002,39.936377363383215]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00421627025608,39.936420776520684],[-82.00413872651386,39.93641793220749],[-82.00363510793976,39.93639632735149],[-82.00345839211677,39.93638874604004],[-82.00320141282002,39.936377363383215]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00320141282002,39.936377363383215],[-82.00318905030582,39.93642210262342],[-82.00317831770246,39.93645112975957],[-82.0031762151212,39.93648543604597],[-82.0031428161833,39.936829864871015],[-82.00311884729614,39.93707704352051],[-82.00311024903856,39.937198940203146]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00320141282005,39.93637736338325],[-82.00269992548176,39.93635602186064],[-82.00224238721172,39.93633943987348]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00902560905372,39.94019714241831],[-82.0090852336243,39.93935684241745],[-82.00908798823978,39.93931802061996],[-82.00913671447495,39.93864656283854],[-82.00913825076903,39.938597384121294],[-82.00913336013006,39.93857448697784],[-82.00912428820449,39.938554546225475]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00912428820449,39.938554546225475],[-82.00907985170167,39.93853445747552],[-82.0090208159891,39.938519569077975],[-82.00895785278937,39.93851381510112],[-82.00888418105643,39.938509388863615],[-82.00851205169224,39.93849324029577],[-82.00838238276563,39.93848761306776],[-82.00804158593779,39.93847516995587],[-82.00802139146504,39.93847443244911],[-82.00789184698039,39.93847022859316]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00374412660908,39.94340328568436],[-82.00376015641766,39.943114648935],[-82.00379596280763,39.94263690531274]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00379596280764,39.94263690531276],[-82.00380317820901,39.94254058117525],[-82.00380713222158,39.94248779598997],[-82.00384247458412,39.94195011329591],[-82.00386069643777,39.94168733648554]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0039135343914,39.94086353910217],[-82.0037794588969,39.94086892007795],[-82.00370664262307,39.94086929833963],[-82.00364929120255,39.94086814043571],[-82.00341932642644,39.940858702876646],[-82.00337485500492,39.94085675081592],[-82.00266943129928,39.94082578636472],[-82.00215038133773,39.94080391057504],[-82.00151723341557,39.9407783451346],[-82.00137372847801,39.940772473494434]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00379596280764,39.94263690531276],[-82.00370504151415,39.94263354653629],[-82.00342812006284,39.94262299538217],[-82.00321097190574,39.942613821560066],[-82.00314526479329,39.94261104556292],[-82.00272033521759,39.94259425164808],[-82.00271087156301,39.94259387761125],[-82.00247378483951,39.942582120179424],[-82.00209346527127,39.942567466842725],[-82.00176277795052,39.942553023079064],[-82.0016792850398,39.94254992323139],[-82.0012790077527,39.94254158787139]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0037441266091,39.94340328568435],[-82.00367806792302,39.943414215733846],[-82.00362126971189,39.94341855085859],[-82.00356360475804,39.943419450502596],[-82.00321447177609,39.9434069917013],[-82.00316491756838,39.943404717515115],[-82.00266668316223,39.94338185085873],[-82.00256646940909,39.94337725132984],[-82.00209672581582,39.94335695706868],[-82.00153129545397,39.943334653102305],[-82.00141901100386,39.94332616926489],[-82.00134654302927,39.9433189982272],[-82.00124889721005,39.943300052964645]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00303280779184,39.93826238263453],[-82.00293595182745,39.93825854073696],[-82.00260050389265,39.93824773952247],[-82.00256666969841,39.938246650050075]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00311024903857,39.937198940203146],[-82.0030077499895,39.93719484577648],[-82.00264946390888,39.93717845720749],[-82.00264035453166,39.93717804056782]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01020256713407,39.9394036931335],[-82.00970328280935,39.93938275905295],[-82.0090852336243,39.93935684241745],[-82.00845598603227,39.93933045283407],[-82.00784077013647,39.93930464843349],[-82.00720098586768,39.93927781010266],[-82.00656236921732,39.93925101725163],[-82.00590930553078,39.939223614665025],[-82.00526441333727,39.93919655136547],[-82.00464295114072,39.93917046794566],[-82.00403274365586,39.93914485367517]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.01093577565204,39.939462079826754],[-82.01087978757973,39.940273923069135]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00975414047745,39.93863554864786],[-82.00970328280935,39.93938275905295],[-82.009646015154,39.94022412670909],[-82.00952873960888,39.941947056718455]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00851205169224,39.93849324029577],[-82.00846973663533,39.939125123412374],[-82.00845598603227,39.93933045283407],[-82.00839973980291,39.9401703412318],[-82.00834127686552,39.941043308492695],[-82.00828481202795,39.94188641908046],[-82.00822813476336,39.942732680701354],[-82.00817032350348,39.94359585276495],[-82.00811480057743,39.94442483757531]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00725956557383,39.938441390274335],[-82.00725952535576,39.93844196452774],[-82.00720098586768,39.93927781010266],[-82.00716492848302,39.93979264128255],[-82.00714196335576,39.940120531823176],[-82.00708079183714,39.940993915147125],[-82.00702231067031,39.94182886587174]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00696171665884,39.942693958831626],[-82.00690267958974,39.94353680471008],[-82.00685010499681,39.94428737126455]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00596517365763,39.93837887158229],[-82.00590930553078,39.939223614665025],[-82.00585348287686,39.94006764934418],[-82.0057957323329,39.940940811318804],[-82.00574073123067,39.94177238180784],[-82.00568452766983,39.942622114673064],[-82.00562812546444,39.94347482919509]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00487136348558,39.93597866820917],[-82.00483781762443,39.93644745163537],[-82.00476484116099,39.937467232107416],[-82.00470332157424,39.93832688947208],[-82.00464295114072,39.93917046794566],[-82.00461174725753,39.939606482355],[-82.00458220708548,39.94001924623179],[-82.00455813483477,39.940355604875876],[-82.00452074336994,39.94087805896754],[-82.00446086747658,39.94171466489289],[-82.00439990404946,39.94256644523313],[-82.0043390177072,39.943417127427324]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00266562258588,39.93681158491591],[-82.00264035453166,39.93717804056782],[-82.00256666969842,39.93824665005004],[-82.00247591031058,39.93956283259898],[-82.00245078748098,39.93992715463638]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0052313976096,39.939634562126386],[-82.00461174725754,39.939606482355]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00804158593779,39.938475169955865],[-82.00846973663536,39.93912512341238]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00326880653002,39.936018152656864],[-81.99972250055056,39.93587534372204]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00281947130101,39.94113891030657],[-82.00281587216855,39.941191747776344],[-82.00278552458558,39.94163726313589],[-82.00275311299121,39.942113072950164],[-82.00272033521759,39.94259425164808],[-82.00268874947517,39.943057924904956],[-82.00266668316223,39.94338185085873]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00293093917968,39.939582856136326],[-82.00247591031057,39.939562832598995]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0013107650982,39.94205003294644],[-82.00275311299121,39.942113072950164],[-82.0032388941689,39.94213430073556]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00327284388992,39.94166062861973],[-82.0032388941689,39.94213430073556],[-82.00321097190574,39.942613821560066],[-82.0031838552005,39.943079502461465],[-82.00316491756838,39.943404717515115],[-82.00312029793673,39.944170957730314]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00126105999097,39.94299569197296],[-82.00268874947517,39.943057924904956],[-82.0031838552005,39.943079502461465]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00395430431931,39.94032908461854],[-82.00455813483472,39.94035560487583]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00540076042965,39.93749227859857],[-82.00476484116099,39.937467232107416],[-82.00415209409161,39.937443095004234]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00760852792001,39.94270546515576],[-82.00633027514813,39.942650092931544],[-82.00568452766983,39.942622114673064],[-82.00502047557343,39.942593339600805],[-82.00439990404946,39.94256644523313],[-82.00380317820901,39.94254058117525]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00716492848305,39.93979264128253],[-82.0065209243585,39.939770893082496]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00400079576588,39.93963670898488],[-82.0034140556861,39.93961255317203]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00363510793976,39.936396327351446],[-82.00360407038968,39.93684793159149]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.003578912532,39.93721397967313],[-82.00350554637774,39.93828143751702],[-82.00341405568608,39.93961255317206],[-82.00338981759074,39.93996519276129]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00360407038971,39.93684793159145],[-82.0031428161833,39.936829864871015],[-81.99932348801312,39.936680196758026]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00389045445131,39.9412352396878],[-82.00281587216853,39.941191747776344]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00281947130105,39.941138910306556],[-82.0013477895777,39.941075093627326]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00394507544888,39.940443845398114],[-82.00340257371974,39.9404275160003],[-82.00195426339707,39.94038390897544]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00337485500492,39.94085675081592],[-82.00340257371971,39.9404275160003]]},"properties":{}},{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.00885746840436,39.94276124968592],[-82.00822813476336,39.94273268070133]]},"properties":{}}]})

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more