Location map - Latitude and longitude

sylvain_hauser
Tera Contributor

Hi,

Is there an automatic function that fill the latitude and longitude fields if there is an address in the location record?

We have a lot of locations and I didn't find a better than going to this website to find the info one by one...

Thanks a lot!

3 REPLIES 3

jay_berlin
ServiceNow Employee
ServiceNow Employee

There is a business rule on the Locations table called 'get_lat_long'. It is inactive by default. It you enable this rule, then any change to the location table will request the latitude and longitude from the Google Geocoder web service and update the location record.

The Google Geocoder service is not perfect, but does a pretty good job of finding lat/long for addresses.


I just tried and it works perfectly!

Thank you, you saved me a lot of time:)


Bill_Collins
Mega Guru

Jay, The BR does not seem to be working. I think the URL has changed. -Bill