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

Select proxy address by closest available geo #4

Open
cweems opened this issue Aug 10, 2022 · 0 comments
Open

Select proxy address by closest available geo #4

cweems opened this issue Aug 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cweems
Copy link
Contributor

cweems commented Aug 10, 2022

Create function that splits out the area code and associates it with a lat-lon. This CSV maps are codes to lat-lon coordinates: https://github.com/ravisorg/Area-Code-Geolocation-Database/blob/master/us-area-code-geo.csv

Use a library like geolib to get the distance between the customer's number and potential proxy addresses. Sort proxy address candidates by distance and then eliminate ones that are already bound.

Update readme with any geo constraints based on this implementation.

@aymenn aymenn added the enhancement New feature or request label Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants