This commit is contained in:
Arndt Brenschede 2018-03-10 09:26:42 +01:00
commit e7c68abbd8
18 changed files with 22 additions and 17 deletions

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-codec</artifactId>

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-core</artifactId>

View file

@ -192,7 +192,7 @@ abstract class OsmPath implements OsmLinkHolder
TurnRestriction tr = sourceNode.firstRestriction;
while( tr != null )
{
if ( tr.exceptBikes() && rc.bikeMode )
if ( ( tr.exceptBikes() && rc.bikeMode ) || tr.exceptMotorcars() && rc.carMode )
{
tr = tr.next;
continue;

View file

@ -400,7 +400,7 @@ public final class OsmTrack
}
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

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-expressions</artifactId>

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-map-creator</artifactId>

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-mapaccess</artifactId>

View file

@ -23,6 +23,11 @@ public final class TurnRestriction
return ( exceptions & 1 ) != 0;
}
public boolean exceptMotorcars()
{
return ( exceptions & 2 ) != 0;
}
@Override
public String toString()
{

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-mem-router</artifactId>

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="21"
android:versionName="1.4.9" package="btools.routingapp">
android:versionCode="22"
android:versionName="1.4.10" package="btools.routingapp">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".BRouterActivity"
android:label="@string/app_name"

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-routing-app</artifactId>

View file

@ -172,7 +172,7 @@ public class BRouterView extends View
String basedir = fbd.getAbsolutePath();
AppLogger.log( "using basedir: " + basedir );
String version = "v1.4.9";
String version = "v1.4.10";
// create missing directories
assertDirectoryExists( "project directory", basedir + "/brouter", null, null );

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-server</artifactId>

View file

@ -88,7 +88,7 @@ public class BRouter
}
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 )
{
System.out.println("Find routes in an OSM map");

View file

@ -168,7 +168,7 @@ public class RouteServer extends Thread
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)
{
System.out.println("serve BRouter protocol");

View file

@ -5,7 +5,7 @@
<parent>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>brouter-util</artifactId>

View file

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.btools</groupId>
<artifactId>brouter</artifactId>
<version>1.4.9</version>
<version>1.4.10</version>
<packaging>pom</packaging>
<url>http://brouter.de/brouter/</url>
<name>brouter</name>