/localgov_geo

Entity for storing Geographic information, addresses, and areas; extensible types and plugable backends with defaults to start.

Primary LanguagePHP

LocalGov Drupal: Geo

Provides a entity for storing, and reusing, geographic information.

Pre-configured to use openstreetmap tiles, and geocoder openstreetmap backend. The intention is that this can be exchanged for preferred services. More detail about gecoder options can be found on the Installing new Geocoders page

There are two default bundle types, address and area.

There is an overview of the bundles and reusing addresses on the wiki.

Ordnance Survey Places geocoder

This module provides a Drupal geocoder plugin for the Ordnance Survey Places PHP geocoder. This plugin is useful for geocoding and address lookup using the Ordnance Survey Places API which covers addresses in the UK. This plugin requires an API key. It is free for UK local authorities.

Good to know

  • Install the Ordnance Survey Places PHP geocoder to use this plugin as per the composer suggestion.
  • There is a known issue with Drupal geocoder plugins that they sometimes do not immediately appear in the Geocoder provider dropdown at /admin/config/system/geocoder/geocoder-provider. If this happens, restart PHP or the (virtual) machine hosting PHP and then review the dropdown.

Maintainers

Current maintainers: