Drupal and the GeoSpatial Web
-
Upload
andrew-turner -
Category
Technology
-
view
8.855 -
download
1
Transcript of Drupal and the GeoSpatial Web
Drupal and the Geospatial Web
Jeff Miccolis @miccolisDevelopment Seed
Andrew Turner @ajturnerFortiusOne - GeoCommons
Jeff Miccolis@miccolisDevelopment Seed
Andrew Turner@ajturnerFortiusOne - GeoCommons
photourl
Drupal...
@miccolis
Why maps?
Drupal
Gmap module
Google maps
CMS
Module
Display
Data Google‘s mapdata
Drupal
Custom module
Custom php script
Young’s drawing
CMS
Module
Display
Data
Drupal
Custom
Map data somebody had...
CMS
Module
Display
Data
mapnik
mapnik?
• “Mapnik is a Free Toolkit for developing mapping applications. Above all Mapnik is about making beautiful maps. “
• http://mapnik.org/
We’ve got problems.
• Language
• History
• Usage
• Privacy
• Look
We’ve got problems.
• Language
• History
• Usage
• Privacy
• Look
http://en.wikipedia.org/wiki/File:Map_of_USA_VA.svg
We’ve got problems.
• Language
• History
• Usage
• Privacy
• Look
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
?
Cloudmade
Open Street Maps
CMS
Module
Display
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
Gmap module
Google maps
Google’s mapdata
CMS
Module
Display
Data
Drupal
Mapstraction module
Google maps
Google’s mapdata
CMS
Module
Display
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
We’ve got options.
• CMS
• Modules
• Display
• Data
Drupal
Mapstraction module
Cloudmade
Open Street Maps
CMS
Module
Display
Data
Drupal
Mapstraction module
Free Earth
Satellite imagery
CMS
Module
Display
Data
Drupal
Mapstraction module
Free Earth
Satellite imagery
CMS
Module
Display
Data
Drupal
Nice map module
NASA
Satellite imagery
CMS
Module
Display
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/
We’ve got options.
• CMS
• Modules
• Display
• Data
Drupal
Nice map module
Mapnik
Whatever I can get my hands on!
CMS
Module
Display
Data
We’ve got options.
• CMS
• Modules
• Display
• Data
Was he really kidding about Drupal?
cut to Andrew...
photourl
...and the Geospatial Web
@ajturner
What is this Geospatial Web?
The Web
The Geospatial Web
unread POI’s 1000+
Life Digitized
OK - so how is the Geospatial Web different?
http://flickr.com/photos/wolfsoul/1352149315
Formats
Create
Publish
Aggregate
Consume
Exif GeoRSS KML GeocodingGPX
GeoRSS KML Microformats MachineTags
GML KML GeoRSS GeoJSONWFS
!
!
Standards Organizations
NOAA WMS
WMS Request
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&WIDTH=256&HEIGHT=256
Where’s my vector data?
http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
WFS Request
http://giswebservices.massgis.state.ma.us/geoserver/wfs?request=getfeature&version=1.0.0&service=wfs&propertyname=TOWN,POP2000&typename=massgis:GISDATA.TOWNS_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 GML Response
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:massgis="http://massgis.state.ma.us/featuretype" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="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.xsd"> <gml:boundedBy> <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#26986"> <gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" " >107210.18360951201,868673.000913621 252005.57369636302,935123.120655508</gml:coordinates> </gml:Box> </gml:boundedBy></wfs:FeatureCollection>
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:point>45.256 -71.92
</georss:point>+
USGS http://earthquake.usgs.gov/eqcenter/catalogs/
FriendFeed
photourl
KML
http://code.google.com/apis/kml/documentation/kmlreference.html
GeoJSON
{ "type": "Point", "coordinates": [100.0, 0.0] }
Drupal Modules FeedAPI
• FeedAPI
• KML Module
• GeoRSS Module
• NiceMap (WMS)
• Atom
But how do I query data?
http://code.flickr.com/blog/2009/02/04/100000000-geotagged-photos-plus/
OpenSearch
OpenSearch Template
http://example.com/search?keyword={searchTerms}&limit={count?}&page={startPage?}
requiredoptional?
OpenSearch-Geo
http://geo.example.com/search.atom?keyword={searchTerms}&location={geo:locationString?}&lat={geo:lat?}&lon={geo:lon?}&distance={geo:radius?}&bbox={geo:box?}
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
Publish
Aggregate
Consume
Exif GeoRSS KML GeocodingGPX
GeoRSS KML Microformats MachineTags
GML KML GeoRSS GeoJSONWFS
http://flickr.com/photos/beija-flor/1217587004
Data
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
Inter-Government http://inspire.jrc.ec.europa.eu/
Registries http://geonetwork.org
But I’m already using GoogleMaps.
Design
Usability
Data Ownership and Access
Data Ownership and Access
Data Coverage and Quality
Data Coverage and Quality
OSM in Flickr
ODbL Open Database License
http://www.opendatacommons.org/
http://flickr.com/photos/wwworks/1384952210
Community
“Geowankers” yes, you heard me correctly
http://flickr.com/photos/x180/2494170626/
Mapping Parties
Mappers Anonymous
http://wiki.openstreetmap.org/wiki/StatsExponential Growth
Geo-Web-Resthttp://groups.google.com/group/geo-web-rest
GeoRSShttp://georss.org
GeoJSONhttp://geojson.org
geowankinghttp://lists.burri.to/mailman/listinfo/geowanking
Geo Communities
#osgeo
#mapnik
#osm
#openlayers
#et al.
http://flickr.com/photos/seandreilinger/2326448445
And why is thisimportant to me?
Apps for Democracy
A Drupal Example
A Drupal Example
KML
A Drupal Example
KML
GeoRSS
A Drupal Example
KML
GeoRSS
WMS
A Drupal Example
KML
GeoRSS
WMS
A Drupal Example
KML
GeoRSS
WMS
A Drupal Example
KML
GeoRSS
WMS
A GeoWeb Example
A GeoWeb Example
slideshare.net/ajturner
Drupal and the Geospatial Web
Jeff Miccolis - @miccolisDevelopment Seed
Andrew Turner - @ajturnerFortiusOne - GeoCommons