WHERE IT’S AT WHERE IT’S AT
Location and Mapping in Drupal:
Martin Anderson-Clutz Digital Echidna
WHERE ITS AT WHERE ITS AT Martin Anderson-Clutz Digital Echidna - - PowerPoint PPT Presentation
Location and Mapping in Drupal: WHERE ITS AT WHERE ITS AT Martin Anderson-Clutz Digital Echidna What This Presentation IS A primer on mapping and location for websites A comparative look at Drupal solutions An outgrowth of my
Location and Mapping in Drupal:
Martin Anderson-Clutz Digital Echidna
building a location and mapping site
– YMMV
– Feedback is welcome!
available
– Chime in if you have a favourite that isn’t mentioned!
– Visualizing location data, often with known landmarks for reference
– Enriching the description of a location with geographic coordinates
Let’s look at some
Yahoo, MapQuest, etc.
– Customizability – License restrictions
MapQuest, etc.
– Limits – Speed – Uptime – Able to store results
map site with embed function)
Drupal (body text, block, bean, etc.)
necessary tags
– Simple setup – No API key required
– Update requires redo on external site – Allowing editor update may require allowing broader access on rest of site – Doesn’t scale
single-result Google Maps search
address
– Simple to implement – Simple to update – No API key required
– No option to manually tweak location or map – Potential for bad (even erroneous) input – Only show one location
– Simple to implement – Simple to update – No API key required – Option to manually tweak location or map
– Only show one location
geocoding
– Submodules provide additional data points and integrations
– May be possible to use Get Locations Map instead
– Proximity search is baked in – Views integration
– Limited options for geocoding and mapping – Was late to game with D7, no releases yet for D8 – Fatal error in Location geocoding config. Raised two years ago, no resolution – Non-standard way of managing attachment to content types
method for storing coordinates and related data
input and maps by Google
complete rewrite
– Powerful – Simple setup – Use with all fieldable entities – Sweet HTML5/Google Places input – D8 ready-ish
– Current integrations tied to Google – Map input doesn’t allow for storage and display of address
etc.
via Google or OpenStreetMaps
Geolocation, Location, Getdirections, Smart IP, Openlayers, Colourbox, more
name and will populate address
– Views support – Very active development – Loads of options for input, display – Populates address information
– No D8 releases yet – Works best with locations already in Google
solution
– Addressfield and Geocoder to interpret from natural language
– Openlayers is an amazing but complex toolkit
– Ability to customize virtually any part of the location handling and mapping – Seems to be the solution with the most momentum
– You’re about to find out how deep the rabbit hole goes – Some challenges in using different pieces to assemble a solution – No documentation yet for recommended version of OpenLayers (7.x-3.0-beta3)
159
Simple Google Map Simple Google Map Location Map Location Map Geolocation Geolocation Field Field Location Location Get Locations Get Locations GeoField GeoField D7 7.x-1.2 7.x-2.3 7.x-1.6 7.x-3.7 7.x-1.17 7.x-2.3 Released 2014-Jan-03 2014-May-24 2014-Nov-03 2015-Aug-04 2015-Oct-08 2014-Sep-21 D7 Users 26,954 13,355 12,394 47,755 9,099 39328 D8 8.x-1.x-dev 8.x-2.x-dev 8.x-1.4 n/a n/a 8.x-1.0-alpha1 Released 2015-Oct-11 2013-Sep-30 2014-Oct-12 2014-Oct-28 D8 Users 20 36 14 Dependencies Modules GMap Module (for map) Libraries Addressfield Libraries Services Google Google Google Views integration N Y Y Y Y Proximity N N Y Y Y Y Documentatio n N N N Y Y Y Submodules
Location, User Locations, Phone and Location Fax, Location Search, Location CCK, Location Generate, Location Add Another, Location Entity, Search API Location Taxonomy, Location Email Getlocations Search, Getlocations Block, Getlocations Location Taxonomize, Getlocations Map, Getlocations Leaflet, Getlocations Tools, Getlocations GPS Compatible Modules: Addressfield, OpenLayers, Static Map, Leafle, Leaflet Widget, Geocoder, Geocoder AutoComplete, Address Field, Sync PostGIS, Openlayers Apachesolr, Openlayers CCK Migrate, RSS Field Formatters, Views GeoJSON, Search API Location, Spatial Tools, Geofield PostGIS, Geofield Proximity Plugin
Simple Google Simple Google Map Map Location Map Location MapGeolocation Geolocation Field Field GMap GMap Get Locations Get Locations Leaflet Leaflet OpenLayers OpenLayers D7 7.x-1.2 7.x-2.3 7.x-1.6 7.x-2.10 7.x-1.17 7.x-1.3 7.x-3.0-beta3 Released 2014-Jan-03 2014-May-24 2014-Nov-03 2015-Sep-08 2015-Oct-08 2015-Oct-09 2015-Jun-25 D7 Users 26,006 13,477 12027 41,299 9,099 9.839 13,383 D8 n/a 8.x-2.x-dev 8.x-1.4 (2015- Oct-14) n/a n/a 8.x-1.x-dev n/a Released 2013-Sep-30 D8 Users 4 Dependencies Modules Libraries Geofield, Libraries, cTools and Entity Libraries Leaflet Services Google Google Google Views integration Y Y Proximity Y Y Documentatio n N Y Submodules
GMap Location, GMap Taxonomy, GMap Macro Builde Getlocations Search, Getlocations Block, Getlocations Location Taxonomize, Getlocations Map, Getlocations Leaflet, Getlocations Tools, Getlocations GPS OpenLayers UI, OpenLayers Views, OpenLayers Geofield, OpenLayers Examples, OpenLayers Bloc, OpenLayers Contextual Links, OpenLayers Services
Time to
mapquest/analysis/2015/02/23
2012/06/21
Martin Anderson-Clutz @mandclu martin@echidna.ca