I am working with the geoplanet data rather than webservices.
I am looking to write a recursive query to get me up and down the tree but for it work in differant countries; I have hit a bit of a road block on Placetypes (which are how I am trying to determine my startpoint in the tree.) If a user picks a town I may want all suburbs in a town or all towns. suburbs etc in the same county for example.
The downloadable Geoplanet dataset lists Placetypes as Words like 'County' or 'Town' but they are localised to the country they are for (Departement for France for example.) Is there a map between all the possible PlaceTypes and the integer Place Type Codes as listed on http://developer.yahoo.com/geo/geoplanet/g...html#placetypes that is all encompassing? The wording on the API leaves room for it to be an incomplete mapping "Include"
The PlaceTypes in the data file are all in English:
Airport Colloquial Continent Country County Drainage Estate HistoricalCounty HistoricalState HistoricalTown Island LandFeature LocalAdmin Miscellaneous Ocean POI Sea Sport State Suburb Supername Timezone Town Zip Zone