Merge branch 'r3.4'

This commit is contained in:
Victor Shcherb 2019-07-08 13:40:18 +02:00
commit c74fb695dc

View file

@ -364,7 +364,7 @@ public class RouteStatisticsHelper {
String additional = slopeClass >= 0 ? (BOUNDARIES_CLASS[slopeClass] + ";") : "";
for (int k = 0; k < tps.length; k++) {
BinaryMapRouteReaderAdapter.RouteTypeRule tp = obj.region.quickGetEncodingRule(tps[k]);
if (tp.getTag().equals("highway") || tp.getTag().equals("route") ||
if (tp.getTag().equals("highway") || tp.getTag().equals("route") || tp.getTag().equals("lit") ||
tp.getTag().equals("railway") || tp.getTag().equals("aeroway") || tp.getTag().equals("aerialway")) {
req.setStringFilter(rrs.PROPS.R_TAG, tp.getTag());
req.setStringFilter(rrs.PROPS.R_VALUE, tp.getValue());