itinero/routing

Cannot deserialize routing db: Invalid version #: 9

Fabio7586 opened this issue · 2 comments

Hello, i have created a routerdb file with IDP instruction; after that i have copied it in C:\work\data\multimodal and then i launched routing but when load all it give me following error:

"Cannot deserialize routing db: Invalid version #: 9"

at the following instruction:

var routerDb = RouterDb.Deserialize(stream);

Please help me!!

xivk commented

This should only happen in one for 2 cases:

  • The version of Itinero used in the IDP project used to created the routerdb is higher than the version used to load the routerdb afterwards.
  • The file is corrupt for some reason.

Hi,
I have the same problem. When I build a routerdb file with IDP, after if I try to deserialize it with Itinero.API.dll, it does not work. Where is the software for download rounting-API and IDP with the right versions ?
Please, help me!