Merge branch 'master' of https://github.com/abrensch/brouter
This commit is contained in:
commit
e7c68abbd8
18 changed files with 22 additions and 17 deletions
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-codec</artifactId>
|
<artifactId>brouter-codec</artifactId>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-core</artifactId>
|
<artifactId>brouter-core</artifactId>
|
||||||
|
|
|
@ -192,7 +192,7 @@ abstract class OsmPath implements OsmLinkHolder
|
||||||
TurnRestriction tr = sourceNode.firstRestriction;
|
TurnRestriction tr = sourceNode.firstRestriction;
|
||||||
while( tr != null )
|
while( tr != null )
|
||||||
{
|
{
|
||||||
if ( tr.exceptBikes() && rc.bikeMode )
|
if ( ( tr.exceptBikes() && rc.bikeMode ) || tr.exceptMotorcars() && rc.carMode )
|
||||||
{
|
{
|
||||||
tr = tr.next;
|
tr = tr.next;
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -400,7 +400,7 @@ public final class OsmTrack
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sb.append( " creator=\"BRouter-1.4.9\" version=\"1.1\">\n" );
|
sb.append( " creator=\"BRouter-1.4.10\" version=\"1.1\">\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( turnInstructionMode == 3) // osmand style
|
if ( turnInstructionMode == 3) // osmand style
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-expressions</artifactId>
|
<artifactId>brouter-expressions</artifactId>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-map-creator</artifactId>
|
<artifactId>brouter-map-creator</artifactId>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-mapaccess</artifactId>
|
<artifactId>brouter-mapaccess</artifactId>
|
||||||
|
|
|
@ -23,6 +23,11 @@ public final class TurnRestriction
|
||||||
return ( exceptions & 1 ) != 0;
|
return ( exceptions & 1 ) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean exceptMotorcars()
|
||||||
|
{
|
||||||
|
return ( exceptions & 2 ) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-mem-router</artifactId>
|
<artifactId>brouter-mem-router</artifactId>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:versionCode="21"
|
android:versionCode="22"
|
||||||
android:versionName="1.4.9" package="btools.routingapp">
|
android:versionName="1.4.10" package="btools.routingapp">
|
||||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||||
<activity android:name=".BRouterActivity"
|
<activity android:name=".BRouterActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
|
Binary file not shown.
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-routing-app</artifactId>
|
<artifactId>brouter-routing-app</artifactId>
|
||||||
|
|
|
@ -172,7 +172,7 @@ public class BRouterView extends View
|
||||||
String basedir = fbd.getAbsolutePath();
|
String basedir = fbd.getAbsolutePath();
|
||||||
AppLogger.log( "using basedir: " + basedir );
|
AppLogger.log( "using basedir: " + basedir );
|
||||||
|
|
||||||
String version = "v1.4.9";
|
String version = "v1.4.10";
|
||||||
|
|
||||||
// create missing directories
|
// create missing directories
|
||||||
assertDirectoryExists( "project directory", basedir + "/brouter", null, null );
|
assertDirectoryExists( "project directory", basedir + "/brouter", null, null );
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-server</artifactId>
|
<artifactId>brouter-server</artifactId>
|
||||||
|
|
|
@ -88,7 +88,7 @@ public class BRouter
|
||||||
}
|
}
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
System.out.println("BRouter 1.4.10 / 26022018 / abrensch+ntruchsess");
|
System.out.println("BRouter 1.4.10 / 26022018");
|
||||||
if ( args.length < 6 )
|
if ( args.length < 6 )
|
||||||
{
|
{
|
||||||
System.out.println("Find routes in an OSM map");
|
System.out.println("Find routes in an OSM map");
|
||||||
|
|
|
@ -168,7 +168,7 @@ public class RouteServer extends Thread
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception
|
public static void main(String[] args) throws Exception
|
||||||
{
|
{
|
||||||
System.out.println("BRouter 1.4.10 / 26022018 abrensch+ntruchsess");
|
System.out.println("BRouter 1.4.10 / 26022018");
|
||||||
if ( args.length != 5 && args.length != 6)
|
if ( args.length != 5 && args.length != 6)
|
||||||
{
|
{
|
||||||
System.out.println("serve BRouter protocol");
|
System.out.println("serve BRouter protocol");
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>brouter-util</artifactId>
|
<artifactId>brouter-util</artifactId>
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.btools</groupId>
|
<groupId>org.btools</groupId>
|
||||||
<artifactId>brouter</artifactId>
|
<artifactId>brouter</artifactId>
|
||||||
<version>1.4.9</version>
|
<version>1.4.10</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<url>http://brouter.de/brouter/</url>
|
<url>http://brouter.de/brouter/</url>
|
||||||
<name>brouter</name>
|
<name>brouter</name>
|
||||||
|
|
Loading…
Reference in a new issue