SlideShare a Scribd company logo
London Twitter #devnest 7, March 2010 (Almost) Everything You Ever WantedTo Know About Geo (with WOEIDs)… Gary Gale, Yahoo! Geo Technologies
the agenda louisvolant on Flickr : http://www.flickr.com/photos/27048731@N03/4003756731/
the agenda ,[object Object]
the WOEIDs
the WTF?
the background
the geocoding and the geoparsing
the frustration
the WOEIDsredux
the APIs
the demo
the goodbye3
4 KELLYLEEBARRETT on Flickr : http://www.flickr.com/photos/kellylee/4177529745/
5 Gary Gale on Flickr : http://www.flickr.com/photos/vicchi/4414198544/
WOEIDs stevefaeembra on Flickr : http://www.flickr.com/photos/stevefaeembra/3567750853/
44418 12589342
8 David Armano on Flickr : http://www.flickr.com/photos/7855449@N02/3158864420/
some background blakophoto on Flickr : http://www.flickr.com/photos/cleveralias/3158810304/
let’s talk about geocoding inF! on Flickr : http://www.flickr.com/photos/nathanbarrow/3339245753/
geocoding is the process of finding associated geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses, or zip codes (postal codes).
reverse geocoding is the process of back (reverse) coding of a point location (latitude, longitude) to a readable address or place name.
noway on Flickr : http://www.flickr.com/photos/noway/78606643/
what? where?
what? (maybe) where? (maybe)
this is not geocoding, this is geoparsing szim90 on Flickr : http://www.flickr.com/photos/szim90/272670479/
geoparsing is the process of assigning geographic identifiers (e.g., codes or geographic coordinates expressed as latitude-longitude) to textual words and phrases that occur in unstructured content.
cheap flights from london to paris in october
20 “I’m sorry dave; I can’t find that place”
21 web servers Jamison Judd on Flickr : http://www.flickr.com/photos/jamisonjudd/2433102356/
22 51° 30' 50.0868", 0° 7' 42.8514" (125 Shaftesbury Avenue, London, UK) 163.1.117.210 (Oxford, UK) 20442/6015 (Brest, France) #C5243B212 (Wilmington, Delaware, USA)
23 web surfers National Library NZ on The Commons on Flickr : http://www.flickr.com/photos/nationallibrarynz_commons/3326203787/
24 The West End Downtown The Shops The High Street
25 The Online World Formal, normalised, structured, regular The Real World “We Are Here” The Offline World Informal, eccentric, bizarre, irregular
cheap flights from london to paris in october 1) Tokenize London 2) Remove common words 3) Remove words not in gazetteer Paris
“in”… India? bodhitjal on Flickr : http://www.flickr.com/photos/bodhithaj/361857780/
“in”… Indiana? OZinOH on Flickr : http://www.flickr.com/photos/75905404@N00/505688957/
“to”… Tonga? j_buswell on Flickr : http://www.flickr.com/photos/j_buswell/3683814556/
language Jovike on Flickr : http://www.flickr.com/photos/jvk/19894053/
Thé? a town in Burgundy, France IN? ISO 3166-1 Alpha-2 for India To? a town in Ibaraki prefecture, Japan Is? another town in Burgundy, France IT? ISO 3166-1 Alpha-2 for Italy AND? ISO 31660-1 Alpha-3 for Andorra You? a town in Yatenga, Burkina Faso Å? a town in NorlandFylke, Norway That? a town in Rajasthan, India
may cause frustration paloaltosoftware on Flickr : http://www.flickr.com/photos/paloalto/3038701605/
disambiguation KoenVereeken on Flickr : http://www.flickr.com/photos/koenvereeken/2088902012/
this is peru …
and so is this (in argentina)
and so is this (in bolivia)
semantics required dullhunk on Flickr : http://www.flickr.com/photos/dullhunk/3525013547/
Hilton, Paris Paris Hilton
London Jack London
Panama Panama Hats
who uses official names anyway? takomabibelot on Flickr : http://www.flickr.com/photos/takomabibelot/234301712/
MOMA NYC Museum of Modern Art, New York paulamoya on Flickr : http://www.flickr.com/photos/40351463@N00/745012335/
Millennium Wheel London Eye hismith83 on Flickr : http://www.flickr.com/photos/hismith83/200701961/
San Francisco City and County of San Francisco SF Brit on Flickr : http://www.flickr.com/photos/cnbattson/192162591/
WOEIDs (redux) stevefaeembra on Flickr : http://www.flickr.com/photos/stevefaeembra/3567750853/
44418 12589342
51° 30' 50.0868", 0° 7' 42.8514"
Unique Permanent Global Language Neutral London = Londra = Londres = ロンドン United States = États-Unis = StatiUniti = 미국 Ensures that geography can be employed consistently and globally straup on Flickr : http://www.flickr.com/photos/straup/3504862388/
GeoPlanet A Global Location Repository Names + Geometry +Topology WOEIDs for ,[object Object]
 postal codes,  airports
 admin regions, time zones
 telephone code areas
 marketing areas
 points of interest
 colloquial areas
neighbourhoodswoodleywonderworks on Flickr : http://www.flickr.com/photos/wwworks/2222523978/
Continents Countries Counties Regions Colloquials Targeting Zones Postal Codes Area Codes Boroughs Neighbourhoods POIs
United Kingdom 23424975 VereinigtesKönigreich Europe 24865675 Country Continent Royaume Uni England 24554868 Great Britain 28298150 Country Colloquial イギリス Warwickshire 12602190 Worcestershire 12602192 County County Earth 1 Supername Stratford-on-Avon 12696101 District Stratford-upon-Avon 36424 Warwick 39228 Town Town CV37 26787646 ZIP
http://engineering.twitter.com/2010/02/woeids-in-twitters-trends.html
http://isithackday.com/hacks/placemaker/tweet-locations.php
http://wherein.yahooapis.com/v1/document
unlock your api https://developer.apps.yahoo.com/wsregapp/ sam.d on Flickr : http://www.flickr.com/photos/samd/65693717/
Placemaker Parameters appid 100% mandatory	 inputLanguage en-US, fr-CA, … outputType XML or RSS documentContent text to geoparse documentTitle optional title documentURL URL to geoparse documentType MIME type of doc autoDisambiguate remove duplicates focusWoeid filter around a WOEID
// POST to Placemaker $ch = curl_init();  define('POSTURL', 'http://wherein.yahooapis.com/v1/document'); define('POSTVARS', 'appid='.	$key.'&documentContent='.urlencode($content). 	'&documentType=text/plain&outputType=xml'.$lang); $ch = curl_init(POSTURL); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, POSTVARS); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);   $placemaker = curl_exec($ch); curl_close($ch);
places that_james on Flickr : http://www.flickr.com/photos/that_james/496797309/
<placeDetails> <place> <woeId>44418</woeId> <type>Town</type> <name> <![CDATA[London, England, GB]]> </name> <centroid> <latitude>51.5063</latitude> <longitude>-0.12714</longitude> </centroid> </place> <matchType>0</matchType> <weight>1</weight> <confidence>10</confidence> </placeDetails> One place for WOEID 44418
references misterbisson on Flickr : http://www.flickr.com/photos/maisonbisson/117720946/
<reference> <woeIds>44418</woeIds> <start>1079</start> <end>1089</end> <isPlaintextMarker>1</isPlaintextMarker> <text><![CDATA[London, UK]]></text> <type>plaintext</type> <xpath><![CDATA[]]></xpath> </reference> <reference> <woeIds>44418</woeIds> <start>1116</start> <end>1126</end> <isPlaintextMarker>1</isPlaintextMarker> <text><![CDATA[London, UK]]></text> <type>plaintext</type> <xpath><![CDATA[]]></xpath> </reference> Two references for WOEID 44418 Two references for WOEID 44418
// turn into an PHP object and loop over the results $places = simplexml_load_string($placemaker, 	'SimpleXMLElement', 	LIBXML_NOCDATA);     if($places->document->placeDetails){ 		$foundplaces = array(); // create a hashmap of the places found to mix with // the references found foreach($places->document->placeDetails as $p){ 		$wkey = 'woeid'.$p->place->woeId; 		$foundplaces[$wkey]=array( 			'name'=>str_replace(', ZZ','',$p->place->name).'',    		    'type'=>$p->place->type.'',    		    'woeId'=>$p->place->woeId.'',    		    'lat'=>$p->place->centroid->latitude.'',    		    'lon'=>$p->place->centroid->longitude.'’ 		); 	} }
// loop over references and filter out duplicates $refs = $places->document->referenceList->reference; $usedwoeids = array(); foreach($refs as $r){ foreach($r->woeIds as $wi){ if(in_array($wi,$usedwoeids)){ 			continue; 	} else { 		$usedwoeids[] = $wi.''; 	} 	$currentloc = $foundplaces["woeid".$wi]; if($r->text!='' && $currentloc['name']!='' &&  		$currentloc['lat']!='' && $currentloc['lon']!=''){ 		$text = preg_replace('/+/',' ',$r->text); 		$name = addslashes(str_replace(', ZZ’, 			$currentloc['name'])); 		$desc = addslashes($text); 		$lat = $currentloc['lat']; 		$lon = $currentloc['lon']; 		$class = stripslashes($desc)."|$name|$lat|$lon"; 		$placelist.= "<li>". 	} }
http://www.vicchi.org/speaking
the internet is broken Nesster on Flickr : http://www.flickr.com/photos/nesster/3168425434/
// load the URL, using YQL to filter the HTML // and fix UTF-8 nasties $url = 'http://www.vicchi.org/speaking'; $realurl = 'http://query.yahooapis.com/v1/public/yql’. 				'?q=select%20*%20'. 				'from%20html%20where%20url%20%3D%20%22'. 				urlencode($url).'%22&format=xml'; $ch = curl_init();  curl_setopt($ch, CURLOPT_URL, $realurl);  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  $c = curl_exec($ch);  curl_close($ch); if(strstr($c,'<')){ 	$c = preg_replace("/.*<results>|<results>.*/",'',$c); 	$c = preg_replace("/<xml version=quot;10quot;".                     " encoding=quot;UTF-8quot;>/",'',$c); 	$c = strip_tags($c); 	$c = preg_replace("/[?]+/"," ",$c); }
minor annoyances swooshthesnail on Flickr : http://www.flickr.com/photos/swooshthesnail/3281681399/
50,000 bytes ASurroca on Flickr : http://www.flickr.com/photos/asurroca/147049402/

More Related Content

What's hot

Welcome To The World Of The Geo-Data Silo
Welcome To The World Of The Geo-Data SiloWelcome To The World Of The Geo-Data Silo
Welcome To The World Of The Geo-Data Silo
Gary Gale
 
Approaching OS Selection as a Process
Approaching OS Selection as a ProcessApproaching OS Selection as a Process
Approaching OS Selection as a Process
Roberto Galoppini
 
Re:build 2011: Passion -> Startup
Re:build 2011: Passion -> StartupRe:build 2011: Passion -> Startup
Re:build 2011: Passion -> Startup
leahculver
 
Our students won_t_research_the_way_we_did
Our students won_t_research_the_way_we_didOur students won_t_research_the_way_we_did
Our students won_t_research_the_way_we_did
Nate Kogan
 
Location, LB(M)S, Hype, Stealth Data and Stuff
Location, LB(M)S, Hype, Stealth Data and StuffLocation, LB(M)S, Hype, Stealth Data and Stuff
Location, LB(M)S, Hype, Stealth Data and Stuff
Gary Gale
 
Abdulaziz Visual Resume
Abdulaziz Visual ResumeAbdulaziz Visual Resume
Abdulaziz Visual Resume
Azuz Bandar
 
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some GeoHyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
Gary Gale
 
Ignite presentation
Ignite presentationIgnite presentation
Ignite presentation
Erica Lawer
 
Justin Kadima
Justin KadimaJustin Kadima
Justin Kadima
evensys
 
The Social Media Conversation
The Social Media ConversationThe Social Media Conversation
The Social Media Conversation
Twentyfirst
 
Social Media Club - The Future of Nonprofits
Social Media Club - The Future of NonprofitsSocial Media Club - The Future of Nonprofits
Social Media Club - The Future of Nonprofits
David J. Neff
 
The Future of Nonprofit Technology
The Future of Nonprofit TechnologyThe Future of Nonprofit Technology
The Future of Nonprofit Technology
David J. Neff
 
Open data what could possibly go wrong?
Open data   what could possibly go wrong?Open data   what could possibly go wrong?
Open data what could possibly go wrong?
Steven Feldman
 
Pushing, pulling or leaving the door open
Pushing, pulling or leaving the door openPushing, pulling or leaving the door open
Pushing, pulling or leaving the door open
Dale Lane
 
Dark Ages 2.0
Dark Ages 2.0Dark Ages 2.0
Dark Ages 2.0
simonmhawkins
 
Location & Privacy; from OMG! to WTF?
Location & Privacy; from OMG! to WTF?Location & Privacy; from OMG! to WTF?
Location & Privacy; from OMG! to WTF?
Gary Gale
 
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
Fwdays
 
Veterans' suicide presentation zen
Veterans' suicide presentation zenVeterans' suicide presentation zen
Veterans' suicide presentation zen
Ksundvall
 
Backlinks Examples PR7-10
Backlinks Examples PR7-10Backlinks Examples PR7-10
Backlinks Examples PR7-10
Kieran Pitt
 
Building a Hacker Culture in Uruguay - OSCON 2011
Building a Hacker Culture in Uruguay - OSCON 2011Building a Hacker Culture in Uruguay - OSCON 2011
Building a Hacker Culture in Uruguay - OSCON 2011
Rabble .
 

What's hot (20)

Welcome To The World Of The Geo-Data Silo
Welcome To The World Of The Geo-Data SiloWelcome To The World Of The Geo-Data Silo
Welcome To The World Of The Geo-Data Silo
 
Approaching OS Selection as a Process
Approaching OS Selection as a ProcessApproaching OS Selection as a Process
Approaching OS Selection as a Process
 
Re:build 2011: Passion -> Startup
Re:build 2011: Passion -> StartupRe:build 2011: Passion -> Startup
Re:build 2011: Passion -> Startup
 
Our students won_t_research_the_way_we_did
Our students won_t_research_the_way_we_didOur students won_t_research_the_way_we_did
Our students won_t_research_the_way_we_did
 
Location, LB(M)S, Hype, Stealth Data and Stuff
Location, LB(M)S, Hype, Stealth Data and StuffLocation, LB(M)S, Hype, Stealth Data and Stuff
Location, LB(M)S, Hype, Stealth Data and Stuff
 
Abdulaziz Visual Resume
Abdulaziz Visual ResumeAbdulaziz Visual Resume
Abdulaziz Visual Resume
 
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some GeoHyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
Hyperlocal Deities, Pachyderms, the Letter W, the Number 3 and some Geo
 
Ignite presentation
Ignite presentationIgnite presentation
Ignite presentation
 
Justin Kadima
Justin KadimaJustin Kadima
Justin Kadima
 
The Social Media Conversation
The Social Media ConversationThe Social Media Conversation
The Social Media Conversation
 
Social Media Club - The Future of Nonprofits
Social Media Club - The Future of NonprofitsSocial Media Club - The Future of Nonprofits
Social Media Club - The Future of Nonprofits
 
The Future of Nonprofit Technology
The Future of Nonprofit TechnologyThe Future of Nonprofit Technology
The Future of Nonprofit Technology
 
Open data what could possibly go wrong?
Open data   what could possibly go wrong?Open data   what could possibly go wrong?
Open data what could possibly go wrong?
 
Pushing, pulling or leaving the door open
Pushing, pulling or leaving the door openPushing, pulling or leaving the door open
Pushing, pulling or leaving the door open
 
Dark Ages 2.0
Dark Ages 2.0Dark Ages 2.0
Dark Ages 2.0
 
Location & Privacy; from OMG! to WTF?
Location & Privacy; from OMG! to WTF?Location & Privacy; from OMG! to WTF?
Location & Privacy; from OMG! to WTF?
 
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
Vitalii Bobrov "Lost in Space: Web Apps and A11Y"
 
Veterans' suicide presentation zen
Veterans' suicide presentation zenVeterans' suicide presentation zen
Veterans' suicide presentation zen
 
Backlinks Examples PR7-10
Backlinks Examples PR7-10Backlinks Examples PR7-10
Backlinks Examples PR7-10
 
Building a Hacker Culture in Uruguay - OSCON 2011
Building a Hacker Culture in Uruguay - OSCON 2011Building a Hacker Culture in Uruguay - OSCON 2011
Building a Hacker Culture in Uruguay - OSCON 2011
 

Viewers also liked

88.1 Demographic information
88.1 Demographic information88.1 Demographic information
88.1 Demographic information
BJ O'Neal
 
Rawls e m1_a3
Rawls e m1_a3Rawls e m1_a3
Rawls e m1_a3
ERawls7002
 
Instructional technology(gcet)
Instructional technology(gcet)Instructional technology(gcet)
Instructional technology(gcet)
Ayaz Mahmood
 
Information & Instructional Technology
Information & Instructional TechnologyInformation & Instructional Technology
Information & Instructional Technology
Alaa Sadik
 
07-Educational Technology And Educational Media
07-Educational Technology And Educational Media07-Educational Technology And Educational Media
07-Educational Technology And Educational Media
For-Ian Sandoval
 
2 Instructional Technology
2 Instructional Technology2 Instructional Technology
2 Instructional Technology
Zoraini Wati Abas, EdD
 
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIAEDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
Carla Gomez
 
Demography
DemographyDemography
Demography
Shaells Joshi
 
Demography ppt
Demography pptDemography ppt
Demography ppt
patel sweta
 

Viewers also liked (9)

88.1 Demographic information
88.1 Demographic information88.1 Demographic information
88.1 Demographic information
 
Rawls e m1_a3
Rawls e m1_a3Rawls e m1_a3
Rawls e m1_a3
 
Instructional technology(gcet)
Instructional technology(gcet)Instructional technology(gcet)
Instructional technology(gcet)
 
Information & Instructional Technology
Information & Instructional TechnologyInformation & Instructional Technology
Information & Instructional Technology
 
07-Educational Technology And Educational Media
07-Educational Technology And Educational Media07-Educational Technology And Educational Media
07-Educational Technology And Educational Media
 
2 Instructional Technology
2 Instructional Technology2 Instructional Technology
2 Instructional Technology
 
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIAEDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
EDUCATIONAL TECHNOLOGY And EDUCATIONAL MEDIA
 
Demography
DemographyDemography
Demography
 
Demography ppt
Demography pptDemography ppt
Demography ppt
 

Similar to (Almost) Everything You Ever Wanted To Know About Geo (with WOEIDs)

Google Wave: Ripple or Tsunami for Research
Google Wave: Ripple or Tsunami for ResearchGoogle Wave: Ripple or Tsunami for Research
Google Wave: Ripple or Tsunami for Research
Cameron Neylon
 
Arduino Project
Arduino ProjectArduino Project
Arduino Project
Almir Mendes
 
State of the Mahara Nation 2014
State of the Mahara Nation 2014State of the Mahara Nation 2014
State of the Mahara Nation 2014
Aaron Wells
 
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAIProjeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Almir Mendes
 
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco CoutinhoArduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Almir Mendes
 
Harsh Horizons For the Socialmediaforum
Harsh Horizons For the SocialmediaforumHarsh Horizons For the Socialmediaforum
Harsh Horizons For the Socialmediaforum
Ian Forrester
 
Meeting Community Needs: 2.0 Tools & Statewide Services
Meeting Community Needs: 2.0 Tools & Statewide ServicesMeeting Community Needs: 2.0 Tools & Statewide Services
Meeting Community Needs: 2.0 Tools & Statewide Services
Polly Farrington
 
Know Your Place
Know Your PlaceKnow Your Place
Know Your Place
Gary Gale
 
Know Your Place; Geo Without Maps.
Know Your Place; Geo Without Maps.Know Your Place; Geo Without Maps.
Know Your Place; Geo Without Maps.
Rebecca Mantle
 
England and india nicolai and ken
England and india nicolai and kenEngland and india nicolai and ken
England and india nicolai and ken
17tutturenn
 
Know Your Place; Geo Without Maps
Know Your Place; Geo Without MapsKnow Your Place; Geo Without Maps
Know Your Place; Geo Without Maps
Gary Gale
 
온라인 가치 나누기 : How to make Online Value
온라인 가치 나누기 : How to make Online Value온라인 가치 나누기 : How to make Online Value
온라인 가치 나누기 : How to make Online Value
Jinho Jung
 
Up close and personal - Future of Digital 2010
Up close and personal - Future of Digital 2010Up close and personal - Future of Digital 2010
Up close and personal - Future of Digital 2010
Rob Manson
 
BBC Backstage Web Horizon 2007 Presentation
BBC  Backstage Web Horizon 2007 PresentationBBC  Backstage Web Horizon 2007 Presentation
BBC Backstage Web Horizon 2007 Presentation
Ian Forrester
 
The Whitespace in the Perl Community
The Whitespace in the Perl CommunityThe Whitespace in the Perl Community
The Whitespace in the Perl Community
brian d foy
 
Emerging Technology Trends for 2015
Emerging Technology Trends for 2015Emerging Technology Trends for 2015
Emerging Technology Trends for 2015
David King
 
Bridging the Gap - The Future of Learning
Bridging the Gap - The Future of LearningBridging the Gap - The Future of Learning
Bridging the Gap - The Future of Learning
Clint Hamada
 
Io cache, tu database
Io cache, tu databaseIo cache, tu database
Io cache, tu database
Daniel Londero
 
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
David King
 
MozStory 2014
MozStory 2014MozStory 2014
MozStory 2014
Irvin Chen
 

Similar to (Almost) Everything You Ever Wanted To Know About Geo (with WOEIDs) (20)

Google Wave: Ripple or Tsunami for Research
Google Wave: Ripple or Tsunami for ResearchGoogle Wave: Ripple or Tsunami for Research
Google Wave: Ripple or Tsunami for Research
 
Arduino Project
Arduino ProjectArduino Project
Arduino Project
 
State of the Mahara Nation 2014
State of the Mahara Nation 2014State of the Mahara Nation 2014
State of the Mahara Nation 2014
 
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAIProjeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
 
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco CoutinhoArduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
 
Harsh Horizons For the Socialmediaforum
Harsh Horizons For the SocialmediaforumHarsh Horizons For the Socialmediaforum
Harsh Horizons For the Socialmediaforum
 
Meeting Community Needs: 2.0 Tools & Statewide Services
Meeting Community Needs: 2.0 Tools & Statewide ServicesMeeting Community Needs: 2.0 Tools & Statewide Services
Meeting Community Needs: 2.0 Tools & Statewide Services
 
Know Your Place
Know Your PlaceKnow Your Place
Know Your Place
 
Know Your Place; Geo Without Maps.
Know Your Place; Geo Without Maps.Know Your Place; Geo Without Maps.
Know Your Place; Geo Without Maps.
 
England and india nicolai and ken
England and india nicolai and kenEngland and india nicolai and ken
England and india nicolai and ken
 
Know Your Place; Geo Without Maps
Know Your Place; Geo Without MapsKnow Your Place; Geo Without Maps
Know Your Place; Geo Without Maps
 
온라인 가치 나누기 : How to make Online Value
온라인 가치 나누기 : How to make Online Value온라인 가치 나누기 : How to make Online Value
온라인 가치 나누기 : How to make Online Value
 
Up close and personal - Future of Digital 2010
Up close and personal - Future of Digital 2010Up close and personal - Future of Digital 2010
Up close and personal - Future of Digital 2010
 
BBC Backstage Web Horizon 2007 Presentation
BBC  Backstage Web Horizon 2007 PresentationBBC  Backstage Web Horizon 2007 Presentation
BBC Backstage Web Horizon 2007 Presentation
 
The Whitespace in the Perl Community
The Whitespace in the Perl CommunityThe Whitespace in the Perl Community
The Whitespace in the Perl Community
 
Emerging Technology Trends for 2015
Emerging Technology Trends for 2015Emerging Technology Trends for 2015
Emerging Technology Trends for 2015
 
Bridging the Gap - The Future of Learning
Bridging the Gap - The Future of LearningBridging the Gap - The Future of Learning
Bridging the Gap - The Future of Learning
 
Io cache, tu database
Io cache, tu databaseIo cache, tu database
Io cache, tu database
 
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
Freak Out, Geek Out, or Seek Out: Dealing with Tech Change and Customer Engag...
 
MozStory 2014
MozStory 2014MozStory 2014
MozStory 2014
 

More from Gary Gale

Turn Left For Coffee
Turn Left For CoffeeTurn Left For Coffee
Turn Left For Coffee
Gary Gale
 
A Sense Of Place
A Sense Of PlaceA Sense Of Place
A Sense Of Place
Gary Gale
 
The (Geo) (Mobile) (Smart) Web
The (Geo) (Mobile) (Smart) WebThe (Geo) (Mobile) (Smart) Web
The (Geo) (Mobile) (Smart) Web
Gary Gale
 
5 Location Trends For 2011
5 Location Trends For 20115 Location Trends For 2011
5 Location Trends For 2011
Gary Gale
 
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
Gary Gale
 
Of Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo MalaisesOf Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo Malaises
Gary Gale
 
Welcome To W3G
Welcome To W3GWelcome To W3G
Welcome To W3G
Gary Gale
 
Of Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo MalaisesOf Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo Malaises
Gary Gale
 
Hyperlocal or Hype (and Local)?
Hyperlocal or Hype (and Local)?Hyperlocal or Hype (and Local)?
Hyperlocal or Hype (and Local)?
Gary Gale
 
Ubiquitous Location, The New Frontier and Hyperlocal Nirvana
Ubiquitous Location, The New Frontier and Hyperlocal NirvanaUbiquitous Location, The New Frontier and Hyperlocal Nirvana
Ubiquitous Location, The New Frontier and Hyperlocal Nirvana
Gary Gale
 
WhereCamp EU 2010 Keynote
WhereCamp EU 2010 KeynoteWhereCamp EU 2010 Keynote
WhereCamp EU 2010 Keynote
Gary Gale
 
WhereCamp EU 2010 Welcome
WhereCamp EU 2010 WelcomeWhereCamp EU 2010 Welcome
WhereCamp EU 2010 Welcome
Gary Gale
 
Place not Space; Geo without Maps
Place not Space; Geo without MapsPlace not Space; Geo without Maps
Place not Space; Geo without Maps
Gary Gale
 
Know Your Place; Adding Geographic Intelligence to your Content
Know Your Place; Adding Geographic Intelligence to your ContentKnow Your Place; Adding Geographic Intelligence to your Content
Know Your Place; Adding Geographic Intelligence to your Content
Gary Gale
 
"Neo" this and "Paleo" that ... it's all just "Geo"
"Neo" this and "Paleo" that ... it's all just "Geo""Neo" this and "Paleo" that ... it's all just "Geo"
"Neo" this and "Paleo" that ... it's all just "Geo"
Gary Gale
 
Geo-intelligence Through Open Location
Geo-intelligence Through Open LocationGeo-intelligence Through Open Location
Geo-intelligence Through Open Location
Gary Gale
 
Location, Privacy and Opting Out
Location, Privacy and Opting OutLocation, Privacy and Opting Out
Location, Privacy and Opting Out
Gary Gale
 
Innovating on Open Location
Innovating on Open LocationInnovating on Open Location
Innovating on Open Location
Gary Gale
 
mashup*, Being Digital, Open Location
mashup*, Being Digital, Open Locationmashup*, Being Digital, Open Location
mashup*, Being Digital, Open Location
Gary Gale
 

More from Gary Gale (19)

Turn Left For Coffee
Turn Left For CoffeeTurn Left For Coffee
Turn Left For Coffee
 
A Sense Of Place
A Sense Of PlaceA Sense Of Place
A Sense Of Place
 
The (Geo) (Mobile) (Smart) Web
The (Geo) (Mobile) (Smart) WebThe (Geo) (Mobile) (Smart) Web
The (Geo) (Mobile) (Smart) Web
 
5 Location Trends For 2011
5 Location Trends For 20115 Location Trends For 2011
5 Location Trends For 2011
 
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
A (Mostly) Complete & (Mostly) Accurate History Of Location (Abridged)
 
Of Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo MalaisesOf Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo Malaises
 
Welcome To W3G
Welcome To W3GWelcome To W3G
Welcome To W3G
 
Of Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo MalaisesOf Data Silos, Geo-Babel & Other Geo Malaises
Of Data Silos, Geo-Babel & Other Geo Malaises
 
Hyperlocal or Hype (and Local)?
Hyperlocal or Hype (and Local)?Hyperlocal or Hype (and Local)?
Hyperlocal or Hype (and Local)?
 
Ubiquitous Location, The New Frontier and Hyperlocal Nirvana
Ubiquitous Location, The New Frontier and Hyperlocal NirvanaUbiquitous Location, The New Frontier and Hyperlocal Nirvana
Ubiquitous Location, The New Frontier and Hyperlocal Nirvana
 
WhereCamp EU 2010 Keynote
WhereCamp EU 2010 KeynoteWhereCamp EU 2010 Keynote
WhereCamp EU 2010 Keynote
 
WhereCamp EU 2010 Welcome
WhereCamp EU 2010 WelcomeWhereCamp EU 2010 Welcome
WhereCamp EU 2010 Welcome
 
Place not Space; Geo without Maps
Place not Space; Geo without MapsPlace not Space; Geo without Maps
Place not Space; Geo without Maps
 
Know Your Place; Adding Geographic Intelligence to your Content
Know Your Place; Adding Geographic Intelligence to your ContentKnow Your Place; Adding Geographic Intelligence to your Content
Know Your Place; Adding Geographic Intelligence to your Content
 
"Neo" this and "Paleo" that ... it's all just "Geo"
"Neo" this and "Paleo" that ... it's all just "Geo""Neo" this and "Paleo" that ... it's all just "Geo"
"Neo" this and "Paleo" that ... it's all just "Geo"
 
Geo-intelligence Through Open Location
Geo-intelligence Through Open LocationGeo-intelligence Through Open Location
Geo-intelligence Through Open Location
 
Location, Privacy and Opting Out
Location, Privacy and Opting OutLocation, Privacy and Opting Out
Location, Privacy and Opting Out
 
Innovating on Open Location
Innovating on Open LocationInnovating on Open Location
Innovating on Open Location
 
mashup*, Being Digital, Open Location
mashup*, Being Digital, Open Locationmashup*, Being Digital, Open Location
mashup*, Being Digital, Open Location
 

Recently uploaded

"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
Sease
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 

Recently uploaded (20)

"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 

(Almost) Everything You Ever Wanted To Know About Geo (with WOEIDs)

  • 1. London Twitter #devnest 7, March 2010 (Almost) Everything You Ever WantedTo Know About Geo (with WOEIDs)… Gary Gale, Yahoo! Geo Technologies
  • 2. the agenda louisvolant on Flickr : http://www.flickr.com/photos/27048731@N03/4003756731/
  • 3.
  • 7. the geocoding and the geoparsing
  • 13. 4 KELLYLEEBARRETT on Flickr : http://www.flickr.com/photos/kellylee/4177529745/
  • 14. 5 Gary Gale on Flickr : http://www.flickr.com/photos/vicchi/4414198544/
  • 15. WOEIDs stevefaeembra on Flickr : http://www.flickr.com/photos/stevefaeembra/3567750853/
  • 17. 8 David Armano on Flickr : http://www.flickr.com/photos/7855449@N02/3158864420/
  • 18. some background blakophoto on Flickr : http://www.flickr.com/photos/cleveralias/3158810304/
  • 19. let’s talk about geocoding inF! on Flickr : http://www.flickr.com/photos/nathanbarrow/3339245753/
  • 20. geocoding is the process of finding associated geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses, or zip codes (postal codes).
  • 21. reverse geocoding is the process of back (reverse) coding of a point location (latitude, longitude) to a readable address or place name.
  • 22. noway on Flickr : http://www.flickr.com/photos/noway/78606643/
  • 24.
  • 26. this is not geocoding, this is geoparsing szim90 on Flickr : http://www.flickr.com/photos/szim90/272670479/
  • 27. geoparsing is the process of assigning geographic identifiers (e.g., codes or geographic coordinates expressed as latitude-longitude) to textual words and phrases that occur in unstructured content.
  • 28. cheap flights from london to paris in october
  • 29. 20 “I’m sorry dave; I can’t find that place”
  • 30. 21 web servers Jamison Judd on Flickr : http://www.flickr.com/photos/jamisonjudd/2433102356/
  • 31. 22 51° 30' 50.0868", 0° 7' 42.8514" (125 Shaftesbury Avenue, London, UK) 163.1.117.210 (Oxford, UK) 20442/6015 (Brest, France) #C5243B212 (Wilmington, Delaware, USA)
  • 32. 23 web surfers National Library NZ on The Commons on Flickr : http://www.flickr.com/photos/nationallibrarynz_commons/3326203787/
  • 33. 24 The West End Downtown The Shops The High Street
  • 34. 25 The Online World Formal, normalised, structured, regular The Real World “We Are Here” The Offline World Informal, eccentric, bizarre, irregular
  • 35. cheap flights from london to paris in october 1) Tokenize London 2) Remove common words 3) Remove words not in gazetteer Paris
  • 36. “in”… India? bodhitjal on Flickr : http://www.flickr.com/photos/bodhithaj/361857780/
  • 37. “in”… Indiana? OZinOH on Flickr : http://www.flickr.com/photos/75905404@N00/505688957/
  • 38. “to”… Tonga? j_buswell on Flickr : http://www.flickr.com/photos/j_buswell/3683814556/
  • 39. language Jovike on Flickr : http://www.flickr.com/photos/jvk/19894053/
  • 40. Thé? a town in Burgundy, France IN? ISO 3166-1 Alpha-2 for India To? a town in Ibaraki prefecture, Japan Is? another town in Burgundy, France IT? ISO 3166-1 Alpha-2 for Italy AND? ISO 31660-1 Alpha-3 for Andorra You? a town in Yatenga, Burkina Faso Å? a town in NorlandFylke, Norway That? a town in Rajasthan, India
  • 41. may cause frustration paloaltosoftware on Flickr : http://www.flickr.com/photos/paloalto/3038701605/
  • 42. disambiguation KoenVereeken on Flickr : http://www.flickr.com/photos/koenvereeken/2088902012/
  • 44. and so is this (in argentina)
  • 45. and so is this (in bolivia)
  • 46. semantics required dullhunk on Flickr : http://www.flickr.com/photos/dullhunk/3525013547/
  • 50. who uses official names anyway? takomabibelot on Flickr : http://www.flickr.com/photos/takomabibelot/234301712/
  • 51. MOMA NYC Museum of Modern Art, New York paulamoya on Flickr : http://www.flickr.com/photos/40351463@N00/745012335/
  • 52. Millennium Wheel London Eye hismith83 on Flickr : http://www.flickr.com/photos/hismith83/200701961/
  • 53. San Francisco City and County of San Francisco SF Brit on Flickr : http://www.flickr.com/photos/cnbattson/192162591/
  • 54. WOEIDs (redux) stevefaeembra on Flickr : http://www.flickr.com/photos/stevefaeembra/3567750853/
  • 56. 51° 30' 50.0868", 0° 7' 42.8514"
  • 57. Unique Permanent Global Language Neutral London = Londra = Londres = ロンドン United States = États-Unis = StatiUniti = 미국 Ensures that geography can be employed consistently and globally straup on Flickr : http://www.flickr.com/photos/straup/3504862388/
  • 58.
  • 59. postal codes, airports
  • 60. admin regions, time zones
  • 63. points of interest
  • 65. neighbourhoodswoodleywonderworks on Flickr : http://www.flickr.com/photos/wwworks/2222523978/
  • 66. Continents Countries Counties Regions Colloquials Targeting Zones Postal Codes Area Codes Boroughs Neighbourhoods POIs
  • 67. United Kingdom 23424975 VereinigtesKönigreich Europe 24865675 Country Continent Royaume Uni England 24554868 Great Britain 28298150 Country Colloquial イギリス Warwickshire 12602190 Worcestershire 12602192 County County Earth 1 Supername Stratford-on-Avon 12696101 District Stratford-upon-Avon 36424 Warwick 39228 Town Town CV37 26787646 ZIP
  • 71. unlock your api https://developer.apps.yahoo.com/wsregapp/ sam.d on Flickr : http://www.flickr.com/photos/samd/65693717/
  • 72. Placemaker Parameters appid 100% mandatory inputLanguage en-US, fr-CA, … outputType XML or RSS documentContent text to geoparse documentTitle optional title documentURL URL to geoparse documentType MIME type of doc autoDisambiguate remove duplicates focusWoeid filter around a WOEID
  • 73. // POST to Placemaker $ch = curl_init(); define('POSTURL', 'http://wherein.yahooapis.com/v1/document'); define('POSTVARS', 'appid='. $key.'&documentContent='.urlencode($content). '&documentType=text/plain&outputType=xml'.$lang); $ch = curl_init(POSTURL); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, POSTVARS); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $placemaker = curl_exec($ch); curl_close($ch);
  • 74. places that_james on Flickr : http://www.flickr.com/photos/that_james/496797309/
  • 75. <placeDetails> <place> <woeId>44418</woeId> <type>Town</type> <name> <![CDATA[London, England, GB]]> </name> <centroid> <latitude>51.5063</latitude> <longitude>-0.12714</longitude> </centroid> </place> <matchType>0</matchType> <weight>1</weight> <confidence>10</confidence> </placeDetails> One place for WOEID 44418
  • 76. references misterbisson on Flickr : http://www.flickr.com/photos/maisonbisson/117720946/
  • 77. <reference> <woeIds>44418</woeIds> <start>1079</start> <end>1089</end> <isPlaintextMarker>1</isPlaintextMarker> <text><![CDATA[London, UK]]></text> <type>plaintext</type> <xpath><![CDATA[]]></xpath> </reference> <reference> <woeIds>44418</woeIds> <start>1116</start> <end>1126</end> <isPlaintextMarker>1</isPlaintextMarker> <text><![CDATA[London, UK]]></text> <type>plaintext</type> <xpath><![CDATA[]]></xpath> </reference> Two references for WOEID 44418 Two references for WOEID 44418
  • 78. // turn into an PHP object and loop over the results $places = simplexml_load_string($placemaker, 'SimpleXMLElement', LIBXML_NOCDATA); if($places->document->placeDetails){ $foundplaces = array(); // create a hashmap of the places found to mix with // the references found foreach($places->document->placeDetails as $p){ $wkey = 'woeid'.$p->place->woeId; $foundplaces[$wkey]=array( 'name'=>str_replace(', ZZ','',$p->place->name).'', 'type'=>$p->place->type.'', 'woeId'=>$p->place->woeId.'', 'lat'=>$p->place->centroid->latitude.'', 'lon'=>$p->place->centroid->longitude.'’ ); } }
  • 79. // loop over references and filter out duplicates $refs = $places->document->referenceList->reference; $usedwoeids = array(); foreach($refs as $r){ foreach($r->woeIds as $wi){ if(in_array($wi,$usedwoeids)){ continue; } else { $usedwoeids[] = $wi.''; } $currentloc = $foundplaces["woeid".$wi]; if($r->text!='' && $currentloc['name']!='' && $currentloc['lat']!='' && $currentloc['lon']!=''){ $text = preg_replace('/+/',' ',$r->text); $name = addslashes(str_replace(', ZZ’, $currentloc['name'])); $desc = addslashes($text); $lat = $currentloc['lat']; $lon = $currentloc['lon']; $class = stripslashes($desc)."|$name|$lat|$lon"; $placelist.= "<li>". } }
  • 81.
  • 82. the internet is broken Nesster on Flickr : http://www.flickr.com/photos/nesster/3168425434/
  • 83. // load the URL, using YQL to filter the HTML // and fix UTF-8 nasties $url = 'http://www.vicchi.org/speaking'; $realurl = 'http://query.yahooapis.com/v1/public/yql’. '?q=select%20*%20'. 'from%20html%20where%20url%20%3D%20%22'. urlencode($url).'%22&format=xml'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $realurl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $c = curl_exec($ch); curl_close($ch); if(strstr($c,'<')){ $c = preg_replace("/.*<results>|<results>.*/",'',$c); $c = preg_replace("/<xml version=quot;10quot;". " encoding=quot;UTF-8quot;>/",'',$c); $c = strip_tags($c); $c = preg_replace("/[?]+/"," ",$c); }
  • 84. minor annoyances swooshthesnail on Flickr : http://www.flickr.com/photos/swooshthesnail/3281681399/
  • 85. 50,000 bytes ASurroca on Flickr : http://www.flickr.com/photos/asurroca/147049402/
  • 87. post not get sludgegulper on Flickr : http://www.flickr.com/photos/sludgeulper/2645478209/
  • 89. collections bradman334 on Flickr : http://www.flickr.com/photos/bradman334/3402569690/
  • 90.
  • 91.
  • 92. <places xmlns="http://where.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:start="0" yahoo:count="1" yahoo:total="22"> <place yahoo:uri="http://where.yahooapis.com/v1/place/44418" xml:lang="en-us"> <woeid>44418</woeid> <placeTypeName code="7">Town</placeTypeName> <name>London</name> <country type="Country" code="GB">United Kingdom</country> <admin1 type="Country" code="GB-ENG">England</admin1> <admin2 type="County" code="">Greater London</admin2> <admin3></admin3> <locality1 type="Town">London</locality1> <locality2></locality2> <postal></postal> <centroid> <latitude>51.506321</latitude><longitude>-0.127140</longitude> </centroid> <boundingBox> <southWest><latitude>51.261318</latitude><longitude>-0.563000</longitude></southWest> <northEast><latitude>51.686031</latitude><longitude>0.280360</longitude></northEast> </boundingBox> </place> </places>
  • 93. resources joshuarichards on Flickr : http://www.flickr.com/photos/joshywoshywoo/124671979/
  • 94.
  • 95.
  • 96.
  • 97.
  • 98. <?xml version="1.0" encoding="UTF-8"?><places xmlns="http://where.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:start="0" yahoo:count="10" yahoo:total="34"> <place yahoo:uri="http://where.yahooapis.com/v1/place/12695806" xml:lang="en-us"> <woeid>12695806</woeid> <placeTypeName code="10">Local Administrative Area</placeTypeName> <name>City of London</name> </place> <place yahoo:uri="http://where.yahooapis.com/v1/place/12695807" xml:lang="en-us"> <woeid>12695807</woeid> <placeTypeName code="10">Local Administrative Area</placeTypeName> <name>London Borough of Camden</name> </place> <place yahoo:uri="http://where.yahooapis.com/v1/place/12695808" xml:lang="en-us"> <woeid>12695808</woeid> <placeTypeName code="10">Local Administrative Area</placeTypeName> <name>London Borough of Hackney</name> </place> … </places>
  • 99. Far more than you could ever want http://delicious.com/codepo8/geotoys
  • 100. never work with children, animals or live demos elephipelephi on Flickr : http://www.flickr.com/photos/elephipelephi/1493013250/
  • 101. not taking notes? selva on Flickr : http://www.flickr.com/photos/selva/24604141/
  • 102. London Twitter #devnest 7, March 2010 (Almost) Everything You Ever WantedTo Know About Geo (with WOEIDs)… Gary Gale, Yahoo! Geo Technologies http://slideshare.net/vicchi
  • 103. thanks for listening Paul Keleher on Flickr : http://www.flickr.com/photos/pkeleher/1658311814/