skillfed

basemap-data

Data assets for matplotlib basemap

basemap-data v2.0.0 97.7K downloads/30d#13,132 on PyPI815
Copyleft license LGPL-3.0-or-later Active released

What it is and what it does

basemap-data is a data-only support package that bundles geographic datasets needed by the basemap library. It contains coastline, political boundary, lake, river, and land-sea mask data extracted from the GSHHG dataset (version 2.3.6) via GMT, plus EPSG coordinate reference system definitions. The package itself provides no Python API; instead, it installs data files that basemap consults at runtime to render map projections with geographic features.

This is a pure-data package with zero runtime dependencies, designed to be installed alongside basemap to enable map visualization in matplotlib. It targets scientific and educational users who need to plot data on geographic map projections with accurate coastlines and political boundaries.

Use it for:

  • Installing as a dependency when setting up basemap for plotting data on map projections with coastlines
  • Providing geographic boundary and coastline data for cartographic visualization in scientific research
  • Supporting educational applications that require accurate political and geographic boundaries in matplotlib plots
  • Enabling GIS-style map rendering in data analysis workflows that use basemap for geospatial visualization

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides geographic data assets (coastlines, political boundaries, land-sea masks) required by the basemap library to render map projections in matplotlib.

Yes, if you are using basemap for map projections in matplotlib. This is a required data package with no alternatives; install it as a dependency of basemap rather than standalone. Low friction, actively maintained, and free of known vulnerabilities. The copyleft license (LGPL-3.0-or-later on geographic data) is standard for such datasets and poses no practical barrier for most users.

Install

basemap-data on PyPI

pip

pip install basemap-data

uv

uv add basemap-data

poetry

poetry add basemap-data

Installing basemap-data

Before you install

Low install friction with a pure Python wheel distribution. Actively maintained as of 2026-05-04 with stable production status.

License in practice

Dual-licensed under LGPL-3.0-or-later (for GSHHG-derived geographic data) and MIT (for other assets including EPSG data). Copyleft treatment means derivative works must comply with LGPL terms; MIT portions have no such restriction.

Quickstart

pip install basemap-data

# basemap-data provides data files; typical use requires basemap package
# which imports and uses these assets internally

Requires Python 3.9 or later (supports_current); intended as a dependency of basemap rather than direct use

Verify before relying

  • Whether basemap itself is installed separately or whether this package can be used standalone
  • The exact size and disk footprint of the installed data assets
  • Whether the GSHHG version 2.3.6 data is current for typical cartographic use cases

Package facts

License LGPL-3.0-or-later (copyleft)
Python support supports the current Python release (<4,>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 427 days since the last release
Last repo commit
First released
Downloads 97,718/month — #13,132 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: basemap_data-2.0.0-py3-none-any.whl

Keywords: GIS, maps, plots

Development Status :: 5 - Production/StableIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Python Modules

Tags

basemap data assetsmap coastlines boundariesgeographic visualization datamatplotlib map projectionsGIS map datacartographic data filesbasemap support package
geographic-datacartographybasemap-support

More Python Modules packages