-
Notifications
You must be signed in to change notification settings - Fork 5
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
Rjf/map model #255
Rjf/map model #255
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, this is looking great. I left a small comment about the proj dependency.
I also ran this against our open street map example and it failed with the error in the results request had error: required query field 'origin_vertex' not found
. I tracked this down to the UUID output plugin that expects to find an origin vertex id but in our new defaults, we're using the edge oriented map model and only adding in edge id.
Eventually, it might be nice to allow the UUID output plugin to support edge uuid mapping in addition to the current vertex only behavior, but at a minimum, I'm wondering if we could remove the UUID output plugin from our default osm config and add in a quick check at the UUID output plugin process
method to see if we're running an edge based search and return a better error.
Overall though, everything is running smoothly and it's great to see that we're only loading in our geometries once, great work!
rust/Cargo.toml
Outdated
@@ -15,6 +15,7 @@ rayon = "1.7.0" | |||
geo = { version = "0.28.0", features = ["use-serde"] } | |||
geo-types = "0.7.12" | |||
geojson = { version = "0.24.1" } | |||
proj = "0.27.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this isn't being used currently. Having this in actually causes a build failure on my end (which could probably be resolved) but thinking we should remove it for now until we actually start doing CRS projections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right. at the outset i was attempting to include the CRS processing that you referred to in our convo yesterday. i'll comment this out and we can come back around to this in the future, but i also had this problem on my m1 and so suspect we may want to make it an optional compass feature.
right, i thought i already removed it. it's removed now. as for returning a better error, i think instead we need to implement a better UUID plugin that never fails, has two optional input_file arguments for vertex and edge UUIDs, and then simply matches query fields to UUIDs where both field and lookup table exist. for now, it's just dangling there. i'll make an issue. ok, did it: #265. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense to me!
This PR includes the code changes to implement a first class map matching module for RouteE Compass as described in #244. Additionally, updates the frontier model as described in #129.
Status:
tests for MapInputType::process_origin + process_destinationagreed to delay on thiscreate issue to migrate tests for Traversal OutputPlugin into the MapModel filemoved assets, agreed to delayCloses #244.
Closes #129.