1.3.2 preparations
This commit is contained in:
parent
14a18fd770
commit
3e50846135
17 changed files with 1929 additions and 1906 deletions
|
|
@ -268,7 +268,7 @@ public final class OsmTrack
|
|||
sb.append( " xmlns=\"http://www.topografix.com/GPX/1/1\" \n" );
|
||||
sb.append( " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" );
|
||||
sb.append( " xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd\" \n" );
|
||||
sb.append( " creator=\"BRouter-1.3.1\" version=\"1.1\">\n" );
|
||||
sb.append( " creator=\"BRouter-1.3.2\" version=\"1.1\">\n" );
|
||||
sb.append( " <trk>\n" );
|
||||
sb.append( " <name>" ).append( name ).append( "</name>\n" );
|
||||
sb.append( " <trkseg>\n" );
|
||||
|
|
|
|||
|
|
@ -236,7 +236,12 @@ public class RoutingEngine extends Thread
|
|||
{
|
||||
try
|
||||
{
|
||||
MatchedWaypoint seedPoint = matchNodeForPosition( waypoints.get(0) );
|
||||
MatchedWaypoint seedPoint = new MatchedWaypoint();
|
||||
seedPoint.waypoint = waypoints.get(0);
|
||||
List<MatchedWaypoint> listOne = new ArrayList<MatchedWaypoint>();
|
||||
listOne.add( seedPoint );
|
||||
matchWaypointsToNodes( listOne );
|
||||
|
||||
routingContext.countTraffic = true;
|
||||
|
||||
findTrack( "seededSearch", seedPoint, null, null, null, false );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue