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

Documentation #8

Open
16 tasks
jolevesq opened this issue Oct 27, 2022 · 2 comments
Open
16 tasks

Documentation #8

jolevesq opened this issue Oct 27, 2022 · 2 comments
Labels

Comments

@jolevesq
Copy link
Member

jolevesq commented Oct 27, 2022

Add documentation to this repo

  • ReadMe file
  • Contributing, Licence file
  • docs folder

Add needed information to clearly understand the project

  • Diagram
  • Info on each supported API
  • Info on how to add a new API data source (schema, key, ...)
  • ...

Recipe

  • Build API on AWS (API gateway, Lamda coded in Python)
  • Support Geonames, Nominatim, Google, NTS boundary and other custom format
  • Create input and output schema for all sources
  • Create metadata - lookup table for all sources
  • Create a parser function who parse the input query and create the query for the proper service'
    • Function must be reusable and take param from schema and metadata to run. Adding a new service should not require new developement.
  • Create a parser function who parse the output response and standardize the output.
    • Function must be reusable and take param from schema and metadata to run. Adding a new service should not require new developement.
  • Build UI
@jolevesq jolevesq added the Epic label Oct 27, 2022
@David-Henandez-nrcan
Copy link

Geolocator_2023.docx

@David-Henandez-nrcan
Copy link

Reverse coding for geocode. As shown in these links:
https://maps.googleapis.com/maps/api/geocode/json?latlng=40.7136181%20-73.9641317&key=AIzaSyASQcYTDCw4fRr_GY5WHxIAqeTsDmvAh_8
https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=AIzaSyASQcYTDCw4fRr_GY5WHxIAqeTsDmvAh_8

  • the parameter 'radius' has no effect on the query.
  • the resulting items are just increasing levels of geographical features associated to the same coordinates.
    these features go from the more specific such as 'street_address'/'establishment' to the most generic such as 'country'.

Reverse code for nearby. As shown in this link:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&key=AIzaSyASQcYTDCw4fRr_GY5WHxIAqeTsDmvAh_8

  • Takes into account the value of the radius for the amount of features returned.
  • the maximum number of features returned are 20.

Reverse code for geonames. as shown in this link:
https://geogratis.gc.ca/services/geoname/en/geonames.json?lat=45.5&lon=-71.5&radius=10

  • The default value for the parameter 'radius' is 10 kms
  • the maximum number of features returned are 100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants