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

Speed up healthsite distance query by using healthsites.io API #2

Open
msradam opened this issue Feb 27, 2019 · 0 comments
Open

Speed up healthsite distance query by using healthsites.io API #2

msradam opened this issue Feb 27, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@msradam
Copy link
Owner

msradam commented Feb 27, 2019

Healthsites.io does have their own API, and it may be useful to make requests to it by specifying latitude and longitude and obtaining a list of healthsite points. This way the algorithm can narrow its search for closest healthsites. This could be done by creating a latitude and longitude based bounding box from the list of source points (e.g. schools), then querying the healthsites API based on that bounding box, so the only healthsites returned are the ones guaranteed to be within this bounding box.

This is advantageous for large countries with a lot of data to process, but may lead to missing data if a faster road is outside of that bounding box.

@msradam msradam added enhancement New feature or request good first issue Good for newcomers labels Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants