Closed LoganWinston closed 9 years ago
@saleiva
@juanignaciosl
@rafatower
Basically, right now the SQL behind just searches for cities inside a country (by ISO2 code) and retrieves the one with more population.
We'd need to check if geonames includes all the info we need in order to filter by states or provinces or whatever.
I checked: column admin01 includes the states (abbreviated to iso2) in the USA case. In other countries like Spain, this column is not so straightforward and includes numbers for the autonomous communities.
Closing. We already do this :)
In the US we have cities like Portland (city) Maine (state) and Portland (city) Oregon (state). The geocoder should include State as a parameter.