6. There are a few
different ingredients
to playing with geo
location.
7. Finding the current location.
Turning a location into a
place.
Finding a geographical
hierarchy.
Geo-tagging information.
Displaying geo information.
8. Finding the current location.
Finding the current
location happens in
different ways.
16. Finding the current location.
Another way is of
course to get
location
information from
the user’s social
presence.
17. Finding the current location.
Plazes, FireEagle,
Twitter, Yahoo,
Flickr, Foursquare,
Gowalla, Brightkite,
Google Buzz/
Latitude, Dopplr...
18. Turning a location into a place.
Having a latitude
and longitude is
fine and dandy but
it is ambiguous.
19. Turning a location into a place.
The same lat/lon
pair could be a lot
of things - the
centre of a town, a
point of interest...
20. Turning a location into a place.
This is why we need
to turn lat/lon into
something that is
human readable.
21. Turning a location into a place.
This is called
reverse geocoding
and there are a few
services for it out
there.
22. Turning a location into a place.
My personal
favourite (as it
works world-wide)
is the Flickr reverse
geocoder.
23. Turning a location into a place.
h;p://www.flickr.com/services/api/flickr.places.findByLatLon.html
24. Turning a location into a place.
You can use this
using YQL:
select * from flickr.places where
lat=51.5142271 and lon=‐0.1289602
25. Turning a location into a place.
To get more in-
depth data, use
flickr and Yahoo
Geo:
select * from geo.places where woeid in (
select place.woeid from flickr.places
where lat=51.5142271 and lon=‐0.1289602
)
37. Placemaker takes a
text, or a web URL
Geo-tagging information.
and extracts the
geographical
information from it.
38. select * from
Geo-tagging information.
geo.placemaker where
documentContent = "Hey I
am in Atlanta! I came here
from London and will
travel onwards to Las
Vegas and Sao Paulo" and
documentType="text/
plain"
39. select * from geo.placemaker where
Geo-tagging information.
documentURL =
"h;p://icant.co.uk" and documentType="text/
html" and appid=""
select * from geo.placemaker where
documentURL =
"h;p://newsrss.bbc.co.uk/rss/
newsonline_uk_edi&on/front_page/rss.xml"
and documentType="text/rss" and appid=""
40. Placemaker returns
places and
Geo-tagging information.
references - you can
use these to
enhance texts with
geo information.
41. To see Placemaker
in action, check out
Geo-tagging information.
the GeoMaker hack.
h;p://github.com/codepo8/geomaker