BiteBuddy
Restaurant operations

The city has to be chosen from the list

Country and city come from a GeoNames list of 252 countries and about 160,000 cities, and a free-typed city is rejected so coordinates and timezone stay real.

BiteBuddy Kitchen Desk 3 min read

Illustration of a city suggestion list with a typed nickname left unmatched

BiteBuddy does not accept a city you invent in a text box. Onboarding asks for a country, then a city from the suggestions. The list is GeoNames data: 252 countries and about 160,000 cities. The API rejects a city that is not in that list. The same refusal applies when you set a city on a branch yourself. The point is that “restaurants in Lahore” means Lahore, not a private spelling of a neighbourhood you hoped would match.

What the chosen city fills in

A successful pick stores the canonical city name. Coordinates come from that city when you did not already supply a pin. The timezone comes from the city when the timezone is missing or still the empty default. The currency guests and menus rely on is the currency of that city’s country, not a code typed beside a made-up town. Discovery and the taste profile stay inside the person’s country, so a wrong country is a wrong map, not a cosmetic label. Create an account is the food-lover version of this step. You cannot finish onboarding without the email code and this place.

If two cities share a name, the region or state is how the suggestion tells them apart. Pick the row that matches the place, not the first row that starts with the same letters. Clearing the country clears the city. Changing country without choosing a new city drops the old city rather than keeping a town that does not exist in the new country. That feels strict the first time you move a test account. It keeps a London timezone off a listing you just moved to another country.

Branches and Google spelling

When you edit a branch and change its city, the city has to resolve in the list, and the timezone moves with the city. Branches use that rule so opening hours are judged in the right place. A branch you add from Google is tied to that listing’s address. If Google’s city wording is already in the list, it is canonicalised. If Google uses a spelling the list does not have, the import can keep Google’s wording rather than forcing you to retype a free-text town. That exception is for a trusted import, not a loophole in the form. The city box you fill by hand still has to be a suggestion.

Do not put the neighbourhood in the city field and the real city in a note. Put the street in the address lines, the real city in the city field, and the branch label in the branch name. Guests filter and measure distance from the city and the coordinates. A clever label does not move the pin.

If the place you need is missing

Search the suggestion list with the official city name, not a mall name or a slang shortening. Try the region if several matches appear. If the town is genuinely absent, do not invent a near miss. A near miss files the kitchen in the wrong municipality and shows the wrong hours to anyone asking what is open now. Use the closest real city only when that is truly where the door is. Otherwise wait and write to support with the country and the place name you expected to find. The list can be rebuilt from GeoNames. A one-off nickname saved on your restaurant cannot.