Documentation

Importing Existing Entry Locations

Last modified: August 3, 2026

Introduction

Gravity Search uses indexed location data to power proximity searches, distance calculations, distance sorting, and
map markers.

New and updated entries can be indexed automatically after Entry Geocoding is configured. Existing Target Form
entries may need to be processed with the Import Existing Entry Locations tool.

The importer scans active entries in batches and adds valid locations from the selected Target Form fields to the
Search location index.

Gravity Search Entry Geocoding settings

When Import Is Needed

Run the importer when:

  • You enable Entry Geocoding on a Target Form that already contains entries.
  • You add or change the fields selected under Fields to Geocode.
  • You import entries into Gravity Forms from another website or file.
  • Existing entries are missing from proximity search results.
  • Existing entries do not appear as map markers.
  • You need to rebuild location data for previously submitted entries.

Entries submitted or updated after Entry Geocoding is enabled are indexed automatically. The importer is primarily
intended for entries created before the current geocoding settings were saved.

Configure Entry Geocoding

Open the Target Form’s settings and locate the Entry Geocoding section.

Enable Entry Geocoding

Enable Enable Entry Geocoding. This allows Gravity Search to index the selected fields when an
entry is submitted or updated.

Fields to Geocode

Use Fields to Geocode to select one or more Target Form fields containing location data.

Supported field types include:

  • Geocoder fields: Import their existing stored location data and coordinates when available.
  • Address fields: Combine and geocode the saved address components.
  • Single Line Text fields: Geocode the saved text as an address.
  • Paragraph Text fields: Geocode the saved text as an address.

Geocoder fields are generally the most efficient source because they may already contain coordinates. Address and
text fields can require new requests to the Google Geocoding API.

Before You Begin

  1. Enable Enable Entry Geocoding.
  2. Select the appropriate Fields to Geocode.
  3. Save the Target Form settings.
  4. Confirm that your Google Maps server API key and required geocoding service are configured.

Always save the settings before starting the importer. If Fields to Geocode contains unsaved changes, the importer
will continue using the previously saved selection.

Large imports involving Address, Single Line Text, or Paragraph Text fields can consume Google Geocoding API quota
and may encounter request or rate limits.

Run the Importer

In the Import Existing Entry Locations panel, click Start Import.

The importer processes active Target Form entries in batches. For every selected field, it attempts to:

  • Import valid coordinates already stored in a Geocoder field.
  • Geocode saved Address or text field values.
  • Add valid locations to the Search location index.
  • Skip empty fields or locations that are already indexed.
  • Report fields that could not be imported.

Keep the importer page open until processing is complete. You can use the Cancel button to stop an
import that is currently running.

Import Existing Entry Locations progress panel

Understanding Import Results

The Processed Locations table displays information about each processed location, including:

  • Entry ID
  • Field ID
  • Address
  • Action
  • Reason

A location may be imported, skipped, or reported as failed. Skipped locations commonly contain an empty value or
already exist in the index. Failed locations commonly indicate an invalid stored location or an address that could
not be geocoded.

After Importing

Open the Search that uses this Target Form and go to Search Setup.

Under Location Data Scope, select the imported location fields that the Search should use. These
sources determine which indexed locations are available for proximity filtering, distance calculations, and map
markers.

Save the Search and test it using:

  • A location search field with an address and radius.
  • Initial proximity defaults, if configured.
  • Map output with result markers enabled.
  • Distance display or distance sorting.
Gravity Search Location Data Scope settings

Troubleshooting

No Fields Are Available

Confirm that the Target Form contains a supported Geocoder, Address, Single Line Text, or Paragraph Text
field.


The Importer Reports No Selected Fields

Enable Entry Geocoding, select at least one field under Fields to Geocode, and save the Target Form settings
before starting the importer.


Entries Do Not Appear on the Map

Confirm that the entries were imported successfully and that their fields are selected under the Search’s
Location Data Scope. Also verify that map result markers are enabled.


Proximity Search Returns No Results

Verify that the entries have valid indexed coordinates, the correct Location Data Scope fields are selected,
and the search radius is large enough.


The Import Is Slow

Address and text fields may require individual geocoding requests. Larger Target Forms can therefore take
several batches to complete.


Addresses Cannot Be Geocoded

Check that the saved addresses are complete and valid. Also confirm that the Google Maps server API key,
Geocoding API, billing, and API restrictions are configured correctly.

menu-circle