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.
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: { :"127.287116833 98349", :"36.6165895534 3946"
"longitude"
"latitude"
}
------- ------- ------- ------- ------- - ------- ------- ------- ------- -
Request Completed Successfully
Request Time in seconds: 1.118888
-------
The first parameter is the org unit ID.