---
schema_version: "1"
id: 40e290d60a1b412f648919d6816b00d101eee9febad8684840ca432c4c8560ff
title: Geocode Records to Plot Them in Salesforce Maps
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/salesforce_maps_setup_batch_geocode.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.salesforce_maps_setup_batch_geocode.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1ef106063f2da4ded029b4489f729556b2469573bc5154b6b7df879aae975bde
description: Records plot on the map after they have a verified latitude and longitude. Salesforce Maps geocodes records by matching their address fields against a geocoding provider and writing the resulting coordinates back to the record.
products:
  - Sales
  - Salesforce Maps
release: "264"
---
# Geocode Records to Plot Them in Salesforce Maps

Records plot on the map after they have a verified latitude and longitude. Salesforce Maps geocodes records by matching their address fields against a geocoding provider and writing the resulting coordinates back to the record.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Lightning Experience</strong> and <strong>Salesforce Classic</strong></td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

- **Existing values are never overwritten.** If a record already has latitude and longitude values, Maps doesn't replace them. To re-geocode a record, first clear its coordinate fields.
- **0,0 is a valid coordinate** (it's a location in the Gulf of Guinea). Records with `Latitude = 0` and `Longitude = 0` plot on the map at that location. They aren't treated as blank. Make sure that coordinate fields are truly null, not zero, for records that you want geocoded.
- **Address completeness matters.** For best results, records have a complete address: street, city, state, postal code, and country. Incomplete addresses reduce geocoding accuracy.
- **Data coverage varies by region.** See the [Geocoding data coverage](https://help.salesforce.com/s/articleView?id=000380853&type=1&language=en_US) article for supported countries and accuracy levels.

Configure custom latitude and longitude fields on a base object if you store coordinates in nonstandard fields. Set these fields under **Base Object** | **Edit Existing** | **Coordinate Fields**.

## Run a geocoding batch

Geocode existing records in bulk so they plot on the map.

1. From **Setup > Installed Packages**, find Salesforce Maps and click **Configure**.
2. Open **Batch Process Settings**.
3. Select the base object and the records to geocode.
4. Start the batch, and then monitor its progress until it finishes.

You can also geocode records by plotting the layer that contains them.

#### See Also

- [Create a Custom Field](https://help.salesforce.com/s/articleView?id=platform.adding_fields.htm&type=5&language=en_US)
- [Schedule Apex Jobs](https://help.salesforce.com/s/articleView?id=platform.code_schedule_batch_apex.htm&type=5&language=en_US)
- [_Salesforce Developers_: ApexClass](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_apexclass.htm)