Closed taskhiri closed 6 years ago
This looks like an issue with Reminiscense, make sure the package is up to date. Perhaps there is an issue with the nugets. What version of Itinero did you install?
1.3.2
You can't use SRTM with the latest stable, this is available only in the prereleases.
(I know, we need a new stable release, working in it.)
SRTM deleted by me but error not correct...
and i delete all packages and reinstall this packages again :
Itinero NuGet Itinero.Geo NuGet Itinero.IO.Osm NuGet Itinero.IO.Shape NuGet
as this page : http://docs.itinero.tech/docs/itinero/index.html
For the piece of code above, try just installing Itinero.IO.Osm
:(
Start over in a console project and follow the example exactly and install this package:
https://www.nuget.org/packages/Itinero.IO.Osm/1.4.0-pre63
Or start from this example project:
https://github.com/itinero/routing/blob/develop/samples/Sample.Basic/Program.cs
i do this now i see this error :
Method not found: 'System.Nullable`1
Make sure OsmSharp is up to date... are you using nuget to install this? Because this should all be installed automatically these dependencies.
i'm using OSMSHARP 6.0.1
Then I don't know what's going on. I will keep this issue on an try with an empty project myself to see if everything still works as it should in a few days.
Itinero 1.4.0 works with OsmSharp 6 and Itinero 1.3.2 with OsmSharp 5 so one of them is out of sync, install Itinero.IO.Osm 1.4.0-pre63 then you should be fine with OsmSharp 6 and you shouldn't get the message above.
Closing, this, feel free to reopen if you have more questions.
hi , i am use this code :
using Itinero; using Itinero.Elevation; using Itinero.IO.Osm; using Itinero.LocalGeo; using Itinero.LocalGeo.Elevation; using Itinero.Osm.Vehicles; using SRTM; using System; using System.IO;
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
BUT i see this when run :
Method not found: 'Boolean Itinero.Attributes.IAttributeCollection.TryGetValue(System.String, System.String ByRef)'.
Line 27: routerDb.LoadOsmData(stream, Vehicle.Car);
why ?
thanks if you can help us .