Published
Edited
Jan 7, 2019
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
matchUrl = server + 'v0.1.0/match/geoms?tileHierarchy=8&dataSource=osm/planet-181029&lengthTolerance=0.25' + '&ignoreDirection=true&bearingTolerance=' + 90 + '&searchRadius=' + 25 + '&auth=' + apiKey
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ssSL3layerfail = L.geoJson(ssSL3failed, {weight: 2, color: '#de2d26'}).bindPopup('Failed to Match Speed Limits')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sl2layer = L.geoJson(speedlimits2, {
weight: 2,
color: '#fdb863',
onEachFeature: function(feature, layer) {
layer.bindPopup("<b>GEO_ID:</b> " + feature.properties.geo_id);
}
})
Insert cell
ssSL2layer = L.geoJson(ssSL2, {
weight: 2,
color: '#e66101',
onEachFeature: function(feature, layer) {
layer.bindPopup("<b>SS ID:</b> " + feature.properties.referenceId + "<br><b>Match Score:</b> " + feature.properties.score);
}
})
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