Google Location Administrative Levels

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000005055

Brilliant Directories supports five primary location types, each of which can use either Bounds or Radius searches.

This article explains how each search method works, how they affect search results, and how to configure the search behavior for each location type.

What Are Bounds and Radius Searches?

The platform supports the following searchable location types (alternate names may be used in some countries):

  • Countries
  • States (Provinces)
  • Counties
  • Cities (Towns, Suburbs, etc.)
  • ZIP / Postal Codes

Each location type can be configured to use either a Bounds search or a Radius search.

By default:

  • Countries, States, and Counties use Bounds searches.
  • Cities and ZIP / Postal Codes use Radius searches.

Radius Searches

A Radius search uses the latitude and longitude at the center of the selected location and returns all members within the configured search radius.

By default, the search radius is 50 miles, although this value can be modified in the website's Advanced Settings.

Bounds Searches

A Bounds search returns members located within the geographic boundary of the selected location.

Google defines these boundaries using a bounding box that encloses the selected area.

Example

Searching for the ZIP Code 90210 demonstrates the difference between the two search methods.

With a Radius search, the system uses the latitude and longitude at the center of the ZIP Code and returns all members within the configured search radius.

With a Bounds search, the system returns members located within the geographic boundary of the ZIP Code.

To better understand the area included in a Google bounding box, the following tool can be used:

http://www.mapdevelopers.com/geocode_bounding_box.php

Smart Default Behavior

Although Google defines locations using bounding boxes, Brilliant Directories applies additional filtering for larger administrative areas.

For example, Country, State, and County searches return only members located within the selected administrative area, even if the Google bounding box extends beyond its actual boundaries.

For example, searching for Los Angeles County returns only members located within Los Angeles County.

Displaying Distance in Search Results

Distance information (such as 2.1 mi away) is available only when using Radius searches.

Because Radius searches use a fixed center point, the system can calculate the distance between the searched location and each member listing.

For example, the following search results display the distance from the center of ZIP Code 90210.


When Bounds searches are used for Cities or ZIP / Postal Codes, distance information is not displayed because there is no single reference point from which to calculate the distance.

Configuring Bounds and Radius Searches

To change the search behavior for each location type:

  1. Log in to the website's Admin Area.
  2. Navigate to Settings → Advanced Settings.
  3. Search for bounds.
  4. Update the desired location search settings.

The following settings are available:

  • Neighborhood – Rarely used. Modifying this setting is generally not recommended.
  • ZIP / Postal Code – Controls ZIP / Postal Code searches.
  • Locality – Controls City searches.
  • Administrative Area Level 2 – Controls County searches.
  • Administrative Area Level 1 – Controls State or Province searches.

Country searches are always treated as Bounds searches and cannot be changed.



Google Administrative Levels

Although only five primary settings appear in the Admin Area, Google Maps recognizes 24 different location types. Each of these location types inherits one of the five primary search settings listed above.

For example, if a search result URL indicates the location type sublocality_level_3, that search behavior is controlled by the Locality setting.

The following chart shows how Google's additional location types map to each primary search setting.