Skip to main content

basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib.

Installation

Precompiled binary wheels for Windows, GNU/Linux and MacOS are available on PyPI and can be installed with pip:

python -m pip install basemap

For specific details on how to install basemap through conda or from source, please refer to the basemap installation instructions in the documentation.

Requirements

This package depends on basemap-data with the basic basemap data assets supporting the essential functionality.

This package depends optionally on basemap-data-hires with the high-resolution data assets, which can be installed manually with pip:

python -m pip install basemap-data-hires

This package depends optionally on OWSLib for the Basemap method Basemap.wmsimage.

License

The library is licensed under the terms of the MIT license (see LICENSE). The GEOS dynamic library bundled with the package wheels is provided under the terms of the LGPL-2.1-only license as given in LICENSE.geos.

Documentation

See https://matplotlib.org/basemap/.

See scripts in the doc/examples directory for example usage.

Read the FAQ and/or email the matplotlib-users mailing list if you have problems or questions.

Contact

Ben Root ben.v.root@gmail.com

Víctor Molina García (@molinav)

Thanks

Special thanks to John Hunter, Andrew Straw, Eric Firing, Rob Hetland, Scott Sinclair, Ivan Lima, Erik Andersen, Michael Hearne, Jesper Larsen, Ryan May, David Huard, Mauro Cavalcanti, Jonas Bluethgen, Chris Murphy, Pierre Gerard-Marchant, Christoph Gohlke, Eric Bruning, Stephane Raynaud, Tom Loredo, Patrick Marsh, Phil Elson, and Henry Hammond for valuable contributions.

Known bugs

The Basemap.fillcontinents method doesn't always do the right thing. Matplotlib always tries to fill the inside of a polygon. Under certain situations, what is the inside of a coastline polygon can be ambiguous, and the outside may be filled instead of the inside. A workaround is to change the map projection region slightly or mask the land areas with the Basemap.drawlsmask method instead of filling the coastline polygons (this is illustrated in the ortho_demo.py example).

Release files for basemap 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basemap 2.0.0
File Size Uploaded
basemap-2.0.0.tar.gz 150.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for basemap 2.0.0
File
basemap-2.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
basemap-2.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
basemap-2.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
basemap-2.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
basemap-2.0.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 13.9 MB

Release files / basemap-2.0.0.tar.gz

Download URL basemap-2.0.0.tar.gz
Size 150.2 kB
Tags Source
SHA-256 checksum
How to use checksums
923a643a26db6e1704fb7ca45a7636fb190dbc123ad8d23401057a8f5b884bd8
BLAKE2b-256 checksum
How to use checksums
50e1f097da590e050be87ba0f9073b0e1bd706a5b8bd446347af28e95effc8e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp313-cp313-win_amd64.whl

Download URL basemap-2.0.0-cp313-cp313-win_amd64.whl
Size 439.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
5f27ea078a12f261157b9e9a0d8b9308f777bf878fa8148d69d434c91e550eae
BLAKE2b-256 checksum
How to use checksums
6289b8520c45b35ee8a1968a50ede87721d93b3de4ab2401c774e125408bf16a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9894b9040541cffefc332bddf4bf5e415696479b4cb737204ff4f13e803d53c0
BLAKE2b-256 checksum
How to use checksums
22a5aca0b554cfe1d6cfae7cddf83c44d60a04d9befb4107156f9e9236e05fac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 581.4 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
815ae9961434be01fa462822038c4d5e24546b57d07f6841e1346d74594a58c0
BLAKE2b-256 checksum
How to use checksums
1d2cc8b7be7e9373019a4b8a9bf336673adebbb203eec37450901e63c842b4a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 657.3 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
acd8f709fcd124954de02d83c8310bae0afe386e781111b8aa4665daa85fef7e
BLAKE2b-256 checksum
How to use checksums
a497abdf6d85115005cca215b7f394bd4e0a2d218d4d0acb744a95917022e3ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp312-cp312-win_amd64.whl

Download URL basemap-2.0.0-cp312-cp312-win_amd64.whl
Size 439.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6b07a126fe0faa128379d5dde2f8007ceb94eaea2d80dc42aebfc039ce51299c
BLAKE2b-256 checksum
How to use checksums
e9af4503d6cce2dd492972b8b437b15819aab8529cb373252840f8f98734c8fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
688e35e2049d8a469f6d7dc0a7ce9af396e06cec299de59ba2e2788bd9a39c70
BLAKE2b-256 checksum
How to use checksums
3a7471345ca9757aaf63a29606550d5c23b1dc951ea1f72f97975fed3f4225bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 581.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba5b0b7d234b15dd20026f64886da2aafb90be3282410006d8c6c7d8b4cc0798
BLAKE2b-256 checksum
How to use checksums
c834489aa67ace0887ef4ed96e0ab88101caa96da240ab80b9cb486e33d06b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 657.7 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
51c2be63c04e4da698b51f0773d4f9a711dd60afe842045dc9a5e8774c9f5bc4
BLAKE2b-256 checksum
How to use checksums
20ea7e9ce423011f9106009111b7a6d39cde85573cb4f51c0f6ad313e6682886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp311-cp311-win_amd64.whl

Download URL basemap-2.0.0-cp311-cp311-win_amd64.whl
Size 439.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e4661f00a9250e379c39260ad8bd5ab547dc34d4e69df8b83723d480da9a81e5
BLAKE2b-256 checksum
How to use checksums
2b937b19f9aed1b2925b903e722d870c6faa644edbc5b922728b1c94a5267409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a8b9f97f31fd2c7dac4d46bb35aeef8166fba7f048aba0d35eaa3f0213b60212
BLAKE2b-256 checksum
How to use checksums
5fd6c04894f634b3dc769a201dad92a9f3c09de333ae10f1434ce38c3cf0052a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 581.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35a05c7fc7b47c6cc34bd08acff0b11d63faff7319d53399e7dcb4d499009b74
BLAKE2b-256 checksum
How to use checksums
bc99485838e784f69e87f4f4140cba507259a341e65c1529f48c99feea59225e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 658.2 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c2c20eebe8d9eb6989ae0ccfa193fcb863897a3e5bba8ba759ffec4b2f2f536d
BLAKE2b-256 checksum
How to use checksums
9c06b863a0d0b8f7b0bb1f0218c782112a203d5089eaaf597c9038d336d9fd09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp310-cp310-win_amd64.whl

Download URL basemap-2.0.0-cp310-cp310-win_amd64.whl
Size 439.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
edfbcc0a866603d7889e675cc90c25bd65a201c46188b49e8d9a61f6552947fa
BLAKE2b-256 checksum
How to use checksums
9c234cc6153e1019d8bc0e3ed19996028c25fcbcc123fc628c434843ba012909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5dfc743dae86e609303ff14125c4931f2b11e7938e83c72c2b5fb5d2477c7a8b
BLAKE2b-256 checksum
How to use checksums
1064ede56da486681d9e1566fc5137be2e61d8f2bb31dbc168acf7b2b99dd19c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
Size 581.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
644eb3d363d0c3bc136f1b90be3853cbc19e3da65f3218efc96fe7c67a88e296
BLAKE2b-256 checksum
How to use checksums
60ee3df3c6daba256790a73c19fb3c853087991f72db4fd4d3d814b6e6b042d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 657.6 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
48b5600402d170941b94f9c5d0040592acfcb66f2baa18013dcecbc1cb179baa
BLAKE2b-256 checksum
How to use checksums
c8fd8e8421fd5b97f8c8079aa0cc0ea6cb480bcd6a4b9a67f3a36174bbf6f246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp39-cp39-win_amd64.whl

Download URL basemap-2.0.0-cp39-cp39-win_amd64.whl
Size 439.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
db20ed37e0c52755832189f41fe9ec2c24eae27428d3c50c44ab4f516ff8d8c4
BLAKE2b-256 checksum
How to use checksums
ecef0e18965bb9e924256ca13228182dcdcfb0f5bf0373bf25e3fb65b1af90c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e327d523726521387a03c3c237f71e1001c863f4228a75e2304516a223f3793d
BLAKE2b-256 checksum
How to use checksums
feb161e87303c1e94c35b672b9ec75eec3a74a74c8f2d1a2473873dc9492f5dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl
Size 582.0 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
313a190cb716bb32ac84859e7252e371de58c2e3f2bd39cd158cea653ea8c95a
BLAKE2b-256 checksum
How to use checksums
c9a56b3f3289dfe4805215d05095a9142f0a64b9556b285619a7641a38494426
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Size 658.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a74c86eae6d2104b8689789252ad53500935b45b129e270942bf1ec0f1c5530b
BLAKE2b-256 checksum
How to use checksums
53b31d6bb4a49c778ef5b9ade2200f0188ec88171cdd0005ce13a640c8d73a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

2.0.0 This release

21 release files

1.4.1

45 release files

1.3.9

33 release files

1.3.8

33 release files

1.3.6

33 release files

1.3.5

29 release files

1.3.4

29 release files

1.3.3

29 release files

1.3.2

29 release files

1.3.1

29 release files

1.3.0

25 release files

1.0.7

1.0.6

1.0.5

1.0.4

1.0.3

1.0.2

1.0.1

1.0

0.99.4

0.99.3

0.99.2

0.99.1

0.99

0.9.9.1

0.9.8

0.9.7

0.9.6

0.9.5

0.9.4

0.9.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page