19
Mapping with Drupal* Leo Klein - April 3th, 2013 UIC IT Professionals Forum *Turning Dates Into Places with the UIC Admissions Recruitment Calendar

Mapping with Drupal

Embed Size (px)

DESCRIPTION

Presentation given at the 2013 UIC IT Professionals Forum. More info: http://itproforum.uic.edu/

Citation preview

Page 1: Mapping with Drupal

Mapping with Drupal*Leo Klein - April 3th, 2013

UIC IT Professionals Forum

*Turning Dates Into Places with the UIC Admissions Recruitment Calendar

Page 2: Mapping with Drupal

Surrounded by Dots - 1

Page 3: Mapping with Drupal

Surrounded by Dots - 2

Page 4: Mapping with Drupal

Background

- Academic & Enrollment Services- New Recruitment Calendar

Sure, no problem!

Leo, can you do this?

Page 5: Mapping with Drupal

Aiiiieeeeee!

Page 6: Mapping with Drupal

Fast Paced & Kinda Tricky

Palazzolo, Alan, and Thomas Turnbull. Mapping with Drupal. Sebastopol, Calif:

O'Reilly Media, [Jan.] 2012.

Geospatial Modules Assessmenthttp://groups.drupal.org/node/89769

"Recently, CloudMade released an open source JavaScript mapping library called Leaflet. It is simple and lightweight. There is also a new Leaflet module for Drupal that provides some basic integration between Drupal and Leaflet. It is something to keep an eye on." p 23

Page 7: Mapping with Drupal

What to Do?

Page 8: Mapping with Drupal

State of the DataGoogle Spreadsheet

Drupal Content Type

Page 9: Mapping with Drupal

Drupal : Out of the Box

Organize your data in sophisticated

interactive ways!

Your Best Friend: Views

Page 10: Mapping with Drupal

Drupal Mapping Options

Noobie: Trial by ErrorThrown one combination against the wall and see what sticks - over and over and over again...

Smart Set (a.k.a. 'works4me')Address (kinda, sorta, maybe not)GeocoderGeofieldLeaflet

Page 11: Mapping with Drupal

Workflow

Address (string)

Geocoder

Geofield

Page 12: Mapping with Drupal

What's an Address/Location?

You tell me:1. Pittsburgh2. 100093. Office of Academic & Enrollment Services

1200 West Harrison StreetChicago, Illinois 60607-7161

Addressfield Module ( http://drupal.org/project/addressfield )

Geocoder autocomplete ( http://drupal.org/project/geocoder_autocomplete )

Page 13: Mapping with Drupal

Geocoder & Geofield

Geocoder (lookup)*"Takes any bit of text from an address field or even a simple text-field, and runs it by a 'geocoding handler' (eg. Google, MapQuest) and returns map coordinates (e.g. LatLon, WKT)" ( Geolocation in Drupal )

Geo Data - Geofield● Latitude-Longitude (lat/long) 41.866743 / 87.646458● Well Known Text (WKT)● KML● GeoJSON

Page 14: Mapping with Drupal

Workflow - Repeat After Me...

Address (string)

Geocoder

Geofield

Page 15: Mapping with Drupal

Leaflet - Javascript Mapping Library

It works! There's documentation!- "Lightweight"- "HTML5"- "Mobile friendly"

Page 16: Mapping with Drupal

Finished Product

Page 17: Mapping with Drupal

Future Developments

Server-side! Server-side! Server-side!Server-side! Server-side! Server-side!

More Mobile Friendly (smaller size)

HTML5 Geolocation (i.e. user location)

Next Mapping Library on the Horizon ...

Page 18: Mapping with Drupal

LinksDrupal Group: Location and Mappinghttp://groups.drupal.org/location-and-mapping

Comparison of mapping moduleshttp://drupal.org/node/1704948

Leaflet Sitehttp://leafletjs.com/

Geographical data and maps (documentation)

http://drupal.org/node/241563

DrupalCon Sydney: State of the nation in mapping (helpful video)

http://sydney2013.drupal.org/state-nation-mapping

Checking in with Mapping in Drupal 7 (helpful video)

http://www.youtube.com/watch?v=imOJV49bbLM

Quick and easy D7 distro to evaluate Leaflet (Helpful post)

http://groups.drupal.org/node/251923

Page 19: Mapping with Drupal

Thank You

Leo Robert KleinWeb CoordinatorAcademic & Enrollment [email protected]

UIC IT ProfessionalsForum