Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Community Information Systems with Drupal and Open Layers

5,950 views

Published on

Friday 23 October 2009 presentation at FOSS4G (Free and Open Spatial for Geospatial) Conference in Sydney Australia.

Describes Geomemes work building Community Information Systems for indigenous groups in BC Canada using the Drupal CMS and Open Layers javascript library. Also binds to PostGIS.

Published in: Technology
  • Be the first to comment

Building Community Information Systems with Drupal and Open Layers

  1. 1. Building community information systems with Drupal and Open LayersFOSS4G – Sydney Australia<br />Charles Burnett & Patrick Hayes<br />Geomemes Research Inc<br />Victoria BC Canada<br />1<br />54° 20&apos; 13.72&quot; N 130° 26&apos; 36.93&quot; W<br />Metlakatla First Nation Village, Prince Rupert, Canada<br />http://www.panoramio.com/photo/17998472<br />
  2. 2. 2<br />FOSS4G4IC&lt;-&gt;GOV<br />All exchanges are contextualized by the cultures that are party to the exchange.<br />“Prototypes of New Understanding” - Brian Jungen (Swiss/Dunne-za), Vancouver, Canada<br />
  3. 3. Wawa of the BC Context<br />3<br />Wawa = Chinook Jargon: Kloshe Konaway!, Skookum<br />INAC: Indian Act 1876, Federal responsibility<br />Reserves: post gold rush, traders to settlers <br />First Nation: Indigenous political unit (~203 in BC)<br />Treaty: BC has a Treaty Commission, some FNs “in treaty”, 2 modern signed, Land/$$/Co-management<br />Land Claims: negotiate through the courts<br />“Duty to Consult” and Accomodation<br />Referrals: BC Gov system for doing consultation<br />TUS/TEK: Traditional Use Study, -Ecologial Knowledge<br />EBM: Ecosystem Based Management<br />
  4. 4. 4<br />Band Chief Councilor: <br />“I need CED (“referrals”) reports with summary, maps, analysis, communications highlights.”<br />School Teacher: <br />“I need access to the maps and multimedia files to teach our culture.”<br />Referrals Manager: <br />“I need to track staff time spent on consultation.”<br />Fisheries Officer: <br />“I need a (spatialized) system to record environmental data.”<br />Teeenager: <br />“I want to access to some community data, calendars, blogs, job lists and our elections info.”<br />Cultural Expert: <br />“I need a better way of doing interviews and for digitizing our TUS/TEK/Arch data.”<br />GIS techniciam: <br />“I’m swamped and need help wit hdata entry, but we have no $$ for training.”<br />CED Staffer: <br />“I need a better way to track consultation. Paper copies suck!”<br />54° 20&apos; 13.72&quot; N 130° 26&apos; 36.93&quot; W<br />Metlakatla First Nation Village, Prince Rupert, Canada<br />
  5. 5. 5<br />To change the rules, change the tools<br />Lee Felsenstein (1945-), computer engineer<br />
  6. 6. CIS: One Basket, Many Views<br />Cultural / Language <br />Revitalization<br />Spatial Data<br /> Storage & Viewing<br />Community Building / Governance<br />Drupal + PostGIS<br />FN Data<br />Basket<br />Economic Development & Consultation<br />(including Referrals Tracking)<br />6<br />
  7. 7. Start with a GIS? Or a CMS?<br />7<br />Start with a Mapping Application, add CMS-ness<br />Add tools to add/edit/manage non-geographic information, incl. multimedia <br />Add tools to manage roles/access/views/communications/...<br />+ Use Scripting to generate reports<br />Start with Content Management System (CMS)<br />Add tools to interactively enter and display geographic information<br />Add tools to link CMS with spatial databases<br />+ Use Scripting to generate reports<br />
  8. 8. Content Management System<br />8<br />A content management system (CMS) is a computer application used to manage work flow needed to collaboratively create, edit, review, index, search, publish and archive various kinds of digital media and electronic text.<br />Modular: Core (user management, security) <br />Contributed Modules(1000s of modules to at data types and funtionality)<br />E.g. Drupal Open Layers, Geo<br />
  9. 9. 9<br />
  10. 10. Like Many Others... ...Drupal<br />10<br /><ul><li>Ubuntu, Canonical
  11. 11. Die Zeit
  12. 12. Die Welt
  13. 13. CNN
  14. 14. Amnesty </li></ul> International<br /><ul><li>Greenpeace
  15. 15. NASA
  16. 16. NATO
  17. 17. The United Nations
  18. 18. IBM
  19. 19. Popular Science
  20. 20. Fast Company
  21. 21. America Online
  22. 22. Sun Microsystems
  23. 23. Novell
  24. 24. Yahoo!
  25. 25. Harvard University
  26. 26. Many, many other</li></ul> universities<br /><ul><li>Fedex
  27. 27. Nike
  28. 28. Forbes
  29. 29. Warner Bros
  30. 30. 20th Century Fox
  31. 31. MacWorld
  32. 32. Adobe
  33. 33. Java.net
  34. 34. RackSpace</li></li></ul><li>Spatial Data<br />Management <br />ESRI /<br /> Manifold /<br /> (Quantum)<br />Desktop<br />GIS<br />Drupal + MySQL <br />Database<br />Industry<br />Fills Out <br />Proposal<br />CED <br />(Referrals) <br />Manager<br />PostGIS<br />Database<br />(via ArcSDE <br />or ZigGIS)<br />Community <br />Member/<br />Teacher<br />ESRI/Oracle <br />Databases<br />11<br />
  35. 35. Drupal<br />12<br />
  36. 36. Drupal Open Layers (DOL)<br />13<br />Node Type<br /><ul><li> Field (CCK)
  37. 37. Spatial Field Widget (DOL)</li></ul>Views<br /><ul><li> Style (table, list, map)
  38. 38. Which “preset”?
  39. 39. Filters (which nodes?)
  40. 40. Arguements (e.g. URL)</li></ul>DOL+<br /><ul><li> Snippets
  41. 41. Data loaders</li></ul>Themes<br /><ul><li>Templates
  42. 42. PHP files & CSS files</li></ul>DOL<br /><ul><li>Create presets
  43. 43. Set proj, set base layers, set zoom, center, default style, overlay layers</li></ul>Blocks, Panels, Menus<br /><ul><li> Structure your layout
  44. 44. Build navigation</li></ul>http://geomemes.com/openlayers-screencast<br />
  45. 45. Drupal Open Layers: Capabilities<br />14<br />Create spatial nodes in Drupal (point/lines/polygon) – don’t need code to use the OL API<br />Can make complex maps, lots of layers<br />DOL API has “glue” to approximately 30% of OL library<br />One level up: Snippet – small code to create easy <br />People sharing Snippets<br />Upload shapefile (stored in MySQL Spatial or PostGIS), <br />Drupal doing the db abstraction<br />Point and click map building and styling<br />Styling Engine pretty powerful now<br />Dynamic styles (attributes in Drupal can be used to make styles)<br />E.g. Taxonomy image for icons, or cck field for line weight<br />
  46. 46. Drupal Open Layers: Next Steps<br />15<br />We have a solid API and a rapidly growing group of developers. Core Functionality (Drupal/OL glue) ready to be built upon... <br />DOL 2.0 is accepting new feature requests<br />http://drupal.org/project/openlayers<br />Add easier way to upload shapefiles<br />Expand to WMS/WFS... All data types in Open Layers<br />Integrate Drupal Chaos Tools module; allows custom bundles of snippets as a ‘feature’ -&gt; module<br />Improved Styling <br />
  47. 47. CIS: Community Health<br />16<br />
  48. 48. CIS: Language Revitalization<br />FNs = spoken language cultures<br />Drupal, Multimedia<br />Javascript links automatically seeded when a new “term” + MP3 added<br />...Localization!<br />...Cross-site API!<br />...+ Maps!<br />... education...<br />17<br />http://maps.fphlcc.ca/<br />
  49. 49. CIS: Advanced File Management<br />18<br />
  50. 50. ...DEMO<br />19<br />Gilakasla – Thank-you!<br />http://geomemes.com charles@geomemes.com<br />
  51. 51. Demo Functionality<br />20<br />Add individual TUS sites - (CCK, Related Fields, DOL)<br /> Add/modify many site nodes (Views)<br />Load Shapefile - (Table Wizard, Geo)<br />Show different features on the same map -(Views/Roles/Permissions)<br />Filter maps – (Faceted Search)<br />WMS/WFS – (DOL Snippets, API calls)<br />Links to desktop – (Geo, custom PHP)<br />Reporting – (DOL, Geo, PHP calls to PostGIS)<br />
  52. 52. Community Information System<br />21<br />
  53. 53. 1. Add Site<br />22<br />
  54. 54. 1. Add Site<br />23<br />
  55. 55. 1. Add Site<br />24<br />
  56. 56. 2. View Sites<br />25<br />
  57. 57. 3. Show diff. features on same map <br />26<br />Views/Roles/Permissions<br />
  58. 58. 4. View Sites, Filter by User<br />27<br />
  59. 59. 5. Basic map... ...WMS/WFS<br />28<br />
  60. 60. 5. Basic map... ...WMS/WFS...<br />29<br />
  61. 61. 5. Basic map... ...WMS/WFS...<br />30<br />
  62. 62. 5. Basic map... ...WMS/WFS...<br />31<br />
  63. 63. 5. Basic map... ...WMS/WFS...<br />32<br />
  64. 64. 6. Links to desktop<br />33<br />
  65. 65. 7. Report Generation<br />34<br />CIS... DOL, PHP, PostGIS, PDF module<br />

×