You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Install the GEOS library. If you already have it on your
84
-
system, just set the environment variable `GEOS_DIR` to point to the location
85
-
of libgeos_c and geos_c.h (if libgeos_c is in `/usr/local/lib` and
86
-
geos_c.h is in `/usr/local/include`, set GEOS_DIR to `/usr/local`).
87
-
Then go to step (3). If you don't have it, you can build it from
88
-
the source code included with basemap by following these steps:
84
+
2. Install the GEOS library. If you already have it on your system, just
85
+
set the environment variable `GEOS_DIR` to point to the location of `libgeos_c`
86
+
and `geos_c.h` (if `libgeos_c` is in `/usr/local/lib` and`geos_c.h` is in
87
+
`/usr/local/include`, set `GEOS_DIR` to `/usr/local`). Then go to step (3).
88
+
If you don't have it, you can build it from the source code included with
89
+
basemap by following these steps:
89
90
90
91
```
91
92
> cd geos-3.3.3
92
93
> export GEOS_DIR=<where you want the libs and headers to go>
93
94
A reasonable choice on a Unix-like system is /usr/local, or
94
95
if you don't have permission to write there, your home directory.
95
-
> ./configure --prefix=$GEOS_DIR
96
+
> ./configure --prefix=$GEOS_DIR
96
97
> make; make install
97
98
```
98
99
99
-
3. cd back to the top level basemap directory (basemap-X.Y.Z) and
100
-
run the usual `python setup.py install`. Check your installation
101
-
by running "from mpl_toolkits.basemap import Basemap" at the python
102
-
prompt.
100
+
3.`cd` back to the top level basemap directory (`basemap-X.Y.Z`) and run
101
+
the usual `python setup.py install`. Check your installation by running
102
+
``"from mpl_toolkits.basemap import Basemap"`` at the Python prompt.
103
103
104
-
4. To test, cd to the examples directory and run `python simpletest.py`.
104
+
4. To test, `cd` to the examples directory and run `python simpletest.py`.
105
105
To run all the examples (except those that have extra dependencies
106
106
or require an internet connection), execute `python run_all.py`.
107
107
@@ -117,4 +117,8 @@ Ben Root <ben.v.root@gmail.com>
117
117
118
118
## Thanks
119
119
120
-
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.
120
+
Special thanks to John Hunter, Andrew Straw, Eric Firing, Rob Hetland, Scott
121
+
Sinclair, Ivan Lima, Erik Andersen, Michael Hearne, Jesper Larsen, Ryan May,
122
+
David Huard, Mauro Cavalcanti, Jonas Bluethgen, Chris Murphy, Pierre
123
+
Gerard-Marchant, Christoph Gohlke, Eric Bruning, Stephane Raynaud, Tom Loredo,
124
+
Patrick Marsh, Phil Elson, and Henry Hammond for valuable contributions.
0 commit comments