5 ms·
> City not found. Make sure you use the format: City, Country (Paris, France) It might be good to rework this—cities only, and provide a drop-down box for user
by delta_p_delta_x 2y ago
> City not found. Make sure you use the format: City, Country (Paris, France)
It might be good to rework this—cities only, and provide a drop-down box for users to select. Having city, country is a bit superfluous for people who live in city-states.
- rafram 2y agoYou want a dropdown listing every city in the world?
- delta_p_delta_x 2y agoI meant a text box that users could type in, and a drop-down that returned filtered results from the input.
- salomonk_mur 2y agoYes, that is the standard UI for this problem. You select a country, then that loads a the country's divisions ilfor another select box, and that load the cities for that division. Another way is auto complete for the city with just country preselected.
- rafram 2y agoI see that UI on some European sites. It’s basically nonfunctional for the US, at least. (Especially the latter approach with no “division” narrowing.) There are hundreds of towns with duplicate names, people might want to use region names that don’t exist politically (“Bay Area”), and people can be in incorporated towns (San Francisco) or unincorporated areas that get assigned Census Bureau names based on usage (Bay Point). There is just no way to create an autocomplete list that encompasses every valid place, and it’s a waste of time to try.
- sebastiennight 2y agoI'm afraid there are... 1,700+ cities[0] in the world called "San José" That's quite a bit of scrolling you'd be forcing those people to do. [0]: https://www.ncesc.com/geographic-pedia/what-is-the-most-common-city-name/ https://www.ncesc.com/geographic-pedia/what-is-the-most-comm...
- delta_p_delta_x 2y agoSee reply below.
- sebastiennight 2y agoYour reply says > I meant a text box that users could type in, and a drop-down that returned filtered results from the input. That's what I'm objecting to. If I type in "San Jose", are you going to show me 1,700 "San Jose" lines where I'm supposed to find the right one?