Plot data on map projections with matplotlib
Project description
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file basemap-2.0.0.tar.gz.
File metadata
- Download URL: basemap-2.0.0.tar.gz
- Upload date:
- Size: 150.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
923a643a26db6e1704fb7ca45a7636fb190dbc123ad8d23401057a8f5b884bd8
|
|
| MD5 |
f3a6cf4c5b4b0699d9da072d4b5e453b
|
|
| BLAKE2b-256 |
50e1f097da590e050be87ba0f9073b0e1bd706a5b8bd446347af28e95effc8e5
|
File details
Details for the file basemap-2.0.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: basemap-2.0.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 439.8 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f27ea078a12f261157b9e9a0d8b9308f777bf878fa8148d69d434c91e550eae
|
|
| MD5 |
24a109ccb337794f3c4f89c965dd5e34
|
|
| BLAKE2b-256 |
6289b8520c45b35ee8a1968a50ede87721d93b3de4ab2401c774e125408bf16a
|
File details
Details for the file basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9894b9040541cffefc332bddf4bf5e415696479b4cb737204ff4f13e803d53c0
|
|
| MD5 |
cefe005cfb28c906f4ae129f9ce1cf5e
|
|
| BLAKE2b-256 |
22a5aca0b554cfe1d6cfae7cddf83c44d60a04d9befb4107156f9e9236e05fac
|
File details
Details for the file basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: basemap-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 581.4 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
815ae9961434be01fa462822038c4d5e24546b57d07f6841e1346d74594a58c0
|
|
| MD5 |
62a894877e5c6a0800b04589ad7a4a03
|
|
| BLAKE2b-256 |
1d2cc8b7be7e9373019a4b8a9bf336673adebbb203eec37450901e63c842b4a4
|
File details
Details for the file basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 657.3 kB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acd8f709fcd124954de02d83c8310bae0afe386e781111b8aa4665daa85fef7e
|
|
| MD5 |
b814ef6bd2f08ed957cb7d083b94945b
|
|
| BLAKE2b-256 |
a497abdf6d85115005cca215b7f394bd4e0a2d218d4d0acb744a95917022e3ad
|
File details
Details for the file basemap-2.0.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: basemap-2.0.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 439.8 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b07a126fe0faa128379d5dde2f8007ceb94eaea2d80dc42aebfc039ce51299c
|
|
| MD5 |
eaa9afc3d9ce77d32e56ed9bfb1054bc
|
|
| BLAKE2b-256 |
e9af4503d6cce2dd492972b8b437b15819aab8529cb373252840f8f98734c8fc
|
File details
Details for the file basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
688e35e2049d8a469f6d7dc0a7ce9af396e06cec299de59ba2e2788bd9a39c70
|
|
| MD5 |
29b1a41a13b0dbd6954fa50fc263ecbf
|
|
| BLAKE2b-256 |
3a7471345ca9757aaf63a29606550d5c23b1dc951ea1f72f97975fed3f4225bf
|
File details
Details for the file basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: basemap-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 581.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba5b0b7d234b15dd20026f64886da2aafb90be3282410006d8c6c7d8b4cc0798
|
|
| MD5 |
b8678f72f35a5ddd973d9d4f7d0864f2
|
|
| BLAKE2b-256 |
c834489aa67ace0887ef4ed96e0ab88101caa96da240ab80b9cb486e33d06b29
|
File details
Details for the file basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl
- Upload date:
- Size: 657.7 kB
- Tags: CPython 3.12, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c2be63c04e4da698b51f0773d4f9a711dd60afe842045dc9a5e8774c9f5bc4
|
|
| MD5 |
cf5308168a86bf2df8c51fbc5bae702a
|
|
| BLAKE2b-256 |
20ea7e9ce423011f9106009111b7a6d39cde85573cb4f51c0f6ad313e6682886
|
File details
Details for the file basemap-2.0.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: basemap-2.0.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 439.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4661f00a9250e379c39260ad8bd5ab547dc34d4e69df8b83723d480da9a81e5
|
|
| MD5 |
d53c12ad6329657135ee804a95a2f4b6
|
|
| BLAKE2b-256 |
2b937b19f9aed1b2925b903e722d870c6faa644edbc5b922728b1c94a5267409
|
File details
Details for the file basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8b9f97f31fd2c7dac4d46bb35aeef8166fba7f048aba0d35eaa3f0213b60212
|
|
| MD5 |
73b71ff31b8c45e722d10d1f1302c647
|
|
| BLAKE2b-256 |
5fd6c04894f634b3dc769a201dad92a9f3c09de333ae10f1434ce38c3cf0052a
|
File details
Details for the file basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: basemap-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 581.9 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a05c7fc7b47c6cc34bd08acff0b11d63faff7319d53399e7dcb4d499009b74
|
|
| MD5 |
d36eed9d2273e92edae8219644b9c02d
|
|
| BLAKE2b-256 |
bc99485838e784f69e87f4f4140cba507259a341e65c1529f48c99feea59225e
|
File details
Details for the file basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 658.2 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c20eebe8d9eb6989ae0ccfa193fcb863897a3e5bba8ba759ffec4b2f2f536d
|
|
| MD5 |
42d4a100e0c2ffb691f6e8bc1b372568
|
|
| BLAKE2b-256 |
9c06b863a0d0b8f7b0bb1f0218c782112a203d5089eaaf597c9038d336d9fd09
|
File details
Details for the file basemap-2.0.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: basemap-2.0.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 439.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edfbcc0a866603d7889e675cc90c25bd65a201c46188b49e8d9a61f6552947fa
|
|
| MD5 |
76d5114789a54d09cc32b7896632abba
|
|
| BLAKE2b-256 |
9c234cc6153e1019d8bc0e3ed19996028c25fcbcc123fc628c434843ba012909
|
File details
Details for the file basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfc743dae86e609303ff14125c4931f2b11e7938e83c72c2b5fb5d2477c7a8b
|
|
| MD5 |
dde3eeec1a7d1c493e689a2ceb6d3955
|
|
| BLAKE2b-256 |
1064ede56da486681d9e1566fc5137be2e61d8f2bb31dbc168acf7b2b99dd19c
|
File details
Details for the file basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: basemap-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 581.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644eb3d363d0c3bc136f1b90be3853cbc19e3da65f3218efc96fe7c67a88e296
|
|
| MD5 |
2b81743a59e198b38b68845ad85c0548
|
|
| BLAKE2b-256 |
60ee3df3c6daba256790a73c19fb3c853087991f72db4fd4d3d814b6e6b042d3
|
File details
Details for the file basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 657.6 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48b5600402d170941b94f9c5d0040592acfcb66f2baa18013dcecbc1cb179baa
|
|
| MD5 |
2bd078c609da83eb87851ca948097373
|
|
| BLAKE2b-256 |
c8fd8e8421fd5b97f8c8079aa0cc0ea6cb480bcd6a4b9a67f3a36174bbf6f246
|
File details
Details for the file basemap-2.0.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: basemap-2.0.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 439.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db20ed37e0c52755832189f41fe9ec2c24eae27428d3c50c44ab4f516ff8d8c4
|
|
| MD5 |
3f8ee60360d291a3ad344a75e07dc17c
|
|
| BLAKE2b-256 |
ecef0e18965bb9e924256ca13228182dcdcfb0f5bf0373bf25e3fb65b1af90c9
|
File details
Details for the file basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e327d523726521387a03c3c237f71e1001c863f4228a75e2304516a223f3793d
|
|
| MD5 |
c5465e3babbdc1b0e2603a503dcf0109
|
|
| BLAKE2b-256 |
feb161e87303c1e94c35b672b9ec75eec3a74a74c8f2d1a2473873dc9492f5dc
|
File details
Details for the file basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: basemap-2.0.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 582.0 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
313a190cb716bb32ac84859e7252e371de58c2e3f2bd39cd158cea653ea8c95a
|
|
| MD5 |
a3e2d5bfadbb73beaf63129a3e2a58e9
|
|
| BLAKE2b-256 |
c9a56b3f3289dfe4805215d05095a9142f0a64b9556b285619a7641a38494426
|
File details
Details for the file basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl.
File metadata
- Download URL: basemap-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 658.4 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74c86eae6d2104b8689789252ad53500935b45b129e270942bf1ec0f1c5530b
|
|
| MD5 |
aba68610c0ed94b3c7ad253380295793
|
|
| BLAKE2b-256 |
53b31d6bb4a49c778ef5b9ade2200f0188ec88171cdd0005ce13a640c8d73a89
|