Clini1

Embed Size (px)

Citation preview

  • 8/7/2019 Clini1

    1/29

    Yahoo! GeoPlanet

    Exploring Places (without Maps)SHIBA SANKAR BEHERA

    RAVENSHAW MANAGEMENT CENTRE, CUTTACK

  • 8/7/2019 Clini1

    2/29

    2

    Intro

    Yahoo! Geo Technologies overview

    The issues in and around global geo data

    GeoPlanet Web Service

  • 8/7/2019 Clini1

    3/29

    3

    Yahoo! Geo Technologies

    Expertise-Maps:

    -global mapping platform and geospatial technologies

    -User Location:

    -technologies and platforms for detecting and managing user location

    -Geo Informatics:

    - global ontology of named places, geoparsing & geo-enrichment

    Mission

    -Collect the worlds geography as it is used by the worlds people-Make Location a core component of the entire Yahoo! experience

    -Connect the web world with the real world

    -Open up Geo Platforms

  • 8/7/2019 Clini1

    4/29

    4

    Geo-Parsing

    Geo Parsing

    -Recognition, Identification, Disambiguation and Retrieval of

    named places in text

    Sounds easy, doesnt it?

  • 8/7/2019 Clini1

    5/29

  • 8/7/2019 Clini1

    6/29

    6

    Geo Parsing more problems

    OK, so what place do you mean?

    -Colorado, Texas

    - Oregon, Alaska

    -Peru, Bolivia

    -Peru, Argentina

    - Washington, Nevada County, California

    - Kansas, Delaware County, Oklahoma

    - EastT

    exas, Pennsylvania- East London, South Africa

    - York, New York

  • 8/7/2019 Clini1

    7/29

    7

    Springfielddoh!

    Springfield, Illinois

    Springfield, Massachusetts?

    Springfield, Missouri?

    Springfield, Vermont?

    Springfield, Oregon?

    One of the other 77 Springfields in the US?

    Or one of the 35 otherSpringfields outside theUS?

  • 8/7/2019 Clini1

    8/29

    8

    Things that are sent to test us

  • 8/7/2019 Clini1

    9/29

    9

    Yahoo! GeoPlanet is a publicly available web service for managingnamed places around the globe in a consistent, language-neutral

    way. It provides the geographic developer community with thevocabulary and grammar to traverse the world's geography,

    facilitating the geo-enablement of applications relevant to users andtheir businesses, by providing a means to recognize, locate and

    exploit geo-relevant data across the Web

    http://where.yahooapis.com

    Youll need a valid YDN app ID to use GeoPlanet

    Overview

  • 8/7/2019 Clini1

    10/29

    10

    REST API for geographic discovery and mining

    Resource of over 6m named places in 21 languages

    Permanent Identifiers

    Global Coverage, Consistent Framework

    Integrates with Flickr, FireEagle

    Answers questions such as:

    - What zipcodes are in the city of Chicago?

    - How many Springfields are in the US?

    Which is most likely to be the Springfield I mean?

    - What is the unique ID (WOEID) for The Sydney Opera House

    GeoPlanet ina Nutshell

  • 8/7/2019 Clini1

    11/29

    11

    the WOEID

    The Where on Earth identifier-assigned to every named place

    -32-bit

    -Unique

    -Permanent

    -Language neutral London = Londres = Londra =

    -Non-Repetitive

    -Never Recycled-Deprecations mapped to successor/replacement

    Requests to the service using a deprecated WOEID are

    served transparently.

  • 8/7/2019 Clini1

    12/29

    12

    9408694089

    95051

    9505494085(child)

    ZIP

    WOEIDs WhereHaus: Global Geographic Ontology

    Sunnyvale2502265

    City

    Santa Clara(parent)

    County

    California(ance tor)

    State

    Mountain View

    Cupertino Lo Alto

    Santa Clara

    Santa Cruz San Mateo

    Alameda

    OregonArizona

    Nevada

    USA(ance tor)Country

    Bay Area(belong to)Colloquial

    Pacific State(belong to)

    Colloquial

    23424676

    12587712

    23424977

    2

    347563

    2368994023689940

    2351173823511738

    2347596 2347587

    2347561

    24888532352559

    2488142

    2455920

    2388327

    2488836

    1279753812797147

    1279753512797150

    2442043

  • 8/7/2019 Clini1

    13/29

    13 13

    The GeoPlanet Hierarchy:

    Continents Countries

    Counties

    Regions

    Area Codes

    Marketing

    Neighborhoods

    Zipcodes Custom

  • 8/7/2019 Clini1

    14/29

    14

    The Thinking: Place-Based Logic

  • 8/7/2019 Clini1

    15/29

    15

    The Resource: WhereHaus

    WhereHausGlobal Locations Database

    place names post codes administrative regions

    telephone code areas

    marketing areas

    points of interest

    colloquial areas neighbourhoods

  • 8/7/2019 Clini1

    16/29

  • 8/7/2019 Clini1

    17/29

    17

    Place Resource

    Usage:

    Get information about a place

    Template:

    /v1/place/{woeid}

    Examples:

    /v1/place/1 Get information about the World

    /v1/place/23424977 Get information about the USA

    /v1/place/2487956 Get information about San Francisco

  • 8/7/2019 Clini1

    18/29

    18

    Place Relationship Collections

    Usage: Get information about places related to a place

    Template:

    /v1/place/{woeid}/{relation}

    Relations

    Parent 1stdegree containing entity

    Children 1stdegree contained entities

    Neighbors adjacent peer place types

    Siblings peer place types sharing same parent

    Belongtos collection of containing entities

    Ancestors higher administrative hierarchy

  • 8/7/2019 Clini1

    19/29

    19

    Some Examples

    /v1/place/1/children.type(Country)

    Get list of countries

    /v1/place/2487956/parent

    Get parent place of San Francisco

    /v1/place/2487956/belongtos.type(Time+Zone)

    Get Olson timezone name for San Francisco

  • 8/7/2019 Clini1

    20/29

    20

    /v1/place/2347563/siblings;count=0

    Get list of states (siblings of California)

    /v1/place/23424977/children.type(State)

    Get list of states (state children of United States)

    /v1/place/12797497/neighbors

    Get list of zip code adjacent to 94089

    Some more Examples

  • 8/7/2019 Clini1

    21/29

    21

    Places Collection

    Usage:

    Find places that match a place name, and optionally a place

    type

    Templates:

    /v1/places.q({placename}[,{focus}])[;count={count}][;start={start}]

    {placename}must be enclosed in single quotes if it contains

    a comma

  • 8/7/2019 Clini1

    22/29

    22

    Usage:

    Find places that match a place name, and optionally a place

    type

    Templates:

    /v1/places$and(.q({placename}[,{focus}]),.type(

    {placetypes}))[;count={count}][;start={start}]

    {placetypes} is a list of up to seven placetypes; each placetype

    can be either a place type id (e.g.7) orplace type name (e.g.

    Town)

    Places Collection

  • 8/7/2019 Clini1

    23/29

    23

    Place Type Names and Codes

    http://where.yahooapis.com/v1/placetypes

    Some examples- Continent 29

    - Country 12

    - Admin1 8

    - Admin2 9

    - Admin3 10

    - Town 7

    - Suburb 22

    - Postal Code 11

    - Supername 19

    - Colloquial 24

    - Time Zone 31

  • 8/7/2019 Clini1

    24/29

    24

    Some Examples

    /v1/places.q(Springfield) find most likely place named

    Springfield

    /v1/places.q(Springfield);count=0 find all places named

    Springfield

    /v1/places.q(Rome,Italy) find Rome, Italy (note quotes

    around place name)

    /v1/places.q(Roma,Italia) find Rome, Italy (using Italian

    place name)

    /v1/places$and(.q(Soho),.type(Suburb));count=0 find

    suburbs named Soho

  • 8/7/2019 Clini1

    25/29

    25

    Other Concepts

    Representation

    - The short- contains only the most essential information

    - The long - includes additional elements

    Language

    - RFC4646

    Positional Consistency- Centroid and Bounding Box

    - Longitude/Latitude to WGS84 datum

    Response Formats- xml=XML

    - json=JSON

    -geojson=GeoJSON

  • 8/7/2019 Clini1

    26/29

    26

    References

    YDN landing page http://developer.yahoo.com/geo

    Documentation http://developer.yahoo.com/geo/guide

    YDN Developer Reg http://developer.yahoo.com/ysregapp

    GeoPlanet Forum -http://developer.yahoo.net/forum/index.php?showforum=31

    Yahoo! Geo Technologies Blog - http://www.ygeoblog.com

  • 8/7/2019 Clini1

    27/29

    27

    Questions

    Martin Barnes Data Manager Yahoo! Geo Technologies UK- [email protected]

    Gary Gale Head of UK Engineering - Yahoo! Geo Technologies

    - garyg@

    Walter Andrag Lead Engineer Yahoo! Geo Technologies UK

    - walter@

    Roman Kirillov SeniorEngineer Yahoo! Geo Technologies UK- kirillov@

    Lots of knowledgeable YDN people (S. Major April 09)

  • 8/7/2019 Clini1

    28/29

    28

    and Finally. The future.

    We will be at Where2.0 in San Jose later this month

    http://en.oreilly.com/where2009/

    Watch out for more news from Geo Technologies!

  • 8/7/2019 Clini1

    29/29

    29

    Happy Hacking

    Hack DayHaiku

    Give me your content

    With love, I will geoparse

    And return places