Modules: Location

Filter by Drupal Core compatibility:
Login or register to modify the filter.

Contributed (contrib) modules are plugins for Drupal that extend, build or enhance Drupal core functionality. Use matching versions (modules released for Drupal 5.x will not work for Drupal 6.x). Contributed modules are not part of Drupal core releases and may or may not have optimized code/functionality. If a module solves your needs please consider joining forces and helping the maintainer.

Addresses

Link your users and contents to physical addresses.

Features

  • All countries of the world
  • All states of all countries
  • Node addresses thru CCK
  • User address book
  • Multiple addresses
  • Phone and Fax fields
  • Generic API for developers
  • XHTML, CSS, Drupal and PHP E_ALL valid code
VersionDateLinksStatus
6.x-1.0-alpha12008-Mar-29Recommended for 6.xThis is currently the recommended release for 6.x.

Carto - opengis web mapping

To be succeeded by the Mapping Kit.

The Carto module makes the mappingwidgets framework available to nodes in Drupal. This enables the browsing of maps (available from opengis compliant web mapping services) in drupal nodes.

General functionality:

  • carto filter to include mapping widgets in any drupal node
  • default block for an overview map (with zoom in functionality) or a simple legend
  • custom blocks can be defined using the carto filter containing any type of mappingwidget; e.g. a custom overview/legend block or a button-block.
  • node type for specifying opengis web mapping services; block and RSS feeds for recently added WMS'es; ogc getmap/getcapabilities request can be done through drupal.
  • RSS feeds for recent maps (per user or overall)
VersionDateLinksStatus
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Latitude Longitude

This module provides a CCK field for Latitude/Longitude. It stores the values in a fairly naive/simple manner as mere decimal numbers. It provides basic views integration to show the values as numbers. A more full featured solution is the CCK Geographical Well Known Text field provided by the Geo Module.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-16Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CiviCRM Group gmap

The CiviCRM Group gmap module allows you to create pages that display Google maps of your CiviCRM groups. It requires the Gmap module and the CiviCRM module.

VersionDateLinksStatus
4.7.x-1.02007-Apr-16Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

Country codes API

This module provides an API for official and up-to-date ISO 3166 country codes (alpha-2 and alpha-3) and names (official short names).

VersionDateLinksStatus
5.x-1.02007-Dec-13Recommended for 5.xThis is currently the recommended release for 5.x.

e-Commerce Location

Adds Location module integration to E-Commerce product types.

VersionDateLinksStatus
5.x-1.02007-May-18Recommended for 5.xThis is currently the recommended release for 5.x.

Geobrowser

Geobrowser is a module for browsing drupal's spatial information. It provides a google maps powered interactive viewer for location enabled nodes.

An example implementation of the geobrowser module
mapping.uvic.ca

Features Include

* Scalability to thousands of nodes
* Custom icons based on node taxonomy
* Layers (based on taxonomy) that can be turned on and off by the user as they browse the map.
* Hierarchical (nested) layers
* Support for multiple simultaneous vocabularies (meta-layers).
* Icon viewing priority via fivestar module. When the map would normally clutter, geobrowser prioritizes certain nodes for viewing and only shows lower priority nodes when the user zooms in.

Contact
For more information about the Geobrowser module, or to arrange help setting up your own implementation, please contact Patrick Hayes of MapsWest at patrick.d.hayes [at] gmail.com.

VersionDateLinksStatus
5.x-1.x-dev2008-Mar-04Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

GeoLocation

GeoLocation is a CCK field module for storing Longitude/Latitude pairs. It currently has plain input widgets and a yahoo map widget.

Views and gmap integration is completely untested...

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-02Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

geomap

A Google map implementation that renders a google map block based on geo microformat tags embedded in a page.

The locations placed on the google map are obtained by analysing the current page for GEO microformat informaton.
When this info exists, a map will be rendered, when there is no location information, no map will appear.

This module has been disigned to work with the geonames_cck module (http://drupal.org/project/geonames_cck) , which outputs it's data in the correct format.

More information on GEO Microformats: http://microformats.org/wiki/geo

There have been a few updates to the GEO microformat since
this was originally written, so not every form of the microformat
is currently supported.

Example data:

  <div class="geo" title="Canterbury">
    Canterbury, United Kingdom
    <span class="latitude" title="51.2667"/>
    <span class="longitude" title="1.08333"/>
  </div>

Why use this form of mapping ?

The advantage of using this method is that there is no need to do anything fancy to link dynamic data with a map view. If your node teasers contain geo data, then a map will appear and plot the data. The map will zoom to fit all markers.

Limitations

At the moment, the javascript is not really themeable. There will need to be some work done to make maps options customisable.

VersionDateLinksStatus
5.x-1.02008-Mar-25Recommended for 5.xThis is currently the recommended release for 5.x.

GeoNames

A collection of modules to integrate GeoNames webservices and data into a Drupal installation. The modules in this package enable access to all information provided by the XML-based Services from GeoNames. For code examples, documentation, simple demo's and other information please check out the project home page.

This project is maintained by lyricnz and SeroSero.

Supported GeoNames Services

  • GeoNames Fulltext Search (search)
  • Reverse Geocoding
    • Country Subdivision (countrysubdivision)
    • Find nearby Place Name (nearbyplace)
    • Find nearby Postal Codes (nearbypostalcodes)
    • Find nearby Wikipedia Entries (nearbywikipedia)
  • Place Hierarchy
    • Neighbours (neighbours)
    • Siblings (siblings)
    • Hierarchy (hierarchy)
    • Children (children)
  • Postal Code Country Info (postalcodecountryinfo)
  • Postal Code Search (postalcodesearch)
  • Country Code (reverse geocoding) (countrycode)
  • Country Info (Bounding Box, Capital, Area in square km, Population) (countryinfo)
  • Timezone (timezone)
VersionDateLinksStatus
5.x-1.x-dev2007-Oct-10Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Geonames CCK

The geonames_cck module implements a CCK field type that uses geonames (http://www.geonames.org) to translate location names into their longditude and latitude coordinates.

This module was designed to work with the geomap (http://drupal.org/project/geomap) module. Locations are output using Geo microformats, and the geomap module will display any geo data on a google map.

We use the geonames web service module (http://drupal.org/project/geonames) to handle the actual communication with geonames.

VersionDateLinksStatus
5.x-1.02008-Mar-25Recommended for 5.xThis is currently the recommended release for 5.x.

GeoRSS module

The GeoRSS module allows for geodata in the standard GeoRSS format to be extracted from nodes in incoming feeds (currently using aggregator2, but also soon feedparser and leech) and adds the coordinates using location module for each node that is created.

In addition, it adds a choice of GeoRSS formats to outgoing RSS feeds from Drupal.

VersionDateLinksStatus
5.x-1.x-dev2007-Nov-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Mar-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

GeoUser

Retrieve user's geographic information based on her ip address, and display a yahoo map on user page.
No dependency on other module.

VersionDateLinksStatus
6.x-1.4-beta2008-Apr-12Recommended for 6.xThis is currently the recommended release for 6.x.

GMap Addons

A collection of addons for the GMap module, Drupal 5 version and up.

Available modules:

  • gmap_cck: CCK field to show a google map
    Status: ready for testing
  • More to come! Check back soon!
VersionDateLinksStatus
5.x-1.x-dev2007-Aug-29Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

GMap Lat/Lon

GMap Lat/Lon is a small glue module that provides Latitude and Longitude Views fields for nodes with gmap_cck fields. Among other things, this allows the gProximity module to display a map showing all nodes with gmap_cck fields. The Location module should also be able to do this but, at the time of writing, has no supported/usable releases.

Developed by Acquia, Inc.

VersionDateLinksStatus
5.x-0.12008-Apr-21Recommended for 5.xThis is currently the recommended release for 5.x.

GMap Module

The GMap module is primarily an API packaged with a few modules to give some functionality.

The API allows developers of other modules to include Google Maps in their module. There is also a macro generator and a filter to insert a google map from a macro into any node where the filter is run.

A second module packaged with gmap.module integrates with the location.module and allows users that have lat,long information entered for the user to be displayed on a single map so that you can see where in the world all of your users are coming from. The gmap.module also includes functionality to allow users to set their latitude and longitude on a gmap in an interactive fashion.

This module also adds some functionality to location.module that can allow the node locations to be set in an interactively. Then the location of the current node can be shown in a block if it has lat/long information stored for it in the location.module. All of the nodes that have lat/long location information can be viewed on a common map.

The above description is for the Drupal 4.7 version. The 4.6 version does not have the user functionality and the programming API is not as complete.

VersionDateLinksStatus
5.x-1.0-alpha12007-Dec-29Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2007-Sep-04Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Google Client Geocoder

A Google Client Geocoder based package, which allows you to:

  • Use a Google client geocoder enabled, xAL - Extensible Address Language compliant address field in your forms (by gcg).
  • Add addresses to your nodes and display the address either on a static or dynamic Google Map (by gcg_node).
  • Automatically categorize the content by location (by gcg_taxonomy).

The package depends on the Country codes API and requires a Google Maps API Key.

VersionDateLinksStatus
5.x-1.x-dev2008-Mar-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Google Earth

This module provides a KML file to see visitors through the Google Earth interface by using IP of them.

Requires a GeoLite (free) or GeoIP database.

VersionDateLinksStatus
5.x-5.x-dev2007-Jun-19Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Feb-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

gProximity

The gProximity module provides the ability to display a view in the form of a Google map by adding various fields to the map, with at least a Latitude field and Longitude field, any collection of content can be viewed.

The gProximity map also provides the ability to enter an address and the closest locations to the address will be listed next to the map.

Required Modules

Code sponsored by It Is Written.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Hotspot captive portal

The CoovaChilli Hotspot modules provides integration between Drupal and CoovaChilli, an open-source access controller (based on ChilliSpot). With CoovaChilli configured to use this module within your Drupal site, your portal becomes the captive portal of your wireless (or wired) network.

http://coova.org/wiki/index.php/CoovaChilli

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-26Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

IP to Country

A simple APIs for retrieving country information such as country code, country name, flag, network name, and autonomous system number by given IP address. This module is able to use for displaying additional information of IP address instead of just plain IP to help optimize content for readers.

This 'work' uses the IP-to-Country Database
provided by WebHosting.Info (http://www.webhosting.info),
available from http://ip-to-country.webhosting.info.

VersionDateLinksStatus
5.x-1.02007-Mar-07Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.02007-Mar-07Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

IP2Nation API

This IP2Nation module provides API to access ip2nation (http://www.ip2nation.com/) database in Drupal. With this module you can easily display visitor’s country flag and name. This module originaly developed by Leon.

VersionDateLinksStatus
5.x-1.02008-Apr-23Recommended for 5.xThis is currently the recommended release for 5.x.

KML module

The KML module allows people to access spatially enabled information in Drupal through the Google Earth interface (requires location.module for storing coordinates).

VersionDateLinksStatus
5.x-1.x-dev2007-Nov-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Mar-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Letters

This module allows users to write a letter to newspaper editors. It will allow users to enter a zip code and a search radius and will then display a dropdown list of available newspapers and a letter submission form.

This module depends on the Location module to enable zipcode-based searches of available newspapers. Be sure that you have enabled the Location module and installed the zipcode data packaged with it.

There is now a GUI in the letters module for adding/editing/deleting individual newspapers, however you can also do bulk inserts using the following SQL code for each paper.

INSERT INTO letters_newspapers (title,address,city,state,zip,phone,fax,email,homepage,statewide) VALUES ('Example Newspaper','1 Nonexistant St, NW','Washington','DC','20005','202-555-5555','202-555-5555','editor@example.com','http://www.example.com','0');

The last value should be '1' if you want the newspaper to show up in all searches regardless of the zip code (useful for a major regional paper in a smaller or less populous state.

This module will now integrate with CRMAPI.

VersionDateLinksStatus
5.x-1.12008-Apr-30Recommended for 5.xThis is currently the recommended release for 5.x.

location (API, module)

Let your users set their address or tag your content to a physical snail mail location and integrate it to a mapping solution!

Until further notice, do NOT use HEAD on a production site, we are doing active development on it! (Mar 6 2008)
We're serious, just DON'T.

There is no supported release of location at the moment. Please stay on what you are on. If you *must* do a new install, just use the 5.x-1.x-dev snapshot. (It's misnamed, it's actually the 2.x branch, and is probabaly the least buggy choice at the moment.)

We are now working on Location 3! Stay tuned!

VersionDateLinksStatus
5.x-1.x-dev2007-Oct-31Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Location Hierarchy

Hierarchy allows administrators to create a dynamically created taxonomy hierarchy for locations. It links the terms into a structure that looks like this:
Country
--State
----City -> node
Administrators are allowed to run this for any content type. An example would be using it for the user node type. What this does is if a user has a location, anytime they update their city, state, country, the hierarchy module will create/delete/update hierarchical taxonomy term based on that data. It will then link the city to the node being edited.

This module is useful if you want to allow users to browse for other users (or any content type for that matter) by location. For testing, I would suggest using the directory module.

VersionDateLinksStatus
5.x-1.x-dev2007-Aug-24Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Map api

MapAPI module is a helper module for the upcoming Map module. By itself, MapAPI doesn't do anything.

The motivation behind this module was to create a game that is powered by Drupal core. The first step in our work is to release flexible API that can allow us to build that game; MapAPI is part of it.

MapAPI allows you to create game maps based on coordinates. each map can contain arbitrary number of tiles and each tile can contain any number of content items.

MapAPI was designed to be very extendable by new modules that will be introduces for the game. New modules can introduce any new serialized content array indexes to be stored in the content table. the type of information stored in the table is non-important for the MapAPI, the important part is that it can store ANY information and pass it back to the parent module for processing.

TODO: add some code examples, etc

VersionDateLinksStatus
5.x-1.0-rc12007-Apr-30Recommended for 5.xThis is currently the recommended release for 5.x.

Map module

Map module provides 3 main components:

  • A new node type "map". Each map is basically a google map.
  • A tinymce plugin with a map selector.
  • A filter so you can insert the created map in your nodes.

Developed by OpenCraft.

VersionDateLinksStatus
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Mapbuilder

The Mapbuilder module integrates the Community Mapbuilder web mapping client with Drupal.

It adds the Mapbuilder context (mapcontext) and configuration (mapconfig) as content types and can produce the corresponding xml output to be used as input to a Mapbuilder client.
A filter is added for showing Mapbuilder clients (i.e. maps) inline.

Most developments are being done on the 5.x version of this module. Differences in functionality between the releases:
* support for xml schema for mapbuilder context: ViewContext or OWSContext
* support for blocks to present an overview map, legend, scalebar, and feature info; these blocks are shown for maps that are specified as e.g. <map config="mapbuilder/config/nid" blocks="overview,scalebar"/>.

At present, PHP 5 is required to use this module. PHP4 support is now experimental in the 5.x version of this module. PHP must support curl and dom/xml functions.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Feb-17Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Mapping kit

The Mapping kit is a collection of modules to support custom mapping. A demo can be seen at http://aardbodem.nl/node/3.

  • An Inline maps filter is defined to mix maps with other content.
  • By default, it uses the OpenLayers library to display maps.
  • Editing of (UMN Mapserver) map files is supported but still in a very limited way.
  • Google Maps and Virtual Earth can be used as baselayers.

A development release is available so not to be used in a production site. Note that most development is done using Drupal on PostgreSQL/PostGIS.

Keywords: geodata, mapserver, openlayers, postgis, postgresql, wms.

VersionDateLinksStatus
6.x-1.x-dev2008-May-05Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.