Create Interactive maps with your geodataframe

geopatra

Geopatra extends geopandas for interactive mapping and attempts to wrap the goodness of amazing mapping libraries like Folium, Plotly, Kepler.gl, hvplot etc for rapidly creating interactive maps with Geodataframes

You can already create interactive maps easily with geopandas and Folium/ Plotly/ Kepler.gl. Geopatra is merely meant to make this easier and is more geared towards ease and currently does not support complex maps or intricate style control

Installation

Everything is always a pip away

pip install geopatra

Basic Usage

To quickly plot a geodataframe with folium, you gotta understand workflows in geopandas and folium.

import folium
import geopandas
world = geopandas.read_file(geopandas.datasets.get_path('naturalearth_lowres'))
m = folium.Map(location = [4,10], zoom_start = 3)
folium.GeoJson(world.__geo_interface__).add_to(m)

With Geopatra all the parameters you set with folium become

 

 

 

To finish reading, please visit source site