OsmSharp / ui

The UI components.
http://osmsharp.com/
GNU General Public License v2.0
138 stars 91 forks source link

Routing file version mismatch #206

Closed JoeCooper closed 9 years ago

JoeCooper commented 9 years ago

I converted XML data to a routing file using OsmSharpDataProcessor. When I try to load it, I get an error:

"System.ArgumentOutOfRangeException: Cannot deserialize the given stream, version unsupported or content unrecognized! Parameter name: stream at OsmSharp.Routing.Graph.Serialization.RoutingDataSourceSerializer`1[OsmSharp.Routing.CH.PreProcessing.CHEdgeData].Deserialize (System.IO.Stream stream, OsmSharp.Collections.Tags.TagsCollectionBase& metaTags, Boolean lazy) [0x00062] in /Users/joecooper/Projects/[redacted]/OsmSharp/OsmSharp.Routing/Graph/Serialization/RoutingDataSourceSerializer.cs:283 at [redacted].Core.Services.CompassService+cAnonStorey5.<>m0 () [0x001b1] in /Users/joecooper/Projects/[redacted]/Services/CompassService.cs:354"

The exact same build of OsmSharp, from the repo, is used in both the app and OSDP.