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

geocode geo_loc_names from MongoDB prod and from SubmissionPortal ("prod"?) #151

Open
turbomam opened this issue Sep 11, 2023 · 4 comments
Assignees

Comments

@turbomam
Copy link
Member

turbomam commented Sep 11, 2023

Google geolocation price: https://developers.google.com/maps/documentation/geolocation/usage-and-billing

0.005 USD per each (5.00 USD per 1000) @ up to 100,000 per month

As of today, there's about 350 unique normalized addresses in MongoDB prod and SubmissionPortal prod

So about $1.75 to process the whole set

up-to-date geocodings are saved as:

https://github.com/microbiomedata/submission-schema/blob/issue-151-geocoding/geocoded_normalized_geo_loc_names.yaml


@turbomam turbomam self-assigned this Sep 11, 2023
@turbomam turbomam changed the title geocode goe_loc_names from MongoDB prod and from SubmissionPortal ("prod"?) geocode geo_loc_names from MongoDB prod and from SubmissionPortal ("prod"?) Sep 11, 2023
@turbomam
Copy link
Member Author

add reverse geocoding?

@turbomam
Copy link
Member Author

https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=YOUR_API_KEY

@turbomam
Copy link
Member Author

turbomam commented Sep 11, 2023

https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536%2C-104.9847034&key=YOUR_API_KEY

@turbomam
Copy link
Member Author

turbomam commented Sep 11, 2023

why does one endpoint recommend using a bare , and he other recommends encoding as '%2C' ?

https://www.asciitable.com/

, does work in both cases

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

No branches or pull requests

1 participant