13. Finding the current location.
Turning a location into a
place.
Finding a geographical
hierarchy.
14. Finding the current location.
Turning a location into a
place.
Finding a geographical
hierarchy.
Geo-tagging information.
15. Finding the current location.
Turning a location into a
place.
Finding a geographical
hierarchy.
Geo-tagging information.
Displaying geo information.
16. Finding the current location.
Finding the current
location happens in
different ways.
28. Turning a location into a place.
Having a latitude
and longitude is
fine and dandy but
it is ambiguous.
29. 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...
30. Turning a location into a place.
This is why we need
to turn lat/lon into
something that is
human readable.
31. Turning a location into a place.
This is called
reverse geocoding
and there are a few
services for it out
there.
32. Turning a location into a place.
My personal
favourite (as it
works world-wide)
is the Flickr reverse
geocoder.
33. Turning a location into a place.
h=p://www.flickr.com/services/api/flickr.places.findByLatLon.html
34. Turning a location into a place.
You can use this
using YQL:
select * from flickr.places where
lat=51.5142271 and lon=‐0.1289602
35. 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
)
47. Placemaker takes a
text, or a web URL
Geo-tagging information.
and extracts the
geographical
information from it.
48. 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"
49. 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=""
50. Placemaker returns
places and
Geo-tagging information.
references - you can
use these to
enhance texts with
geo information.
51. To see Placemaker
in action, check out
Geo-tagging information.
the GeoMaker hack.
h=p://github.com/codepo8/geomaker