Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • georoute troubleshooting

    I'm trying to generate travel distances using georoute in Stata but getting different error messages. I have lat/lon coordinates of nearly 1,000 ZIP codes and a single end address. I installed georoute and the other required commands, registered for a free HERE account and generated a REST API key. On my macbook, I get the error r(198): "There seems to be an issue with the credentials of your HERE application." On another PC, the distance variable is created (empty) but I get error r(133): "unknown function geturi()".

    Can anyone advise?

  • #2
    I am getting the same error message, copied below, and am not sure how to resolve the issue.

    "There seems to be an issue with the credentials of your HERE application: https://developer.here.com."

    On there Here website, I have registered, clicked 'REST APIs', registered a new app under a new project, created an API Key, and used the API Key in the georoutei command to test the command.

    Am I following the correct steps to get the API needed to run the georoute command? Any tips or advice to trouble shoot would be appreciated.

    global apikey [copied from HERE website]
    georoutei , ///
    herekey("$apikey") ///
    startaddress("[test address 1]") ///
    endaddress("test address 2") ///
    km

    Comment


    • #3
      The error flagged in my previous post (yesterday) was resolved. I did not change anything with the code. Maybe the system does not work on the first day an account is created on here.com?

      Comment


      • #4
        Originally posted by Noah Link View Post
        I'm trying to generate travel distances using georoute in Stata but getting different error messages. I have lat/lon coordinates of nearly 1,000 ZIP codes and a single end address. I installed georoute and the other required commands, registered for a free HERE account and generated a REST API key. On my macbook, I get the error r(198): "There seems to be an issue with the credentials of your HERE application." On another PC, the distance variable is created (empty) but I get error r(133): "unknown function geturi()".

        Can anyone advise?
        Did you manage to resolve the "unknown function geturi()" error? I am stuck with this.

        Regarding the warning "There seems to be an issue with the credentials of your HERE application: https://developer.here.com." - This might be due to HERE account needing some time after you create it, to "start up" (2 hours according to the Stata Journal article on georoute). Separately, note that the herekey() option needs the API Key provided in the HERE platform (rather than the Access Key, which won't work).
        Last edited by Xavier Pedros; 05 Jan 2023, 03:38.

        Comment

        Working...
        X