2020-04-14 13:59:33 +02:00
|
|
|
package net.osmand.router;
|
2020-04-03 09:39:35 +02:00
|
|
|
|
|
|
|
public class NativeTransportRoute {
|
|
|
|
//MapObject part:
|
|
|
|
public long id = -1l;
|
|
|
|
public double routeLat = -1;
|
|
|
|
public double routeLon = -1;
|
|
|
|
public String name = "";
|
|
|
|
public String enName = "";
|
|
|
|
//to HashMap <string, string> names
|
|
|
|
public String[] namesLng;
|
|
|
|
public String[] namesNames;
|
|
|
|
public int fileOffset;
|
|
|
|
//-----
|
|
|
|
public NativeTransportStop[] forwardStops;
|
|
|
|
public String ref = "";
|
|
|
|
public String routeOperator = "";
|
|
|
|
public String type = "";
|
|
|
|
public int dist = -1;
|
|
|
|
public String color = "";
|
|
|
|
|
|
|
|
// Convert into TransportSchedule:
|
|
|
|
public int[] intervals;
|
|
|
|
public int[] avgStopIntervals;
|
|
|
|
public int[] avgWaitIntervals;
|
|
|
|
|
|
|
|
// Convert into ways (and nodes):
|
|
|
|
public long[] waysIds;
|
|
|
|
public long[][] waysNodesIds;
|
|
|
|
public double[][] waysNodesLats;
|
|
|
|
public double[][] waysNodesLons;
|
|
|
|
|
|
|
|
}
|