1
- **Descripton**
1
+ #Basemap
2
2
3
- basemap - plot on map projections (with coastlines and political boundaries)
3
+ Plot on map projections (with coastlines and political boundaries)
4
4
using matplotlib.
5
5
6
- ** Requirements**
6
+ ## Requirements
7
7
8
- python 2.5 (or higher)
8
+ * python 2.5 (or higher)
9
9
10
- matplotlib
10
+ * matplotlib
11
11
12
- numpy
12
+ * numpy
13
13
14
- The GEOS (Geometry Engine - Open Source) library (version 3.1.1 or higher).
14
+ * The GEOS (Geometry Engine - Open Source) library (version 3.1.1 or higher).
15
15
Source code is included in the geos-3.3.3 directory.
16
16
17
- PIL (http://pythonware.com/products/pil) is optional (only
17
+ * PIL (http://pythonware.com/products/pil ) is optional (only
18
18
needed for Basemap warpimage and bluemarble methods).
19
19
20
- On linux, if your python was installed via a package management system, make
20
+ * On linux, if your python was installed via a package management system, make
21
21
sure the corresponding "python-dev" package is also installed. Otherwise, you
22
22
may not have the python header (Python.h), which is required to build python
23
23
C extensions.
24
24
25
- ** Copyright**
25
+ ## Copyright
26
26
27
27
source code from proj.4 (http://proj.maptools.org ) is included in the
28
28
'src' directory under the terms given in LICENSE_proj4.
@@ -61,7 +61,7 @@ USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
61
61
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
62
62
PERFORMANCE OF THIS SOFTWARE.
63
63
64
- ** Documentation**
64
+ ## Documentation
65
65
66
66
see http://matplotlib.github.com/basemap/
67
67
@@ -70,42 +70,44 @@ see scripts in 'examples' directory for example usage.
70
70
read the FAQ and/or email the matplotlib-users mailing list if
71
71
you have problems or questions.
72
72
73
- ** Install**
73
+ ## Install
74
74
75
- 0) Install pre-requisite python modules numpy and matplotlib.
75
+ 0 . Install pre-requisite python modules numpy and matplotlib.
76
76
77
- 1) Then download basemap-X.Y.Z.tar.gz (approx 100 mb) from
77
+ 1 . Then download basemap-X.Y.Z.tar.gz (approx 100 mb) from
78
78
the sourceforge download site, unpack and cd to basemap-X.Y.Z.
79
79
80
- 2) Install the GEOS library. If you already have it on your
80
+ 2 . Install the GEOS library. If you already have it on your
81
81
system, just set the environment variable GEOS_DIR to point to the location
82
82
of libgeos_c and geos_c.h (if libgeos_c is in /usr/local/lib and
83
83
geos_c.h is in /usr/local/include, set GEOS_DIR to /usr/local).
84
84
Then go to step (3). If you don't have it, you can build it from
85
85
the source code included with basemap by following these steps:
86
86
87
+ ```
87
88
> cd geos-3.3.3
88
89
> export GEOS_DIR=<where you want the libs and headers to go>
89
90
A reasonable choice on a Unix-like system is /usr/local, or
90
91
if you don't have permission to write there, your home directory.
91
92
> ./configure --prefix=$GEOS_DIR
92
93
> make; make install
94
+ ```
93
95
94
- 3) cd back to the top level basemap directory (basemap-X.Y.Z) and
96
+ 3 . cd back to the top level basemap directory (basemap-X.Y.Z) and
95
97
run the usual 'python setup.py install'. Check your installation
96
98
by running "from mpl_toolkits.basemap import Basemap" at the python
97
99
prompt.
98
100
99
- 4) To test, cd to the examples directory and run 'python simpletest.py'.
101
+ 4 . To test, cd to the examples directory and run 'python simpletest.py'.
100
102
To run all the examples (except those that have extra dependencies
101
103
or require an internet connection), execute 'python run_all.py'.
102
104
103
- ** Contact**
105
+ ## Contact
104
106
105
107
106
108
107
109
108
- ** Thanks**
110
+ ## Thanks
109
111
110
112
to
111
113
0 commit comments