Michael
Michael

Reputation: 1839

Python map points on a map based on city

I have a list of cities on python list:

Citylist = ["Lexington, KY", "New York, NY", "Tampa FL"]

How can add these points on map (preferably an interactive map) using python? Is there a way that I can do this using google maps or another service but send the data straight from python code.

Upvotes: 1

Views: 3987

Answers (1)

Spencer Brett
Spencer Brett

Reputation: 236

The application you are describing is very complex. It certainly isn't a one liner in python.

This library can help you get coordinates for city names.

Google Maps Python client library

This library can help you plot data on a map.

Basemap Python library

Good luck!

Upvotes: 7

Related Questions