Skip to content

A python dictionary containing most Swedish cities/villages and their GPS locations

Notifications You must be signed in to change notification settings

larsyngvelundin/SwedishCities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Swedish Cities

Had to gather this information for a project at work. It's not perfect, but something to work with.

List of cities/places is from an internal list.

I ran it against Wikipedia and Geohack to get population and coordinates.

Each city has the following:

  • checked - Just a marker for the code to know if it has already been checked
  • pop - Population from Wikipedia, values of 1 or -1 are placeholders if nothing else was found.
  • lat - Latitude from Geohack
  • lon - Longitude from Geohack
  • time - Travel time by car in minutes to the biggest cities within the same county. Calculated with Google Maps API
    • If time for a city is False, Google Maps didn't find a route between them

About

A python dictionary containing most Swedish cities/villages and their GPS locations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages