SlideShare a Scribd company logo
Drupal
and the
Geospatial Web

Jeff Miccolis @miccolis
Development Seed

Andrew Turner @ajturner
FortiusOne - GeoCommons
Jeff Miccolis
@miccolis
Development Seed


Andrew Turner
@ajturner
FortiusOne - GeoCommons
Drupal...

@miccolis




            photourl
Why maps?
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Drupal
CMS


           Gmap module
Module


            Google maps
Display


          Google‘s mapdata
Data
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Drupal
CMS


          Custom module
Module


          Custom php script
Display


          Young’s drawing
Data
Drupal and the GeoSpatial Web
Drupal
CMS


               Custom
Module


               mapnik
Display


          Map data somebody
Data
                had...
mapnik?

• “Mapnik is a Free Toolkit for developing
  mapping applications. Above all Mapnik is
  about making beautiful maps. “
• http://mapnik.org/
Drupal and the GeoSpatial Web
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
http://en.wikipedia.org/wiki/File:Map_of_USA_VA.svg
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
http://www.flickr.com/photos/vonbergendotnet/2496411369/
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Drupal
CMS


                 ?
Module


             Cloudmade
Display


          Open Street Maps
Data
We’ve got problems.

• Language
• History
• Usage
• Privacy
• Look
We’ve got options.

• CMS
• Modules
• Display
• Data
kidding :)
We’ve got options.

• CMS
• Modules
• Display
• Data
Drupal
CMS


           Gmap module
Module


            Google maps
Display


          Google’s mapdata
Data
Drupal
CMS


          Mapstraction module
Module


              Google maps
Display


           Google’s mapdata
Data
mapstraction?
• “Mapstraction is a library that provides a
  common API for various javascript mapping
  APIs to enable switching from one to
  another as smoothly as possible.”
• Support for eleven mapping providers.
• http://www.mapstraction.com/
• http://drupal.org/project/mapstraction
Drupal and the GeoSpatial Web
We’ve got options.

• CMS
• Modules
• Display
• Data
Drupal
CMS


          Mapstraction module
Module


               Cloudmade
Display


           Open Street Maps
Data
Drupal
CMS


          Mapstraction module
Module


               Free Earth
Display


            Satellite imagery
Data
Drupal and the GeoSpatial Web
Drupal
CMS


          Mapstraction module
Module


               Free Earth
Display


            Satellite imagery
Data
Drupal
CMS


          Nice map module
Module


               NASA
Display


          Satellite imagery
Data
Nice map?


• “Nice Map is a WMS client for Drupal.”
• http://drupal.org/project/nicemap
WMS?

• “An Open Geospatial Consortium Web
  Map Service (WMS) produces maps of
  spatially referenced data dynamically from
  geographic information.”
• http://www.opengeospatial.org/
Drupal and the GeoSpatial Web
We’ve got options.

• CMS
• Modules
• Display
• Data
Drupal
CMS


            Nice map module
Module


                 Mapnik
Display


Data      Whatever I can get my
               hands on!
Drupal and the GeoSpatial Web
We’ve got options.

• CMS
• Modules
• Display
• Data
Was he really kidding
  about Drupal?
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
cut to Andrew...
...and the Geospatial Web

@ajturner




                            photourl
What is this Geospatial Web?
The Web
The Drupal Web   http://www.aharef.info
The Geospatial Web
unread POI’s 1000+
Life Digitized
OK - so how is the Geospatial Web different?
Formats




          http://flickr.com/photos/wolfsoul/1352149315
Create
  Exif   GeoRSS      KML        GPX    Geocoding




                  Publish
GeoRSS    KML         Microformats    MachineTags



                Aggregate
 GML     KML       GeoRSS       WFS    GeoJSON



                  Consume
!



Standards Organizations
NOAA WMS
http://www.ngdc.noaa.gov/eog/maps/cgi-bin/public/ms/
poster?LAYERS=nighttime_lights_f152003
&SERVICE=WMS&VERSION=1.1.1
&REQUEST=GetMap
&STYLES=&EXCEPTIONS=application
%2Fvnd.ogc.se_inimage
&FORMAT=image%2Fjpeg
&SRS=EPSG%3A4326
&BBOX=53.81333333,-90.000,170.7208,26.906666&WIDT
H=256&HEIGHT=256




              WMS Request
Where’s my vector data?




                          http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
http://giswebservices.massgis.state.ma.us/geoserver/wfs?
request=getfeature&version=1.0.0&service=wfs&propertyna
me=TOWN,POP2000&typename=massgis:GISDATA.TOWN
S_POLYM&filter=%3CFilter+xmlns=%22http://
www.opengis.net/ogc%22%3E%3CPropertyIsGreaterThan
%3E%3CPropertyName%3EPOP2000%3C/PropertyName
%3E%3CLiteral%3E100000%3C/Literal%3E%3C/
PropertyIsGreaterThan%3E%3C/Filter%3E




                WFS Request
<?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?>
<wfs:FeatureCollection xmlns:wfs=quot;http://www.opengis.net/wfsquot; xmlns:gml=quot;http://www.opengis.net/gmlquot;
    xmlns:massgis=quot;http://massgis.state.ma.us/featuretypequot;
    xmlns:xsi=quot;http://www.w3.org/2001/XMLSchema-instancequot;
    xsi:schemaLocation=quot;http://massgis.state.ma.us/featuretype http://giswebservices.massgis.state.ma.us/
geoserver/wfs/DescribeFeatureType?typeName=massgis:GISDATA.TOWNS_POLYM http://www.opengis.net/wfs http://
giswebservices.massgis.state.ma.us/geoserver/schemas/wfs/1.0.0/WFS-basic.xsdquot;>
    <gml:boundedBy>
        <gml:Box srsName=quot;http://www.opengis.net/gml/srs/epsg.xml#26986quot;>
            <gml:coordinates xmlns:gml=quot;http://www.opengis.net/gmlquot; decimal=quot;.quot; cs=quot;,quot; ts=quot; quot;
                >107210.18360951201,868673.000913621
            252005.57369636302,935123.120655508</gml:coordinates>
        </gml:Box>
    </gml:boundedBy>
</wfs:FeatureCollection>




             WFS GML Response
Does it really have to be that hard?




                            http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
GeoRSS   http://georss.org
+




GeoRSS   http://georss.org
<georss:point>
  +      45.256 -71.92
      </georss:point>




GeoRSS          http://georss.org
USGS   http://earthquake.usgs.gov/eqcenter/catalogs/
FriendFeed
KML
http://code.google.com/apis/kml/
documentation/kmlreference.html




                                   photourl
Drupal and the GeoSpatial Web
{ quot;typequot;: quot;Pointquot;, quot;coordinatesquot;: [100.0, 0.0] }




               GeoJSON
•   FeedAPI

•   KML Module

•   GeoRSS Module

•   NiceMap (WMS)

•   Atom




              Drupal Modules   FeedAPI
But how do I query data?




                           http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
OpenSearch
http://example.com/search
?keyword={searchTerms}
&limit={count?}
&page={startPage?}


                          required
                         optional?

   OpenSearch Template
http://geo.example.com/search.atom?
  keyword={searchTerms}
  &location={geo:locationString?}
  &lat={geo:lat?}&lon={geo:lon?}&distance={geo:radius?}
  &bbox={geo:box?}




           OpenSearch-Geo
Where is the GeoREST?




                        http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
KML + GeoRSS+HTML   http://highearthorbit.com/a-proposal-georss-kml
AtomPub-Geo
Create
  Exif   GeoRSS      KML        GPX    Geocoding




                  Publish
GeoRSS    KML         Microformats    MachineTags



                Aggregate
 GML     KML       GeoRSS       WFS    GeoJSON



                  Consume
Data




       http://flickr.com/photos/beija-flor/1217587004
Flickr Export
Google Picasa + Panoramio
GeoWeb2.0
What else is there besides blog posts?
Real-Time Data
User-Generated Content   http://nowpublic.com/tag/
                         DrupalCon/scan
Local Governments   http://data.octo.dc.gov
National Governments   http://www.recovery.gov/
Inter-Government   http://inspire.jrc.ec.europa.eu/
Global NGO   http://ungiwg.org
Registries   http://geonetwork.org
Repositories
                 http://geocommons.com
& Aggregators
But I’m already using GoogleMaps.
GoogleMaps   http://maps.google.com
Design
Usability
Data Ownership and
           Access
Data Ownership and
           Access
Data Coverage and
           Quality
Data Coverage and
           Quality
Drupal and the GeoSpatial Web
OpenStreetMap   http://openstreetmap.org
OSM in Flickr
OpenAerialMap   http://openaerialmap.org
ODbL    http://www.opendatacommons.org/
Open Database License
Community




        http://flickr.com/photos/wwworks/1384952210
http://flickr.com/photos/x180/2494170626/




“Geowankers”   yes, you heard me correctly
OSGeo   http://osgeo.org
OpenStreetMap   http://openstreetmap.org
Mapping Parties
Mappers Anonymous
Exponential Growth   http://wiki.openstreetmap.org/wiki/Stats
#osgeo
Geo-Web-Rest
                                                    #mapnik
http://groups.google.com/group/
geo-web-rest
                                                    #osm
GeoRSS
                                                    #openlayers
http://georss.org
                                                    #et al.
GeoJSON
http://geojson.org
geowanking
http://lists.burri.to/mailman/listinfo/geowanking




               Geo Communities
And why is this
important to me?




        http://flickr.com/photos/seandreilinger/2326448445
Apps for Democracy
A Drupal Example
KML




A Drupal Example
GeoRSS




              KML




A Drupal Example
WMS


     GeoRSS




              KML




A Drupal Example
WMS


     GeoRSS




              KML




A Drupal Example
WMS


     GeoRSS




              KML




A Drupal Example
WMS


GeoRSS




         KML




         A Drupal Example
A GeoWeb Example
A GeoWeb Example
Drupal
and the
Geospatial Web

Jeff Miccolis - @miccolis
Development Seed

Andrew Turner - @ajturner
FortiusOne - GeoCommons




slideshare.net/ajturner

More Related Content

Drupal and the GeoSpatial Web