itinero / routing

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

Problem with latest pre-release #27

Closed t22dk closed 7 years ago

t22dk commented 7 years ago

I'm having problems using the latest pre-release nuget package.

I get this error, and can't seem to cast my way out of it.

Its just the WIKI example code.

image

Is this a bug, or have i just misunderstood something ?

xivk commented 7 years ago

Do you have the latest version for both Itinero and Itinero.IO.Osm?

t22dk commented 7 years ago

I think so, both are 0.30.0-rc1 I get ambiguous reference, with Vehicle is in both Itinero.Osm.Vehicles.Vehicle and ind Itierno.Profiles.Vehicle

t22dk commented 7 years ago

I think i have messed something up.

Will try to reinstall.

Thanks.

xivk commented 7 years ago

The ambiguous reference is normal just use or remove the Itinero.Profile using:

routerDb.LoadOsmData(stream, Itinero.Osm.Vehicles.Vehicle.Car);