@@ -16,7 +16,7 @@ Basic requirements are the following:
1616Optional requirements include:
1717
1818* [ OWSLib] ( https://github.com/geopython/OWSLib ) . It is needed for the
19- ` Basemap.wmsimage ` function .
19+ method ` Basemap.wmsimage ` .
2020
2121* [ Pillow] ( https://github.com/python-pillow/Pillow ) . It is needed for
2222 the methods ` Basemap.bluemarble ` , ` Basemap.etopo ` ,
@@ -25,7 +25,7 @@ Optional requirements include:
2525## Installation
2626
2727The ` 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/ ) :
2929``` sh
3030python -m pip install basemap-data
3131python -m pip install basemap-data-hires
@@ -37,7 +37,8 @@ available in PyPI (architectures x86 and x64, Python 2.7 and 3.5+):
3737python -m pip install basemap
3838```
3939
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:
4142
42431 . Install pre-requisite Python modules:
4344 - [ cython] ( https://github.com/cython/cython )
@@ -51,7 +52,8 @@ Otherwise, you will need to install `basemap` from source as follows:
5152 ```
5253
53543 . 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):
5557 ``` sh
5658 export GEOS_DIR=< your desired location>
5759 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:
7072 to build Cython extensions (e.g. on Debian-like systems, you should
7173 have the package ` python-dev ` installed).
7274
73- 5 . Check that the package installed correctly by executing:
75+ 5 . Check that the package was installed correctly by executing:
7476 ``` sh
7577 python -c " from mpl_toolkits.basemap import Basemap"
7678 ```
77- You can also test the examples available in the ` examples ` folder.
7879
7980## License
8081
@@ -98,7 +99,7 @@ https://spdx.org/licenses/LGPL-3.0-or-later.html
9899
99100## Documentation
100101
101- See https://matplotlib.github.io /basemap/
102+ See https://matplotlib.org /basemap/
102103
103104See scripts in ` examples ` directory for example usage.
104105
0 commit comments