PrimeAgile Location Services

Uses for Location Services

Location services can be used by any other PrimeAgile module to provide site regional based browsing, distance based searching, or other regionally based information.

Location services provides a built in data set ready to use for any application.

Location services can be used for any application that has location data, including a simple e-commerce site where the zip code auto populates the state and city, or the city autopopulates when the user starts to type.  Location services can also be used by more sophisticated applications like QTZip or other directory services applications.

Implementations of Location Services

Location Services is used in QTZip global directory and saintgeorgedentists.com a directory of dentists in the Saint George Utah Region.


  • Each location has a unique location URL
  • If the URL changes, then a 301 redirect is automatically created
  • The data is updated and maintained on a regular basis
  • The data contains over 10 million places in the world
  • The data contains zip code data for most places in the world
  • Distance based searching from a point to another point or a point to any city or zip code is possible.

The Location Data

The location data consists of Countries, States or provinces, districts,  Metro Regions, Cities, and communities.  The data also consists of non administrative places as well such as mountains, rocks, hotels, etc.

Here is an example for Sri Lanka:

Sri Lanka Country, Wester Province, Columbo District, Columbo City, columbo 1, fort zone

It could also be Sri Lanka columbo metro, columbo 1, fort zone

Here is an example for US

Unites States, Utah, Saint George, bloomington hills

or it could also be US, Utah Saint george metro, saint george, bloomington hills

Architectually we don't care what the names are for the divisions

world Region codes are also available: http://unstats.un.org/unsd/methods/m49/m49regin.htm

Data Sources:




Statistics and post offices from various locations around the world.

Included Locations

Location Services includes about 10 million locations or places in the world. Not all applications using Location services would use all of this data. Each client can determine which countries, states, provinces, districts or metropolitan regions they want to include in their application.

Included States, provinces, districts, cities, neighborhoods.

Currently all states within a country are included wih each application if the start location is the world or a country.  If only specific states are to be included, then a specific states per client option will be provided.  This is true of all regions smaller than a country.

Starting Location

Each site that uses location services can configure location services to have a root starting location.  For example in QTZip, the starting location is the world.  For SaintGeorgeDentists.com, the starting location is Saint George Region.  Navigation for SaintGeorgeDentists.com starts from the saint george region and navigates down from there down, upwards navigation above the start or root location is not allowed in this instance.

Location Pages

Location pages are dynamically build with location data based on templates.  Each location - each country, state, province, district, state community can have its own template and its own associated set of data.  By default templates are provided for each location type.  For example one default template for all countries, and one default template for all districts, provinces or states.  If a tempalte is provided for a specific location, then it replaces the default template for that specific location type.

Location Data

Location data can be any type of data as configured for each client. Provided by PrimeAgile Location services are all countries in the world, list of their State, province or district, cities and zip codes. This can be provided with proprietary information or it can come from third party sources such as: google, wikipedia, news sources, video sources, photo sources etc.

Also when available, the IP address data is available for determining where the user may be from based on their IP address, though this data is 70 to 90% accurate depending on location and perhaps worse in some locations.