Comment 25 for bug 1863252

Revision history for this message
Jason Etheridge (phasefx) wrote :

Hi Terran, could you PM me in IRC or email the address you tried? Some addresses with some services will just not return coordinates. For example, the OSM service appears to work best with just zip codes. However, I haven't seen Google fail on one.

In srfsh, you can try things more directly:

srfsh# request open-ils.geo open-ils.geo.retrieve_coordinates 1 "30016"

Received Data: {
  "longitude":"127.28711683398349",
  "latitude":"36.61658955343946"
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 1.118888
------------------------------------

The first parameter is the org unit ID.