What data should I use to create an autofill "destination" field like Facebook or the Trip Advisor s
Posted
by sbar
on Stack Overflow
See other posts from Stack Overflow
or by sbar
Published on 2010-06-10T11:18:51Z
Indexed on
2010/06/10
11:23 UTC
Read the original article
Hit count: 253
In order to create a “destination” auto filter input field on our website, I need a data source that provides a hierarchical data set of Region, Country, County/State, City and Town (plus an area like the Peak District National Park if at all possible)
I know sites like Trip Advisor and Facebook seem to have very robust datasets for this. When you type, it brings up a match list with the hierarchy displayed (e.g. if you type Boston you get 6 results as there are multiply places called Boston – the hierarchy allows you to pick the correct option)
There are many data sources out there but they either lack hierarchy or do not seem to be easily updatable or complete.
I had expected this to be an easy task given the amount of site that have a destination or location autofill field. However, i cannot find a datasource or method that works.
any help would be much appreciated.
Tks,
© Stack Overflow or respective owner