I asked this on stackoverflow but did not get a really clear answer. I am not really familiar with GIS systems in python. I am looking for a library to do the following:
Lets say I have a pandas data frame with one column of street addresses and another of labeled categorical or numerical data. Something like the following for San Francisco:
df=pd.DataFrame({'Location': ['1 Dr Carlton B Goodlett Place','1390 Market Street','1100 Fillmore St' ],
'Type': ['G', 'G','C']})
And I want to plot them on a map of San Francisco with the 'Type' column being in red for the data in 'G' and blue for 'C'. How would I a simple plot like this? How would I also include streets on the map? Can an simple example be provided?
I found a library called Geopy to change the data to longitude & latitude if it helps to convert the data. Also read that matplotlib
can do this with basemap
but it is for areas larger than cities.
Is there a quick way I can do this? Would I have to use ARCGIS?