File: README.md

package info (click to toggle)
basemap 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 213,536 kB
  • sloc: python: 11,826; sh: 45; makefile: 41
file content (104 lines) | stat: -rw-r--r-- 3,102 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# 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`]:
```sh
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`]:
```sh
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](https://github.com/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).


[`pip`]:
https://pip.pypa.io/
[`conda`]:
https://github.com/conda/conda

[`matplotlib`]:
https://matplotlib.org/
[`basemap`]:
https://matplotlib.org/basemap/
[`basemap-data`]:
https://pypi.org/project/basemap-data
[`basemap-data-hires`]:
https://pypi.org/project/basemap-data-hires
[`OWSLib`]:
https://pypi.org/project/OWSLib

[`basemap` installation instructions]:
https://matplotlib.org/basemap/stable/users/installation.html
[`ortho_demo.py`]:
https://github.com/matplotlib/basemap/blob/v2.0.0/doc/examples/ortho_demo.py

[MIT]:
https://spdx.org/licenses/MIT.html
[LGPL-2.1-only]:
https://spdx.org/licenses/LGPL-2.1-only.html

[`LICENSE`]:
https://github.com/matplotlib/basemap/blob/v2.0.0/LICENSE
[`LICENSE.geos`]:
https://github.com/matplotlib/basemap/blob/v2.0.0/LICENSE.geos