I am not very familiar with GIS systems in python. I am looking for a library to do the following:
Suppose I have a pandas data frame with one column of street addresses and another one of the categorical or numerical data tagged. Something like 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 build them on a map of San Francisco, where the Type column is in red for the data in āGā and blue for āCā. How could I make such a simple plot? How will I also include streets on the map? Could there be a simple example?
I found a library called Geopy to change the data to longitude and latitude if it helps to convert the data. Also read what matplotlibcan do this with help basemap, but for areas, big cities.
source
share