itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 69 forks source link

Building the whole US router db failed. #218

Closed Casper-ThinkGeo closed 5 years ago

Casper-ThinkGeo commented 6 years ago

Hi, I'm working on building the whole US router db. There is an "Index was outside the bounds of the array" exception has been thrown by "Compress" method on the lines 641 of DirectedGraph class: exception

I try to load all US states .pbf files to building a router db as following diagram: folder

After I added a "Car.Fastest" contraction, the exception has been thrown when the router db is being serialized to a file. I haven't any idea on this issue. Could you give me some help so that I can completely build the whole US router db?

Thanks, Casper .Lee

xivk commented 6 years ago

What version of Itinero are you using?

Casper-ThinkGeo commented 6 years ago

I'm working on the develop branch source code. The index out of range exception has thrown in compress method when the RouterDb is serializing to a router db file.

Thanks, Casper. Lee

xivk commented 5 years ago

This has been fixed now.