routing icon indicating copy to clipboard operation
routing copied to clipboard

Cannot deserialize routing db: Invalid version #: 9

Open Fabio7586 opened this issue 3 years ago • 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!!

Fabio7586 avatar Jan 25 '22 15:01 Fabio7586

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.

xivk avatar Jan 26 '22 08:01 xivk

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!

luzma9999 avatar Jul 12 '23 07:07 luzma9999