Announcement

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

  • Geocoding in Stata: geocodeopen, georoute

    Hello,

    I do not have extensive experience using geocode software in stata and have begun experimenting with geocodeopen (which uses the MapQuest Geocode API) and georoute (which uses the HERE geo API). I am interested in obtaining the driving distance between two towns, but I am not using specific addresses when setting these locations. I am simply using "Town, State" as my identifiers. I was hoping to have the following question clarified


    1. When I simply put town, state (ex: Lowell, MA) and obtain the coordinates with geocodeopen / georoute - what do these coordinates correspond to? Since I am not providing a specific address, do these coordinates reflect the geographic center of the town? The help files associated with these programs do not say - so I would appreciate if some documentation could be provided.

    2. What are other popular geocoding software that people use for stata? I've seen geocode3 used, but that no longer exists. Ideally I would want a program(s) that would first determine the latitude and longitude of a town (i.e. it uses the coordinates associated with the geographic center of a town). With this information obtained, this programs (or a second one) would calculate the driving distance between these two points. I know traveltime can calculate the driving distance between two geographic points, but I was wondering what other programs people used.


    Many thanks for help and suggestions

    - TB

  • #2
    Tom Brodie there should be an example of how to do this using the Google directions API in jsonio.

    Comment

    Working...
    X