@@ -16,7 +16,7 @@ Basic requirements are the following:
16
16
Optional requirements include:
17
17
18
18
* [ OWSLib] ( https://github.com/geopython/OWSLib ) . It is needed for the
19
- ` Basemap.wmsimage ` function .
19
+ method ` Basemap.wmsimage ` .
20
20
21
21
* [ Pillow] ( https://github.com/python-pillow/Pillow ) . It is needed for
22
22
the methods ` Basemap.bluemarble ` , ` Basemap.etopo ` ,
@@ -25,7 +25,7 @@ Optional requirements include:
25
25
## Installation
26
26
27
27
The ` basemap-data ` and ` basemap-data-hires ` packages are available in
28
- PyPI and can be installed with [ ` pip ` ] ( https:/pip.pypa.io/ ) :
28
+ PyPI and can be installed with [ ` pip ` ] ( https:// pip.pypa.io/ ) :
29
29
``` sh
30
30
python -m pip install basemap-data
31
31
python -m pip install basemap-data-hires
@@ -37,7 +37,8 @@ available in PyPI (architectures x86 and x64, Python 2.7 and 3.5+):
37
37
python -m pip install basemap
38
38
```
39
39
40
- Otherwise, you will need to install ` basemap ` from source as follows:
40
+ Otherwise, you will need to install ` basemap ` from its source hosted
41
+ on GitHub as indicated in the following steps:
41
42
42
43
1 . Install pre-requisite Python modules:
43
44
- [ cython] ( https://github.com/cython/cython )
@@ -51,7 +52,8 @@ Otherwise, you will need to install `basemap` from source as follows:
51
52
```
52
53
53
54
3 . Build the [ GEOS] ( https://github.com/libgeos/geos ) library. You may
54
- use the helper provided in ` utils ` , i.e.
55
+ use the helper provided in ` utils ` , (please note that you need
56
+ [ ` CMake ` ] ( https://cmake.org/ ) and a working C compiler in advance):
55
57
``` sh
56
58
export GEOS_DIR=< your desired location>
57
59
python -c " import utils; utils.GeosLibrary('3.6.5').build(installdir='${GEOS_DIR} ')"
@@ -70,11 +72,10 @@ Otherwise, you will need to install `basemap` from source as follows:
70
72
to build Cython extensions (e.g. on Debian-like systems, you should
71
73
have the package ` python-dev ` installed).
72
74
73
- 5 . Check that the package installed correctly by executing:
75
+ 5 . Check that the package was installed correctly by executing:
74
76
``` sh
75
77
python -c " from mpl_toolkits.basemap import Basemap"
76
78
```
77
- You can also test the examples available in the ` examples ` folder.
78
79
79
80
## License
80
81
@@ -98,7 +99,7 @@ https://spdx.org/licenses/LGPL-3.0-or-later.html
98
99
99
100
## Documentation
100
101
101
- See https://matplotlib.github.io /basemap/
102
+ See https://matplotlib.org /basemap/
102
103
103
104
See scripts in ` examples ` directory for example usage.
104
105
0 commit comments