Skip to content

Move geocode functions from WEX to SAM#160

Merged
cpaulgilman merged 2 commits into
developfrom
move-geocode
Mar 23, 2023
Merged

Move geocode functions from WEX to SAM#160
cpaulgilman merged 2 commits into
developfrom
move-geocode

Conversation

@cpaulgilman

Copy link
Copy Markdown
Collaborator

Goes with NatLabRockies/SAM#1380

Remove geocoding functions GeoCodeGoogle() and GeoCodeDeveloper() from WEX:

  • Allows API keys to be defined in SAM consistent with other API calls

  • Allows URLs for API calls to be stored in webapis.conf file instead of hard-coded.

Remove SetApiKeys() function, which is only required to make geocoding API keys available in WEX.

Move LK geocode() function to SAM so it can use SAM API keys.

Remove geocoding functions `GeoCodeGoogle()` and `GeoCodeDeveloper()` from WEX and move them to SAM:

* Allows API keys to be defined in SAM consistent with other API calls

* Allows URLs for API calls to be stored in webapis.conf file instead of hard-coded.

Remove SetApiKeys() function, which is only required to make geocoding API keys available in WEX.

Move  LK `geocode()` function to SAM so it can use SAM API keys. This means it is no longer available in LK for SDKtool. (Programmers should write their own code with `curl()` to the geocoding service of their choice.)

@sjanzou sjanzou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested per document in SAM-private pull request 89

@cpaulgilman cpaulgilman merged commit 876049f into develop Mar 23, 2023
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.

2 participants