This file has been truncated, but you can view the full file.
This file contains hidden or 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
| 2019-07-08 19:17:08.753 [main] INFO c.g.r.tomtom.TTGraphHopperFactory - No tomtom config detected | |
| 2019-07-08 19:17:08.793 [main] INFO c.g.matrix.http.GraphHopperEEManaged - Loaded landmark splitting collection from | |
| 2019-07-08 19:17:08.793 [main] INFO c.g.matrix.http.GraphHopperEEManaged - {graph.dataaccess=RAM_STORE, graph.elevation.cgiar.clear=false, graph.flag_encoders=car|block_barriers=false,small_truck|block_barriers=false,truck|block_barriers=false,scooter|block_barriers=false, graph.bytes_for_flags=12, prepare.ch.weightings=fastest, graph.elevation.calc_mean=true, prepare.min_one_way_network_size=800, graph.elevation.cache_dir=/data/cgiar, prepare.min_network_size=800, graph.elevation.smoothing=true, prepare.ch.edge_based=edge_or_node, routing.max_visited_nodes=1500000, prepare.ch.threads=4, import.speedmodels_dir=./routing-ee/files/speedmodels, routing.round_trip.max_retries=2, graph.elevation.provider=multi, matrix.default_customer_priority=0, matrix.check_reference_routes=Berlin,Spain,France,USA |
This file contains hidden or 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
| { | |
| "version": 8, | |
| "name": "gh-mvt", | |
| "sources": { | |
| "gh-mvt-tiles": { | |
| "type": "vector", | |
| "tiles": [ | |
| "http://127.0.0.1:8989/mvt/{z}/{x}/{y}.mvt?details=max_speed&details=road_class&details=road_environment" | |
| ] | |
| }, |
This file contains hidden or 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
| 2019-06-08 18:07:54.182 [fastest_small_truck_edge] INFO c.g.r.c.PrepareContractionHierarchies - took: 180935s, graph now - num edges: 227?362?802, num nodes: 173?012?687, num shortcuts: 633?753?377 | |
| 2019-06-09 08:32:32.522 [fastest_car_edge] INFO c.g.r.c.PrepareContractionHierarchies - took: 232813s, graph now - num edges: 227?362?802, num nodes: 173?012?687, num shortcuts: 749?629?202 | |
| 2019-06-10 21:58:44.572 [fastest_truck_edge] INFO c.g.r.c.PrepareContractionHierarchies - took: 186650s, graph now - num edges: 227?362?802, num nodes: 173?012?687, num shortcuts: 603?320?037 | |
| 2019-06-12 03:07:34.821 [fastest_scooter_edge] INFO c.g.r.c.PrepareContractionHierarchies - took: 239702s, graph now - num edges: 227?362?802, num nodes: 173?012?687, num shortcuts: 747?637?733 | |
| 7.7G edges | |
| 8.4G geometry | |
| 3.3G nodes | |
| 1.4G location_index |
This file contains hidden or 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
| var lineLayer = L.geoJson().addTo(mapLayer.getMap()); | |
| lineLayer.options.style = function (feature) { | |
| var p = feature.properties || {}; | |
| return {color:p.color||"gray", weight:p.weight||2, opacity:0.5}; | |
| } | |
| var counter = 0; | |
| var timeLimit = 10 * 30; | |
| var Papa = require("papaparse"); | |
| Papa.parse("http://127.0.0.1:8989/spt?point=51.351201,12.398071&time_limit="+timeLimit+"&columns=prev_longitude,prev_latitude,longitude,latitude,time,road_environment", { |
This file contains hidden or 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
| https://developer.android.com/studio/#downloads => sdk-tools-linux-4333796.zip | |
| mkdir android-sdk-linux | |
| cd android-sdk-linux | |
| unzip ~/Downloads/sdk-tools-linux-4333796.zip | |
| android-sdk-linux/tools/bin/sdkmanager "build-tools;27.0.3" | |
| android-sdk-linux/tools/bin/sdkmanager "platforms;android-27" | |
| # building with JDK 11 fails currently with javax/xml/something not available | |
| export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ | |
| mvn -P include-android clean install -DskipTests=true |
This file contains hidden or 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
| cat /etc/hosts | sort -t' ' -k2 |
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name sub.mydomain.com; | |
| root /var/www/html; | |
| location ~ /\.ht { | |
| deny all; | |
| } | |
| } |
This file contains hidden or 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
| package com.graphhopper.matrix.perf.test; | |
| import com.graphhopper.api.GHMRequest; | |
| import com.graphhopper.api.GHMatrixBatchRequester; | |
| import com.graphhopper.api.GHMatrixSyncRequester; | |
| import com.graphhopper.api.GraphHopperMatrixWeb; | |
| import com.graphhopper.api.MatrixResponse; | |
| import com.graphhopper.util.Helper; | |
| import com.graphhopper.util.StopWatch; | |
| import com.graphhopper.util.shapes.GHPoint; |
This file contains hidden or 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 mapboxgl from 'mapbox-gl'; | |
| import {tilesUrl} from './config'; | |
| /** | |
| * Represents the map that is displayed in the main view and deals with tiles etc., should be independent from | |
| * any vector layers on top of it. | |
| */ | |
| export class Map { | |
| constructor(container) { |
This file contains hidden or 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> | |
| <html> | |
| <head> | |
| <title>Leaflet.VectorGrid Points Example</title> | |
| <meta charset="utf-8"/> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/> | |
| </head> | |
| <body style='margin:0'> |