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> | |
| <meta charset='utf-8' /> | |
| <title></title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.2/mapbox-gl.js'></script> | |
| <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.2/mapbox-gl.css' rel='stylesheet' /> | |
| <style> | |
| body { margin:0; padding:0; } |
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
| { | |
| speeds:{ | |
| units:"km/h", | |
| values:{ | |
| "highway=motorway": 130, | |
| "highway=motorway_link": 100, | |
| "highway=trunk": 110, | |
| "highway=trunk_link": 100, | |
| "highway=primary": 90, | |
| "highway=primary_link": 90, |
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
| diff --git a/src/main/java/org/opentripplanner/standalone/OTPMain.java b/src/main/java/org/opentripplanner/standalone/OTPMain.java | |
| index 81c928a..5dfd8a5 100644 | |
| --- a/src/main/java/org/opentripplanner/standalone/OTPMain.java | |
| +++ b/src/main/java/org/opentripplanner/standalone/OTPMain.java | |
| @@ -115,10 +115,10 @@ public class OTPMain { | |
| /* Start graph builder if requested */ | |
| if (params.build != null) { | |
| - GraphBuilder graphBuilder = GraphBuilder.forDirectory(params, params.build); // TODO multiple directories | |
| + /* GraphBuilder graphBuilder = GraphBuilder.forDirectory(params, params.build); // TODO multiple directories |
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
| diff --git a/src/main/java/org/opentripplanner/graph_builder/AnnotationsToHTML.java b/src/main/java/org/opentripplanner/graph_builder/AnnotationsToHTML.java | |
| index fbb55ed..db16731 100644 | |
| --- a/src/main/java/org/opentripplanner/graph_builder/AnnotationsToHTML.java | |
| +++ b/src/main/java/org/opentripplanner/graph_builder/AnnotationsToHTML.java | |
| @@ -211,7 +211,9 @@ public class AnnotationsToHTML implements GraphBuilderModule { | |
| private void addAnnotation(GraphBuilderAnnotation annotation) { | |
| String className = annotation.getClass().getSimpleName(); | |
| - annotations.put(className, annotation.getHTMLMessage()); | |
| + if (annotations.get(className).size() < 50) { |
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
| Index: Xlib/Xatom.py | |
| =================================================================== | |
| --- Xlib/Xatom.py (revision 171) | |
| +++ Xlib/Xatom.py (working copy) | |
| @@ -85,3 +85,6 @@ | |
| WM_CLASS = 67 | |
| WM_TRANSIENT_FOR = 68 | |
| LAST_PREDEFINED = 68 | |
| +#Added | |
| +UTF8_STRING = 291 |
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
| Request JSON | |
| { | |
| "requestParameters": { | |
| "date": "05-18-2015", | |
| "mode": "TRANSIT,WALK", | |
| "arriveBy": "false", | |
| "wheelchair": "false", | |
| "showIntermediateStops": "false", | |
| "fromPlace": "46.556499533500876,15.612258911132812", |
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
| diff --git a/otp-core/src/main/java/org/opentripplanner/routing/impl/CandidateEdge.java b/otp-core/src/main/java/org/opentripplanner/routing/impl/CandidateEdge.java | |
| index 560208f..129fa38 100644 | |
| --- a/otp-core/src/main/java/org/opentripplanner/routing/impl/CandidateEdge.java | |
| +++ b/otp-core/src/main/java/org/opentripplanner/routing/impl/CandidateEdge.java | |
| @@ -137,7 +137,7 @@ public class CandidateEdge { | |
| } | |
| // Calculate the score last so it can use all other data. | |
| - score = calcScore(); | |
| + score = calcScore(mode); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:context="http://www.springframework.org/schema/context" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | |
| http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> | |
| <bean id="gtfsBuilder" class="org.opentripplanner.graph_builder.impl.GtfsGraphBuilderImpl"> | |
| <property name="gtfsBundles"> | |
| <bean id="gtfsBundles" class="org.opentripplanner.graph_builder.model.GtfsBundles"> | |
| <property name="bundles"> |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import xml.etree.cElementTree as ET | |
| from lxml import etree | |
| from collections import defaultdict | |
| __author__ = 'MaBu' | |
| file_path = './deli rute.osm' | |
| file_path_output = './deli rute_out.osm' |
NewerOlder