Skip to main content

Interactive Maps with Geopandas

Project description

alt text

Travis (.org) GitHub Workflow Status Documentation Status image PyPI - Python Version image

Create Interactive maps 🗺️ with your geodataframe

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

You can already create interactive maps easily with geopandas and Folium/ Plotly/ 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


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)

With Geopatra all the parameters you set with folium become optional so you don't have to care about folium

import geopatra
m = world.folium.plot()

Now you have a folium map object, which you can now use for more complex mapflows

Check out docs for more examples


Clone the repo

git clone

Run pre-commit install to install pre-commit into your git hooks. pre-commit will now run on every commit

Install the package with the amazing poetry

poetry install

Make the bla-bla-bla changes to code and run the tests and when full moon is nigh, build & publish

poetry build
poetry publish

To update versions

poetry add geopandas@^0.8.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for geopatra, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size geopatra-0.2.0.tar.gz (17.9 kB) File type Source Python version None Upload date Hashes View
Filename, size geopatra-0.2.0-py3-none-any.whl (21.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page