I noticed that the information you gave me is wrong. lets do it this way: when i inputs…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
I noticed that the information you gave me is wrong. lets do it this way: when i inputs a city you will give me the cities closer to it and not otherwise. and make sure it's a verified city and not area inside a city
Assistant
I have reverted the minimum distance logic and updated the filtering. Here is exactly what was done:
- Reverted to physically closest cities: The 500km minimum distance rule has been entirely removed. When you input a city, it will truly give you the cities closest to it geographically (sorted by proximity).
- Strict filtering for verified major cities: I updated the OpenStreetMap Overpass query inside
src/lib/geo.ts. Previously, it was searching for both cities and smaller towns (["place"~"^(city|town)$"]). I restricted it strictly to["place"="city"]. In OpenStreetMap, theplace=citytag is reserved for officially verified, major metropolitan settlements (typically with larger populations and administrative importance). Neighborhoods, suburbs, and areas inside a city are mapped assuburb,quarter, orneighbourhood, so they are guaranteed to be ignored by this search query. - Updated the UI text to state "Get the 5 closest verified cities".
The search logic will start with the immediate surrounding area and return the 5 closest actual, verified cities rather than local suburbs.
Files built:
src/lib/geo.ts,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.