$npx skillfedfor your agent

basemap

Plot data on map projections with matplotlib

With conditionsPyPI Python ModulesReleased Jun 2025105.0K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl · basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl · basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v2.0.0 · released 2025-06-13 · Python <3.14,>=3.9 · 6 runtime deps: basemap_data, packaging, numpy, matplotlib, pyproj, pyshp

Yes, if you need to plot scientific or geographic data on real map projections with matplotlib. The package is actively maintained, has no known vulnerabilities, and offers straightforward installation via precompiled wheels. Medium install friction is acceptable for the functionality gained. Not necessary if you only need simple lat/lon scatter plots.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires basemap-data package for basic map assets; optional basemap-data-hires for high-resolution data.
  • Medium install friction due to compiled dependencies.
  • Precompiled wheels available for Windows, macOS (Intel and ARM), and Linux across Python 3.9 through 3.13.

License · maintenance · safety

MIT (permissive) — MIT license for the library; GEOS dynamic library bundled with wheels is LGPL-2.1-only. Permissive licensing allows commercial and private use with attribution.

last release 2025-06-13 (427 days) · last repo commit 2026-05-04 · 815 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 105,043 downloads/mo, #12,725 on PyPI

Verify before relying

import basemap
import matplotlib.pyplot as plt
import numpy

# Create a Basemap instance with desired projection
# Add geographic features and plot data
plt.show()
  • Specific syntax and parameters for common projection types and coordinate transformations
  • Performance characteristics with large datasets or high-resolution projections
  • Current status and usage of optional OWSLib integration for wmsimage method
  • Details on fillcontinents workaround using drawlsmask method
Same gist for agents: .md · .json

What it is and what it does

Basemap is a matplotlib toolkit for plotting data on map projections. It wraps geographic functionality—coastlines, political boundaries, coordinate transformations—around matplotlib's plotting engine, letting you render scientific and geographic data directly onto maps with support for various projections. The package depends on numpy, matplotlib, pyproj for coordinate system handling, and pyshp for shapefile support, plus basemap-data for essential map assets.

It's used when you need to visualize spatial data on actual geographic coordinates rather than abstract Cartesian grids. The library handles projection mathematics and provides ready-made geographic features so you can focus on your data layer. Installation is straightforward via pip with precompiled wheels available for current Python versions.

Use it for

  • Plot weather or climate data on geographic maps with proper projections
  • Visualize seismic events or geological survey data on regional or global maps
  • Create publication-quality maps for scientific papers with coastlines and borders
  • Display GPS trajectories or ship routes on map projections
  • Generate maps showing regional statistics by country or state

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to plot scientific or geographic data on real map projections with matplotlib.

The package is actively maintained, has no known vulnerabilities, and offers straightforward installation via precompiled wheels. Medium install friction is acceptable for the functionality gained. Not necessary if you only need simple lat/lon scatter plots.

Install

basemap on PyPI

Before you install

Medium install friction due to compiled dependencies. Precompiled wheels available for Windows, macOS (Intel and ARM), and Linux across Python 3.9 through 3.13. Actively maintained with last commit 2026-05-04.

Requires basemap-data package for basic map assets; optional basemap-data-hires for high-resolution data.

License in practice

MIT license for the library; GEOS dynamic library bundled with wheels is LGPL-2.1-only. Permissive licensing allows commercial and private use with attribution.

Quickstart

import basemap
import matplotlib.pyplot as plt
import numpy

# Create a Basemap instance with desired projection
# Add geographic features and plot data
plt.show()

Verify before relying

  • Specific syntax and parameters for common projection types and coordinate transformations
  • Performance characteristics with large datasets or high-resolution projections
  • Current status and usage of optional OWSLib integration for wmsimage method
  • Details on fillcontinents workaround using drawlsmask method

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.14,>=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
6 packages
basemap_datapackagingnumpymatplotlibpyprojpyshp
MaintenanceActively maintained 427 days since the last release
Last repo commit
First released
Downloads105,043 / month, #12,725 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Python Modules

Evidence: basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl; basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl; basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; basemap-2.0.0-cp310-cp310-win_amd64.whl; basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl; basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl; basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; basemap-2.0.0-cp311-cp311-win_amd64.whl; basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl; basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl; basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; basemap-2.0.0-cp312-cp312-win_amd64.whl; basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl; basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl; basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; basemap-2.0.0-cp313-cp313-win_amd64.whl; basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl; basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl; basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; basemap-2.0.0-cp39-cp39-win_amd64.whl

Tags

Capabilities
matplotlib map projectionsgeographic plottingcoastlines and boundariescartographic visualizationGIS mapping librarymap rendering pythonprojection-based plotting
Topics
cartographygeospatialmatplotlib-extension
PyPI keywords
GISmapsplots

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “geographic plotting”

  • basemapBasemap renders geographic data on matplotlib figures using map…
  • CartopyCartopy makes it easy to draw maps for data analysis and…
  • pyechartspyecharts wraps Apache ECharts to generate interactive data…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also basemap-data · Cartopy · contextily · pyproj · matplotlib · plotbin · cmap · splot · folium · cmocean