
Folium — Folium 0.20.0 documentation - GitHub Pages
Folium makes it easy to visualize data that’s been manipulated in Python on an interactive leaflet map. It enables both the binding of data to a map for choropleth visualizations as well as …
Getting started — Folium 0.20.0 documentation - GitHub Pages
GeoJSON/TopoJSON overlays # Folium supports both GeoJSON and TopoJSON data in various formats, such as urls, file paths and dictionaries.
Map — Folium 0.20.0 documentation - GitHub Pages
[3]: folium.Map( location=(-38.625, -12.875), zoom_control=False, ) [3]: Make this Notebook Trusted to load map: File -> Trust Notebook Limits # You can set limits, so the map won’t …
API reference — Folium 0.20.0 documentation - GitHub Pages
Map tileset to use. Folium has built-in all tilesets available in the xyzservices package. For example, you can pass any of the following to the “tiles” keyword: ”OpenStreetMap” ”CartoDB …
User guide — Folium 0.20.0 documentation - GitHub Pages
The user guide covers different parts of basic usage of Folium. Each page focuses on a single topic and outlines how it is implemented in Folium, with reproducible examples.
Advanced guide — Folium 0.20.0 documentation - GitHub Pages
Advanced guide # Using folium with flask Integrating Jenks Natural Break Optimization with choropleth Subplots Using colormaps Scrolling beyond the world edge Panes and …
Tiles — Folium 0.20.0 documentation - GitHub Pages
Tiles # Built-in tilesets # [1]: import folium lon, lat = -38.625, -12.875 zoom_start = 8 [2]: folium.Map(location=[lat, lon], tiles="OpenStreetMap", zoom_start=zoom_start) [2]: Make this …
ImageOverlay — Folium 0.20.0 documentation - GitHub Pages
Now, let’s try to add a line at latitude 45°, and add a polyline to verify it’s well rendered. We’ll need to specify origin='lower to inform folium that the first lines of the array are to be plotted at the …
Creating a polygon from a list of points — Folium 0.20.0 …
More specific, to create a polygon that wraps around those points in a meaningful manner. So, there are several sources in the web explaining how to create the shape (see sources at end …
Using colormaps — Folium 0.20.0 documentation
Advanced guide Using colormaps Using colormaps# A few examples of how to use folium.colormapin choropleths. Let’s load a GeoJSON file, and try to choropleth it. [2]: