Skip to content

Commit

Permalink
Ignore relations without members.
Browse files Browse the repository at this point in the history
  • Loading branch information
xivk committed Feb 19, 2024
1 parent 4c2eb5d commit 19d433e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Itinero.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!--- Package information, Version -->
<PropertyGroup>
<PackageVersion>2.0.1-alpha-100</PackageVersion>
<PackageVersion>2.0.1-alpha-101</PackageVersion>
<NeutralLanguage>en</NeutralLanguage>
<Description>Itinero - Routeplanning for .NET.</Description>
<Copyright>Itinero BV</Copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public static void AddTileData(this StandaloneNetworkTileWriter writer, IEnumera
}
case Relation relation:
if (!restrictionParser.IsRestriction(relation, out _)) continue;
if (relation.Members == null) continue;

// log ways that are members, we need to keep their edge ids ready
// or store their global ids when the restriction crosses tile boundaries.
Expand Down

0 comments on commit 19d433e

Please sign in to comment.