Skip to content

Show State in US City Names #142

Description

@amcginni

It is common for city names in the US to be re-used across multiple states. Currently, meto-qt does not show the state name or abbreviation of US cities. This has users needing to pick the correct lat/lon values from a list of cities of the same name. For example, apparently there are 5 cities named Syracuse in the United States:
image

Syracuse, New York is what I am after in this example, but a search for "Syracuse, NY" returns no results, and "Syracuse, New York" simply returns the top five cities in the world with names like Syracuse, including two in Italy.

What is proposed here is to display the two-digit state abbreviation in the name of any US city, so the above example of the Find City dialog might look something like this:
screen

I see that the Open Weather Map website also shows only the city name and country, so it might not be as easy as simply displaying displaying some value we're already getting back. I see too that the Open Weather Map API supports queries by lat/lon. Maybe this could be accomplished by querying some third-party API like GeoNames for the place names and feeding the lat/lon into Open Weather Map?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions