location location location mapping with drupal
play

Location, Location, Location: Mapping with Drupal (Beginners - PowerPoint PPT Presentation

Location, Location, Location: Mapping with Drupal (Beginners Session) DrupalCon LA - 2015 Tim Erickson Colin A Foley Founding Partner Senior Developer Triplo Lehigh University @stpaultim @colinafoley tim@triplo.co


  1. Location, Location, Location: Mapping with Drupal (Beginners Session) DrupalCon LA - 2015 Tim Erickson Colin A Foley Founding Partner Senior Developer Triplo Lehigh University @stpaultim @colinafoley tim@triplo.co colin.a.foley@gmail.com Sunday, May 17, 15

  2. About Me: • Online Facilitator - Online Community E-Democracy.org (1997 - 2010) • Mr. Tai’s Restaurant (2010 - 2011) • Drupal Freelancer (2012 - 2014) • Triplo, Founding Partner (May 2014 - Present) Sunday, May 17, 15

  3. • Tim Erickson • Barry Madore • David Needham Build • Train • Mentor • Support • Community Sunday, May 17, 15

  4. I The Drupal Community! Sunday, May 17, 15

  5. Goals Site builders introduction to mapping with Drupal An introduction to the variety of mapping modules available Recipes for some common mapping applications Sunday, May 17, 15

  6. Back-story As a freelancer I was spending a lot of time working in coffee shops. Sunday, May 17, 15

  7. Back-story As a freelancer I was spending a lot of time working in coffee shops. Often had the need to schedule a meeting with someone and needed a good location. Sunday, May 17, 15

  8. Back-story I knew that there were some coffee shops with meeting rooms, but didn’t know how to find them. Sunday, May 17, 15

  9. I was looking for a site like this one... so, I decided to build it. Sunday, May 17, 15

  10. I wanted the ability to search for coffee shops by location, or proximity. Sunday, May 17, 15

  11. Or to filter by selected criteria and display on a map. Sunday, May 17, 15

  12. Location Map Options ??? OpenLayers Locator Geofield Sunday, May 17, 15

  13. Some mapping options: Simple modules w/ targeted functionality - Location Map Module Mapping modules to build flexible features - Addressfield - GeoField - GeoCoder - GeoPHP - GetLocations - IP Geolocation Views & Maps Javascript Libraries - Leaflet - Openlayers Sunday, May 17, 15

  14. Most basic option: Location Map Module https://drupal.org/project/locationmap Enter your information Sunday, May 17, 15

  15. Put the marker in the right spot on the map. Sunday, May 17, 15

  16. User goes to page and sees your location on map. Pop-up window shows more info. Sunday, May 17, 15

  17. Multiple items on a map (old way?): Location Module https://drupal.org/project/location GMap Module https://drupal.org/project/gmap Sunday, May 17, 15

  18. Location Module Provides Default “Location” Field Sunday, May 17, 15

  19. Use Gmap in Views to Display Information Sunday, May 17, 15

  20. View Using Location and GMap Sunday, May 17, 15

  21. Multiple items on a map (with proximity search): Addressfield Module https://drupal.org/project/addressfield Geofield Module https://drupal.org/project/geofield Geocoder Module https://drupal.org/project/geocoder GeoPHP Module https://drupal.org/project/geophp Sunday, May 17, 15

  22. Address Field module Store address data in the database. Has special formats to meet the special requirements of different countries. Sunday, May 17, 15

  23. Sunday, May 17, 15

  24. Geocoder module Takes address information and using third party services converts data into latitude and longitude. Sunday, May 17, 15

  25. Geofield module Once the address or location has been converted into latitude and longitude, the information is stored in a geofield. NOTE: Some of the other mapping modules come with their own built-in version of geofield. Sunday, May 17, 15

  26. geoPHP module This module does not provide any direct functionality to end-users or site-administrators. GeoPHP is a open-source native PHP library for doing geometry operations. It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information. Many other mapping modules require the geoPHP modules. Sunday, May 17, 15

  27. A Recipe For Mapping Coffee Shops Sunday, May 17, 15

  28. Set-up “Coffee Shop” content type: Sunday, May 17, 15

  29. Sunday, May 17, 15

  30. Sunday, May 17, 15

  31. Go to Manage Display to set up the display of the map. Sunday, May 17, 15

  32. Sunday, May 17, 15

  33. Sunday, May 17, 15

  34. Sunday, May 17, 15

  35. Over approximately 3 months, I worked and drank coffee in all of these locations. Sunday, May 17, 15

  36. Javascript Libraries: Leaflet Module https://drupal.org/project/leaflet OpenLayers Module https://drupal.org/project/openlayers General Mapping Tools - Additional Features: GetLocations https://drupal.org/project/getlocations IP Geolocation Views & Maps Module https://drupal.org/project/ip_geoloc Sunday, May 17, 15

  37. IP Geolocation Map and Views Module Provides access to additional mapping tools and widgets Takes the basic mapping tools and provides an easy way to tap into OpenLayers or Leaflet Javascript libraries. Sunday, May 17, 15

  38. Leaflet More Maps Sunday, May 17, 15

  39. ERSI National Geographic Sunday, May 17, 15

  40. ESRI World Topo Map Sunday, May 17, 15

  41. ERSI World Imagery Sunday, May 17, 15

  42. Thunderforest OpenCycleMap Sunday, May 17, 15

  43. Thunderforest Landscape Sunday, May 17, 15

  44. Stamen Watercolor Sunday, May 17, 15

  45. Stamen Toner Sunday, May 17, 15

  46. Openlayers Sunday, May 17, 15

  47. Openlayers - Polygons Sunday, May 17, 15

  48. Openlayers - Polygons Sunday, May 17, 15

  49. Openlayers - Polygons Sunday, May 17, 15

  50. Openlayers - Polygons Sunday, May 17, 15

  51. Openlayers - Polygons Sunday, May 17, 15

  52. Polygons - Use Case Sunday, May 17, 15

  53. A Few Resources: Drupal Groups - Location and Mapping https://groups.drupal.org/location-and-mapping Comparison of Mapping Modules https://www.drupal.org/node/1704948 Terms and Trends: DIY and Open Source Online Maps http://thinkshout.com/blog/2012/01/sean/terms-and-trends-diy-and-open- source-online-maps/ Geospatial Modules Assessment (Aug. 2013) https://groups.drupal.org/node/89769 Sunday, May 17, 15

  54. Juggling June 25th - 28th Sunday, May 17, 15

  55. Open Layers Examples: •http://memories.lehigh.edu •http://marcellex.lehigh.edu Sunday, May 17, 15

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend