This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<canvas width="960" height="500"></canvas> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script> | |
var canvas = document.querySelector("canvas"), | |
context = canvas.getContext("2d"), | |
width = canvas.width, | |
height = canvas.height, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
[ | |
0.446888, | |
51.596917 | |
], | |
[ | |
0.446195, | |
51.598743 | |
], | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the style file that matches the old version of osm2pgsql, which | |
# did not make distinctions between tags for nodes and for ways. There are a | |
# number of optimisations that can be applied here. Firstly, certain tags | |
# only apply to only nodes or only ways. By fixing this we reduce the amount | |
# of useless data loaded into the DB, which is a good thing. Possible | |
# optimisations for the future: | |
# 1. Generate this file directly from the mapnik XML config, so it's always | |
# optimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import json | |
from shapely.geometry import mapping, shape, Point | |
UK_SOME_POLY_BOUNDS='{"type": "Polygon","coordinates": [[[-0.280487,53.337084],[0.051368,52.540633],[0.228357,51.301708],[0.073491,51.146843],[-1.187557,51.168966],[-1.497288,51.080472],[-2.094627,51.080472],[-2.271616,51.345956],[-2.397953,51.653954],[-2.545269,52.095901],[-2.686179,52.76843],[-2.743825,53.120707],[-2.711799,53.351288],[-2.743825,53.665135],[-2.743825,53.69716],[-2.602914,54.23198],[-2.289067,54.302436],[-1.116946,54.385701],[-0.94401,54.340866],[-0.280487,53.337084]]]}' | |
#LONDON_BOUNDS='{"type":"Polygon","coordinates":[[[-0.071151117801821,51.51029343697843],[-0.07113642319992,51.5101295110986],[-0.071146828383437,51.50984908079782],[-0.071168171767067,51.50978737577289],[-0.071222527763646,51.50972891182979],[-0.07130137074254,51.50963667479025],[-0.071378125542731,51.50959386835587],[-0.071527914823977,51.50959633179286],[-0.071908376952806,51.509597191836676],[-0.072220312690561,51.50958253431118],[-0.0724368875 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:60113,suspend=y,server=n -Dmaven.multiModuleProjectDirectory=/Users/neilmccauley/Workspaces/openrouteservice-core/openrouteservice "-Dmaven.home=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" -javaagent:/Users/neilmccauley/Library/Caches/IdeaIC2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/s7/rbfnnmc90y1d1_16lrmqv76h0000gn/T/capture.props -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.2.4 tomcat7:run | |
Connected to the target VM, address: '127.0.0.1:60113', transport: 'socket' | |
[INFO] Scanning for projects... | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goroutine 325139234 [semacquire]: | |
sync.runtime_Semacquire(0xc4229b4bcc) | |
/usr/local/go/src/runtime/sema.go:56 +0x39 | |
sync.(*WaitGroup).Wait(0xc4229b4bc0) | |
/usr/local/go/src/sync/waitgroup.go:129 +0x72 | |
github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter.func1(0xc4201de800, 0x20, 0x20, 0xc4266f3320) | |
/src/github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster/concurrent_map.go:181 +0xb1 | |
created by github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter | |
/src/github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster/concurrent_map.go:166 +0x7f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goroutine 67149298 [runnable]: | |
github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter.func1.1(0xc4240154a0, 0xc422bb1650, 0xc4204610e0) | |
/src/github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster/concurrent_map.go:171 | |
created by github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter.func1 | |
/src/github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster/concurrent_map.go:171 +0x91 | |
goroutine 67149172 [runnable]: | |
github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter.func1.1(0xc4240152c0, 0xc422bb1610, 0xc4204611a0) | |
/src/github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster/concurrent_map.go:171 | |
created by github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/redigocluster/rediscluster.ConcurrentMap.Iter.func1 |
OlderNewer