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

Supporting MatchedRequests larger than OSRM 'max_match_size' #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TNonet
Copy link

@TNonet TNonet commented Aug 28, 2020

I utilized this simple module for a project of mine. However, I ran into the issue that I believe many other people face. The OSRM 'max_match_size' setting has a default value of 100. Therefore for longer sequences of points, I implemented a new request which properly sections and cuts a sequence of coordinates, radiuses, and timestamps, and submits them as a sequence of MatchRequests. However, I decided against post-processing these separate match requests and allowing the user to analyze them as needed.

  • Moved helper functions outside of BaseRequest
  • Implemented MatchRequestSections which iteratively calls MatchRequest
  • Updated testcases with non-localhost OSRM server
  • Added testcases for match_sections

- Moved helper functions outside of BaseRequest
- Implemented MatchRequestSections which iteratively calls MatchRequest
- Updated testcases with non-localhost OSRM server
- Added testcases for match_sections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant