Skip to content

Create list of cities #1

Description

@mszell

Taking further https://github.com/orgs/BikeNetKit/discussions/4:

Ultimately the list of cities could be generated from here: https://en.wikipedia.org/wiki/List_of_towns_and_cities_with_100,000_or_more_inhabitants
Or just the 505 1M+ cities: https://en.wikipedia.org/wiki/List_of_cities_with_over_one_million_inhabitants ∪ ~200 capitals: https://en.wikipedia.org/wiki/List_of_national_capitals

However, as a first step, start with European capitals: https://en.wikipedia.org/wiki/List_of_national_capitals where Continent==Europe

This should create a csv file of: slug,name,name_en,nominatimstring where the nominatimstring resolves to the correct polygon on nominatim.
For example: copenhagen,København,Copenhagen,Københavns Kommune

Probably makes sense to already add some more meta-info at this step that can be useful for the viz, like: lat,lon,population,country,continent,area,mbb_width,mbb_height..

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions