Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Via routes not yet adapted to edge-based graph #36

Closed
emiltin opened this issue Nov 29, 2011 · 9 comments
Closed

Via routes not yet adapted to edge-based graph #36

emiltin opened this issue Nov 29, 2011 · 9 comments
Milestone

Comments

@emiltin
Copy link
Contributor

emiltin commented Nov 29, 2011

~/code/osm$ osrm-routed
[server] starting up engines, saved at Tue Nov 29 20:46:27 2011
[server] http 1.1 compression handled by zlib version 1.2.5
[objects] loading query data structures ...ok
[handler] registering plugin hello
[handler] registering plugin locate
[handler] registering plugin nearest
[handler] registering plugin viaroute
[server] running and waiting for requests
[info Plugins/ViaRoutePlugin.h:112] [debug] via0: 5565895,1259031
[info Plugins/ViaRoutePlugin.h:155] Node1: 788
Node2: 4294967295
startCoord: (5565874,1259030)
targetCoord: (-2147483648,-2147483648)

[info Plugins/ViaRoutePlugin.h:155] Node1: 4294967295
Node2: 4294967295
startCoord: (-2147483648,-2147483648)
targetCoord: (-2147483648,-2147483648)

Assertion failed: (lat2 != INT_MIN), function ApproximateDistance, file Descriptors/../DataStructures/ExtractorStructs.h, line 325.
Abort trap: 6

@emiltin
Copy link
Contributor Author

emiltin commented Nov 29, 2011

occured when moving start or end marker outside of the area covered in the datafiles

@DennisOSRM
Copy link
Collaborator

Is this bug still occuring?

@emiltin
Copy link
Contributor Author

emiltin commented Dec 2, 2011

i've only encountered it once.

@DennisOSRM
Copy link
Collaborator

Ok. Then let's leave this one open for now and see if it reoccurs.

@emiltin
Copy link
Contributor Author

emiltin commented Dec 3, 2011

got this again. it's seems related to via points.

[info Plugins/ViaRoutePlugin.h:112] [debug] via0: 5566889,1257384
[info Plugins/ViaRoutePlugin.h:155] Node1: 4294967295
Node2: 3856
startCoord: (-2147483648,-2147483648)
targetCoord: (5566889,1257384)

[info Plugins/ViaRoutePlugin.h:155] Node1: 3856
Node2: 1586
startCoord: (5566889,1257384)
targetCoord: (5566837,1255754)

Assertion failed: (lat1 != INT_MIN), function ApproximateDistance, file Descriptors/../DataStructures/ExtractorStructs.h, line 323.
Abort trap: 6

@emiltin
Copy link
Contributor Author

emiltin commented Dec 3, 2011

found out how to reproduce this:

  1. create a via point
  2. drag either start of stop marker outside the covered area

@DennisOSRM
Copy link
Collaborator

Thanks. Via points are known to be buggy at this point. The entire logic needs to be recoded. It used to work fine with the previous release but the internal representation has changed since then.

Am 03.12.2011 um 09:35 schrieb Emil Tin reply@reply.github.com:

found out how to reproduce this:

  1. create a via point
  2. drag either start of stop marker outside the covered area

Reply to this email directly or view it on GitHub:
#36 (comment)

@DennisOSRM
Copy link
Collaborator

Renamed this one to make the reason more clear.

@DennisOSRM
Copy link
Collaborator

Via routes are implemented now. Please give it a try. Will leave this issue open in case any problems/discussion arises

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants