Fix piste type
This commit is contained in:
parent
4f7c13316d
commit
c517b730e4
1 changed files with 3 additions and 2 deletions
|
@ -367,8 +367,9 @@ public class RouteStatisticsHelper {
|
|||
RouteDataObject obj = segment.obj;
|
||||
for (int type : obj.getTypes()) {
|
||||
BinaryMapRouteReaderAdapter.RouteTypeRule tp = obj.region.quickGetEncodingRule(type);
|
||||
if (tp.getTag().equals("highway") || tp.getTag().equals("route") ||
|
||||
tp.getTag().equals("railway") || tp.getTag().equals("aeroway") || tp.getTag().equals("aerialway")) {
|
||||
if (tp.getTag().equals("highway") || tp.getTag().equals("route")
|
||||
|| tp.getTag().equals("railway") || tp.getTag().equals("aeroway")
|
||||
|| tp.getTag().equals("aerialway") || tp.getTag().equals("piste:type")) {
|
||||
if (!mainTagAdded) {
|
||||
req.setStringFilter(rrs.PROPS.R_TAG, tp.getTag());
|
||||
req.setStringFilter(rrs.PROPS.R_VALUE, tp.getValue());
|
||||
|
|
Loading…
Reference in a new issue