🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Module maintainer @podarok

The Location module allows real-world geographic locations to be associated with Drupal nodes, including people, places, and other content. The Location module allows admins to collect addresses, geocode them (translate addresses to lattitude/longitude), and associate locations with Drupal nodes and users. Location data is automatically used to generate GeoRSS within your existing RSS feeds.

We need help from developers with #1931088: [META] Fixing tests

#1940818: [META] Location 7.x-3.6 release roadmap
#2127933: [META][SPRINT][Location] Documentation sprint

At present, it is the only module that provides the views integration necessary for implementing location-based searches and is designed for the purpose of finding points on a map within a vicinity of a user-supplied location.  If you are interested in the presentation and manipulation of geographic data beyond points (e.g., lines, polygons, etc) I would recommend using the geofield and open layers modules.

Important location search change: For those using the location search sub-module, as of location 6.x-3.2 and 7.x-3.0-alpha1 users must have the "access content" permission and any relevant node access rights to see node based location search results and the "view user profiles" and "view all user locations" permissions to see user based location search results.

If updating from earlier versions and using location search, make sure to check these permissions.

We need help from developers with #1931088: [META] Fixing tests

#1940818: [META] Location 7.x-3.6 release roadmap

Location now includes the following modules:

     
  • Location: provides the Location API; handles address storage and geocoding. Allows users to attach locations to nodes.
  • User Locations: allows admins to associate locations with users.
  • Location Phone and Location Fax: add phone and fax fields to Location's address fieldset.
  • Location Search: Integrate locations and proximity searching into the core Drupal search functionality
  • Location CCK: provide a Location behavior as a CCK field.
  • Location Generate: Programmatically generate locations for testing (integrates with the Devel package).
  • Location Add Another: Allows you to quickly add new locations to a node.
  • Location Entity: #1186868: [Needs Tests]Integration with Entity API, Search API
  • Location Taxonomy:
  • Location Email:#1257716: Add Location: Email (alongside Phone and Fax)

In addition to the underlying Drupal modules, the Location package contains a machine-readable table of postal codes for several countries.

For more information see the location handbook.

Drupal 8 porting

#2120387: Drupal 8 port for Location module

Drupal 7

The alpha (7.x-3.0-alphaX) is now available and ready for use on production sites.
Porting is complete, but there are still a few minor issues to be resolved.
If you find any bugs please post bug reports in the issue queue (if there isn't already one for the problem).
A beta version will be released soon, once a couple more critical issues are fixed.

Installing fresh on D7 has been tested.  Upgrading from D6 still needs to be tested.  Feel free to test and and post issues for the upgrade path.

Important:

 

Location 7.x-3.x is a direct port of the drupal 6 version (6.x-3.x) and so it still contains the node locations and user locations modules as before, in addition to the location cck module.
As of 7.x-3.0-alpha1 the location cck module is a Drupal core field API field that should work on any entity types.
If you are upgrading from drupal 6 and use the node location, user location or location taxonomy modules you can continue to use them. Otherwise it is recommended you use the location cck module, which in future versions will be called location field and will be the only option.

Known issues

Currently, with 6.x-3.x, you cannot use node locations and cck locations on the same node type.  For more information see INSTALL.txt or the drupal.org handbook for the module.

If using a 7.x-3.x version please read the important note in the D7 section above.

Supported by Druler

Supporting organizations: 

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • caution No further development
    No longer developed by its maintainers.
  • chart icon21,756 sites report using this module
  • Created by ankur on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases