Skip to content

Instantly share code, notes, and snippets.

View ungoldman's full-sized avatar
🤔
💭

Nate Goldman ungoldman

🤔
💭
View GitHub Profile
@ungoldman
ungoldman / identify_intersections.ipynb
Created November 30, 2020 23:04 — forked from kuanb/identify_intersections.ipynb
Inspired by this Twitter thread, this is a DIY version to generate similar maps: https://twitter.com/82_Streetcar/status/1333076980032532480
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<script src="https://rawgit.com/Esri/Terraformer/master/terraformer.js"></script>
<script src="https://rawgit.com/Esri/terraformer-arcgis-parser/master/terraformer-arcgis-parser.js"></script>
<!-- CDN or locally hosted is ideal but I'm using raw github so that we get error reporting within the unminified source
<script src="http://cdn-geoweb.s3.amazonaws.com/terraformer/1.0.4/terraformer.min.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/terraformer-arcgis-parser/1.0.4/terraformer-arcgis-parser.min.js"></script>
-->
<script>
var input = {
"objectIdFieldName" : "OBJECTID",
"globalIdFieldName" : "",
/**
Usage: Just include this script after Marionette and Handlebars loading
IF you use require.js add script to shim and describe it in the requirements
*/
(function(Handlebars, Marionette) {
Marionette.Handlebars = {
path: 'templates/',
extension: '.handlebars'
};