itinero / routing

The routing core of itinero.
Apache License 2.0
222 stars 71 forks source link

Unhandled exception when processing the planet related to maxspeed parsing #106

Closed xivk closed 7 years ago

xivk commented 7 years ago

Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at Itinero.IO.Osm.Normalizer.AttributeCollectionExtensions.NormalizeMaxspeed(IAttributeCollection tags, IAttributeCollection profileTags) at Itinero.IO.Osm.Normalizer.DefaultTagNormalizer.Normalize(IAttributeCollection tags, IAttributeCollection profileTags, VehicleCache vehicleCache) at Itinero.IO.Osm.Streams.RouterDbStreamTarget.b__17_0(OsmGeo osmGeo, Object param) at OsmSharp.Streams.Filters.OsmStreamFilterDelegate.MoveNext(Boolean ignoreNodes, Boolean ignoreWays, Boolean ignoreRelations) at OsmSharp.Streams.OsmStreamTarget.DoPull(Boolean ignoreNodes, Boolean ignoreWays, Boolean ignoreRelations) at Itinero.IO.Osm.Streams.RouterDbStreamTarget.OnBeforePull()

xivk commented 7 years ago

Fixed.