SlideShare une entreprise Scribd logo
1  sur  24
GAIA RESOURCES


                                                  Waminals
                Species Databases, Mungeing, Maps and Drupal

                                                 Kehan Harman
                                                 Gaia Resources
                                           Andrew Rowe, Morgan Strong
                                            Western Australian Museum

Presented at Drupal WA Meetup, 2/10/2012
OVERVIEW
●
    What do we have?
●
    What do we want?
●
    How do we get it?
WHAT DO WE HAVE?
 ●
     Collections
WHAT DO WE HAVE?
●
    Data(bases)
●
    Just like children
        Started out similar but grew up to be
         WHAT DO WE HAVE?
    ●


        totally different
WHAT DO WE HAVE?
●
    Consultants
●
    Curators
●
    Knowledge
WHAT DO WE WANT?
 ●
     Data Available          ●
                                 Be able to
     ●
         To the right            identify species
         people              ●
                                 Minimise
     ●
         Updated regularly       duplication of
 ●
     Maps                        effort
     ●
         Related Species
HOW DO WE GET IT?
 ●   Data exchange format
     ●   DarwinCore
         –   DublinCore for biology
     ●   Global Initialitves
 ●   Data Mungeing
     ●   Pentaho Data
         Integration
     ●   http://kettle.pentaho.com
Munge Munge Munge
●
    Google Refine?
●
    Pentaho
    ●
        Connect to SQL
        Server
    ●
        Transformations
    ●
        Validations
Munge Munge Munge
●
    Google Refine?
●
    Pentaho
    ●
        Connect to SQL
        Server
    ●
        Transformations
    ●
        Validations
HOW DO WE GET IT?
●   Drupal Modules
    ●   Core
        –   Fields
    ●   Contrib
        –   Drush, drush, drush
        –   Features
        –   Migrate
        –   Geofield
        –   Openlayers
        –   Views
        –   Rules
        –   Flag
        –   Display Suite
ID Tool
 ●
     Species Profiles in
     a node type
 ●
     Attribute field
     ●
         (hook_field_info)
         –   Field Name
         –   Field Value
Adding Value
 ●
     Collection is     ●
                           Curators check
     dynamic               identifications
 ●
     Identifications   ●
                           Correct where
     change                necessary
 ●
     Names change
Adding Value
 ●
     Node type for   ●
                         Geofield to store
     specimens           spatial data
 ●
     Taxonomy for        ●
                             http://drupal.org/
     names                   project/geofield
Migrations
 ●
     Base class to define
     a migration
     ●
         Run Pentaho
         –   exec();
         –   escapeshellcmd();
     ●
         Import Names
     ●
         Import Specimens
Migrations
●
    Dynamic Migration
    ●   Extend DynamicMigration
    ●   MigrationBase::registerMigration();
Migrations
 ●
     Gotchas                     ●
                                     Feeds?
     ●
         modulename.info             ●
                                         Migrate more
         –   files[]=my_custom           flexible vs
             _migration.inc          ●
                                         Store hash of
     ●
         Don't believe                   data
         everything you
         find in a
         database
         –   Eg Date Changed
OpenLayers
 ●
     Customisable map layers
     ●
         Google
     ●
         OpenStreetMap
     ●
         Mapbox
     ●
         http://drupal.org/project/
         openlayers
OpenLayers
 ●
     Map                        ●   Gotchas
     ●
         Center & Bounds            ●   Define a map per
                                        view
     ●
         Layers & Styles            ●   Expose view's output
         –   External Sources           in that map
         –   Data in the site   ●   Try MapBox & TileMill
     ●
         Behaviors                  ●   developmentseed
         –   Popup
         –   Geolocation
         –   Draw
●
    Views Hacks
●
    Flag
●
    Custom module
Conclusions
  Drupal ready for spatial data?   Yes
  Do I like the Migrate module?    Yes
  Do I like Pentaho?               Yes
  Did I have any trouble?
  What's my favourite module?      Features
                                   Or maybe drush
                                   Or maybe views

~$ drush fe waminals node:species_factsheet taxonomy:taxon_name 
   views_view:waminals* dependencies:openlayers
~$ git diff
~$ git commit
~$ git push
QUESTIONS?
 ●
     If you want to know more, please contact me
 ●
     Blog article coming
             kehan@gaiaresources.com.au
                           @kehan
                       ●
                           Web site:
               www.gaiaresources.com.au

Contenu connexe

Similaire à The Waminals Project

Deployments with rails
Deployments with railsDeployments with rails
Deployments with railsGourav Tiwari
 
Mr hadoop seedrocket
Mr hadoop seedrocketMr hadoop seedrocket
Mr hadoop seedrocketSeedRocket
 
Geospatial Options in Apache Spark
Geospatial Options in Apache SparkGeospatial Options in Apache Spark
Geospatial Options in Apache SparkDatabricks
 
Apache Spark Overview part1 (20161107)
Apache Spark Overview part1 (20161107)Apache Spark Overview part1 (20161107)
Apache Spark Overview part1 (20161107)Steve Min
 
GR8Conf 2011: Neo4j Plugin
GR8Conf 2011: Neo4j PluginGR8Conf 2011: Neo4j Plugin
GR8Conf 2011: Neo4j PluginGR8Conf
 
Drupal 7 and schema.org module
Drupal 7 and schema.org moduleDrupal 7 and schema.org module
Drupal 7 and schema.org modulescorlosquet
 
Emergent Distributed Data Storage
Emergent Distributed Data StorageEmergent Distributed Data Storage
Emergent Distributed Data Storagehybrid cloud
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012scorlosquet
 
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca..."ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...Blend Interactive
 
Drupal Contribution
Drupal ContributionDrupal Contribution
Drupal ContributionPeter Arato
 
Drupal Contributing
Drupal ContributingDrupal Contributing
Drupal ContributingPeter Arato
 
Introducing OpenStack for Beginners
Introducing OpenStack for Beginners Introducing OpenStack for Beginners
Introducing OpenStack for Beginners openstackindia
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingscorlosquet
 
Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012scorlosquet
 
Drupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP WebinarDrupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP Webinarscorlosquet
 
OSDC 2012 | Devops and Open Source by Kris Buyaert
OSDC 2012 | Devops and Open Source by Kris BuyaertOSDC 2012 | Devops and Open Source by Kris Buyaert
OSDC 2012 | Devops and Open Source by Kris BuyaertNETWAYS
 

Similaire à The Waminals Project (20)

Deployments with rails
Deployments with railsDeployments with rails
Deployments with rails
 
Mr hadoop seedrocket
Mr hadoop seedrocketMr hadoop seedrocket
Mr hadoop seedrocket
 
Geospatial Options in Apache Spark
Geospatial Options in Apache SparkGeospatial Options in Apache Spark
Geospatial Options in Apache Spark
 
Apache Spark Overview part1 (20161107)
Apache Spark Overview part1 (20161107)Apache Spark Overview part1 (20161107)
Apache Spark Overview part1 (20161107)
 
GR8Conf 2011: Neo4j Plugin
GR8Conf 2011: Neo4j PluginGR8Conf 2011: Neo4j Plugin
GR8Conf 2011: Neo4j Plugin
 
Grails and Neo4j
Grails and Neo4jGrails and Neo4j
Grails and Neo4j
 
Drupal 7 and schema.org module
Drupal 7 and schema.org moduleDrupal 7 and schema.org module
Drupal 7 and schema.org module
 
Emergent Distributed Data Storage
Emergent Distributed Data StorageEmergent Distributed Data Storage
Emergent Distributed Data Storage
 
DEVIEW 2013
DEVIEW 2013DEVIEW 2013
DEVIEW 2013
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
 
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca..."ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...
"ORMs – Entity Framework and NHibernate" - Bob Davidson, South Dakota Code Ca...
 
Drupal Contribution
Drupal ContributionDrupal Contribution
Drupal Contribution
 
Drupal Contributing
Drupal ContributingDrupal Contributing
Drupal Contributing
 
Introducing OpenStack for Beginners
Introducing OpenStack for Beginners Introducing OpenStack for Beginners
Introducing OpenStack for Beginners
 
Hadoop-2.6.0 Slides
Hadoop-2.6.0 SlidesHadoop-2.6.0 Slides
Hadoop-2.6.0 Slides
 
Drupal 101
Drupal 101Drupal 101
Drupal 101
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers training
 
Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012
 
Drupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP WebinarDrupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP Webinar
 
OSDC 2012 | Devops and Open Source by Kris Buyaert
OSDC 2012 | Devops and Open Source by Kris BuyaertOSDC 2012 | Devops and Open Source by Kris Buyaert
OSDC 2012 | Devops and Open Source by Kris Buyaert
 

Plus de Kehan Harman

Vocabularies - Managing Them
Vocabularies - Managing ThemVocabularies - Managing Them
Vocabularies - Managing ThemKehan Harman
 
A Matrix Based Character Editor For Scratchpads
A Matrix Based Character Editor For ScratchpadsA Matrix Based Character Editor For Scratchpads
A Matrix Based Character Editor For ScratchpadsKehan Harman
 
From Floras to Interactive Keys
From Floras to Interactive KeysFrom Floras to Interactive Keys
From Floras to Interactive KeysKehan Harman
 
The numbers of characters in interactive keys - Two Case Studies
The numbers of characters in interactive keys - Two Case StudiesThe numbers of characters in interactive keys - Two Case Studies
The numbers of characters in interactive keys - Two Case StudiesKehan Harman
 
Sharing information between projects
Sharing information between projectsSharing information between projects
Sharing information between projectsKehan Harman
 
An Interactive Key to the Genus Galanthus L.
An Interactive Key to the Genus Galanthus L.An Interactive Key to the Genus Galanthus L.
An Interactive Key to the Genus Galanthus L.Kehan Harman
 
A Comparison of Interactive Key Software
A Comparison of Interactive Key SoftwareA Comparison of Interactive Key Software
A Comparison of Interactive Key SoftwareKehan Harman
 
Recent developments in the Kew Grasses Databases
Recent developments in the Kew Grasses DatabasesRecent developments in the Kew Grasses Databases
Recent developments in the Kew Grasses DatabasesKehan Harman
 

Plus de Kehan Harman (9)

Vocabularies - Managing Them
Vocabularies - Managing ThemVocabularies - Managing Them
Vocabularies - Managing Them
 
A Matrix Based Character Editor For Scratchpads
A Matrix Based Character Editor For ScratchpadsA Matrix Based Character Editor For Scratchpads
A Matrix Based Character Editor For Scratchpads
 
From Floras to Interactive Keys
From Floras to Interactive KeysFrom Floras to Interactive Keys
From Floras to Interactive Keys
 
The numbers of characters in interactive keys - Two Case Studies
The numbers of characters in interactive keys - Two Case StudiesThe numbers of characters in interactive keys - Two Case Studies
The numbers of characters in interactive keys - Two Case Studies
 
Sharing information between projects
Sharing information between projectsSharing information between projects
Sharing information between projects
 
The CATE Project
The CATE ProjectThe CATE Project
The CATE Project
 
An Interactive Key to the Genus Galanthus L.
An Interactive Key to the Genus Galanthus L.An Interactive Key to the Genus Galanthus L.
An Interactive Key to the Genus Galanthus L.
 
A Comparison of Interactive Key Software
A Comparison of Interactive Key SoftwareA Comparison of Interactive Key Software
A Comparison of Interactive Key Software
 
Recent developments in the Kew Grasses Databases
Recent developments in the Kew Grasses DatabasesRecent developments in the Kew Grasses Databases
Recent developments in the Kew Grasses Databases
 

Dernier

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Dernier (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

The Waminals Project

  • 1. GAIA RESOURCES Waminals Species Databases, Mungeing, Maps and Drupal Kehan Harman Gaia Resources Andrew Rowe, Morgan Strong Western Australian Museum Presented at Drupal WA Meetup, 2/10/2012
  • 2. OVERVIEW ● What do we have? ● What do we want? ● How do we get it?
  • 3. WHAT DO WE HAVE? ● Collections
  • 4. WHAT DO WE HAVE? ● Data(bases)
  • 5. Just like children Started out similar but grew up to be WHAT DO WE HAVE? ● totally different
  • 6. WHAT DO WE HAVE? ● Consultants ● Curators ● Knowledge
  • 7. WHAT DO WE WANT? ● Data Available ● Be able to ● To the right identify species people ● Minimise ● Updated regularly duplication of ● Maps effort ● Related Species
  • 8. HOW DO WE GET IT? ● Data exchange format ● DarwinCore – DublinCore for biology ● Global Initialitves ● Data Mungeing ● Pentaho Data Integration ● http://kettle.pentaho.com
  • 9. Munge Munge Munge ● Google Refine? ● Pentaho ● Connect to SQL Server ● Transformations ● Validations
  • 10. Munge Munge Munge ● Google Refine? ● Pentaho ● Connect to SQL Server ● Transformations ● Validations
  • 11. HOW DO WE GET IT? ● Drupal Modules ● Core – Fields ● Contrib – Drush, drush, drush – Features – Migrate – Geofield – Openlayers – Views – Rules – Flag – Display Suite
  • 12. ID Tool ● Species Profiles in a node type ● Attribute field ● (hook_field_info) – Field Name – Field Value
  • 13. Adding Value ● Collection is ● Curators check dynamic identifications ● Identifications ● Correct where change necessary ● Names change
  • 14. Adding Value ● Node type for ● Geofield to store specimens spatial data ● Taxonomy for ● http://drupal.org/ names project/geofield
  • 15. Migrations ● Base class to define a migration ● Run Pentaho – exec(); – escapeshellcmd(); ● Import Names ● Import Specimens
  • 16. Migrations ● Dynamic Migration ● Extend DynamicMigration ● MigrationBase::registerMigration();
  • 17. Migrations ● Gotchas ● Feeds? ● modulename.info ● Migrate more – files[]=my_custom flexible vs _migration.inc ● Store hash of ● Don't believe data everything you find in a database – Eg Date Changed
  • 18. OpenLayers ● Customisable map layers ● Google ● OpenStreetMap ● Mapbox ● http://drupal.org/project/ openlayers
  • 19. OpenLayers ● Map ● Gotchas ● Center & Bounds ● Define a map per view ● Layers & Styles ● Expose view's output – External Sources in that map – Data in the site ● Try MapBox & TileMill ● Behaviors ● developmentseed – Popup – Geolocation – Draw
  • 20.
  • 21.
  • 22. Views Hacks ● Flag ● Custom module
  • 23. Conclusions Drupal ready for spatial data? Yes Do I like the Migrate module? Yes Do I like Pentaho? Yes Did I have any trouble? What's my favourite module? Features Or maybe drush Or maybe views ~$ drush fe waminals node:species_factsheet taxonomy:taxon_name  views_view:waminals* dependencies:openlayers ~$ git diff ~$ git commit ~$ git push
  • 24. QUESTIONS? ● If you want to know more, please contact me ● Blog article coming kehan@gaiaresources.com.au @kehan ● Web site: www.gaiaresources.com.au