Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download geofield-7.x-2.0.tar.gztar.gz
54.85 KB
MD5: d23142ffd9f2b0b7db9304e5cc38e529
SHA-1: e04b4e5f6fe010afc6539f977d2688ed8f4bd3f9
SHA-256: 4f76d583bc8d44def8d9d6e74755f068084b2f7bd83418d3444c4bf9d2a62ced
Download geofield-7.x-2.0.zipzip
76.79 KB
MD5: be270d729af90f999d6aa9e76f155c41
SHA-1: 2b3cbf4f2021fc3e275782a1bbfc5c05173ab0bd
SHA-256: d88d7783c1cb4d08ab1f59b5088c4d2179797f40116a0b4af9a5809b285ebb71
Release notes
New Features since 1.2
- Pluggable Backend Architecture: Data storage can work natively with Postgres/PostGIS databases via a plugin. Ships with a default storage mechanism that is suitable for any Drupal-supported database, without any db-enhancements.
- An example of a PostGIS-enabled plugin for Geofield can be found at https://github.com/phayes/geofield_postgis.
- Native FormAPI elements
- Lat/Lon: : Provides 2 textfield elements for latitude/longitude selection. Optional HTML5 Geolocation capabilities.
- Bounding Box: Provides 4 textfield elements to define top/bottom/left/right bounds for a geometry.
- Proximity: Provides a way to input proximity queries, which in this case is defined as [x] [units of measure] from [location]. See Views proximity handler plugins for example usage.
- Views-powered Proximity Queries
- Unit tests!
Developer notes from 1.x to 2.x
- 'wkt' column now 'geom.' Data is now stored as WKB by default. We convert to WKB on load to help with DX.
Outside commits since 7.x-2.0-beta1
[#2019231] - Failed opening required geofield.widgets.openlayers.inc error (Thanks @cameronbprince!)
[#2037491] - Store a reference to the map object so other code can control it (Thanks @deviantintegral!)
[#2038433] - Updating and improving our apachesolr support. Thanks to @Mac_Weber!
[#1780632] - Fix searchapi integration when dealing with empty values (Thanks @randallknutson!)
[#2050291] - Help text now supports markup (Thanks @amuhebwa!)