Are latitude and longitude saved automatically?

I’m wanting to use the BillingLatitude and BillingLongitude fields attached to my Account object in a workflow rule, but I can’t seem to get them to work. I pulled an export via Data Loader of the fields, and they all seem to be blank.

Are these not populated automatically based on the address fields at the same time the Google Map is generated?

If not, how do you go about storing this data?


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Update via Mark Pond for Summer ’16:

Automatically Get Geocodes for Addresses (Generally Available)

you can set up and activate the geocode clean rules for your org. Then, geocodes are added for addresses on existing and new accounts, contacts, and leads.

No, they aren’t populated automatically when the other address fields are populated. You would need to use a third party service to translate the street address into Geolocation coordinates.

The Google Map control will be doing location lookup for you based on the street address.

You could potentially use the Google Geocoding API to do the conversion and then set the BillingLatitude and BillingLongitude fields. See

I’ve also had several clients use

In Geolocation Field Types in Salesforce1 Platform the following appears:

Geolocation fields are useful only once they are geocoded (populated with latitude and longitude data). Address fields can be geocoded using services from Google, Nokia, ESRI, and other sources. However, Salesforce will be rolling out a geocoding service to our customers in the future. (Naturally, Safe Harbor applies.)

Maybe ask your account executive if you can get on a pilot program for geocoding (assuming such a thing exists).

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x