mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 12:31:10 +00:00
Include route relations without a network type (#68)
This commit is contained in:
@@ -288,7 +288,7 @@ public class Transportation implements
|
||||
default -> (relation.hasTag("osmc:symbol") || relation.hasTag("colour")) ? 2 : 3;
|
||||
};
|
||||
|
||||
if (networkType != null || rank < 3) {
|
||||
if (network != null || rank < 3) {
|
||||
return List.of(new RouteRelation(coalesce(ref, ""), network, networkType, (byte) rank, relation.id()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user