How to adjust geocoding settings for more targeted search results

Each geocoding provider is using different data as basis for their geocoding service. Our recommendation is to use Mapzen Search as their service is powered by opendata and also includes additional data from sources like openaddresses.io in their geocoding results.

By default, the available geocoding provider cover the whole earth when searching for latitude and longitude values for the location your entered.

Depending on the geocoding provider you chose, there are the following ways to get more targeted search results.

For most optimizations, you need to enter latitude and longitude values. To get those values for a location, please search your location, switch to the advanced editor and copy the values from the related fields:

editor-switch-link


Mapzen Search

Set a local focus point

To focus your search based upon a geographical area, provide latitude and longitude values.

Search within a particular country

You can restrict search results be from a particular country. You can pass alpha-2 or alpha-3 ISO-3166 country codes.

Narrow search

You can limit your search to a specific rectangle or circle.

Related settings can be found at Settings / Geocoding / “Mapzen Search settings”:

mapzen-geo-optimizations


Algolia Places

aroundLatLng

Force to first search around a specific latitude longitude. The option value must be provided as a string: latitude,longitude like 12.232,23.1. The default is to search around the location of the user determined via his IP address (geoip).

countries

Change the countries to search in. You must pass an array of two letters country codes. You can pass two letters country codes (ISO 639-1). Default: Search on the whole planet.

Related settings can be found at Settings / Geocoding / “Algolia Places settings:

algolia-geo-optimizations


Photon@Mapsmarker

Location Biasing

To focus your search based upon a geographical area, you can provide latitude and longitude values.

Related settings can be found at Settings / Geocoding / “Photon@Mapsmarker settings”:

photon-geo-optimization


MapQuest Geocoding

Location Biasing

When using batch geocoding or when ambiguous results are returned, any results within the provided bounding box will be moved to the top of the results list.

Related settings can be found at Settings / Geocoding / “MapQuest Geocoding settings”:

mapquest-geo-optimization


Google Geocoding

Location Biasing

You may bias results to a specified circle by passing a location and a radius parameter. This instructs the Place Autocomplete service to prefer showing results within that circle. Results outside of the defined area may still be displayed. You can use the components parameter to filter results to show only those places within a specified country. If you would prefer to have no location bias, set the location to 0,0 and radius to 20000000 (20 thousand kilometers), to encompass the entire world.

region

Optional region code, specified as a ccTLD (“top-level domain”) two-character value. This parameter will only influence, not fully restrict, results from the geocoder. For more information see Region Biasing.

Related settings can be found at Settings / Geocoding / “Google Geocoding settings”:

google-geocoding-optimization