/
getting_started.html
402 lines (325 loc) · 14.8 KB
/
getting_started.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Getting Started — GeoPandas 0.10.0 documentation</title>
<link href="_static/css/theme.css" rel="stylesheet" />
<link href="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css" rel="stylesheet" />
<link rel="stylesheet"
href="_static/vendor/fontawesome/5.13.0/css/all.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2">
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/basic.css" />
<link rel="stylesheet" type="text/css" href="_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="_static/custom.css" />
<link rel="stylesheet" type="text/css" href="_static/gallery.css" />
<link rel="preload" as="script" href="_static/js/index.1c5a1a01449ed65a7b51.js">
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/toggleprompt.js"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<link rel="shortcut icon" href="_static/favicon.png"/>
<link rel="author" title="About these documents" href="about.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Installation" href="getting_started/install.html" />
<link rel="prev" title="GeoPandas logo" href="about/logo.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en" />
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="80">
<div class="container-fluid" id="banner"></div>
<nav class="navbar navbar-light navbar-expand-lg bg-light fixed-top bd-navbar" id="navbar-main"><div class="container-xl">
<div id="navbar-start">
<a class="navbar-brand" href="index.html">
<img src="_static/geopandas_logo_web.svg" class="logo" alt="logo">
</a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar-collapsible" class="col-lg-9 collapse navbar-collapse">
<div id="navbar-center" class="mr-auto">
<div class="navbar-center-item">
<ul id="navbar-main-elements" class="navbar-nav">
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="index.html">
Home
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="about.html">
About
</a>
</li>
<li class="toctree-l1 current active nav-item">
<a class="current reference internal nav-link" href="#">
Getting started
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="docs.html">
Documentation
</a>
</li>
<li class="toctree-l1 nav-item">
<a class="reference internal nav-link" href="community.html">
Community
</a>
</li>
</ul>
</div>
</div>
<div id="navbar-end">
<div class="navbar-end-item">
<ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links">
<li class="nav-item">
<a class="nav-link" href="https://github.com/geopandas/geopandas" rel="noopener" target="_blank" title="GitHub">
<span><i class="fab fa-github-square"></i></span>
<label class="sr-only">GitHub</label>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/geopandas" rel="noopener" target="_blank" title="Twitter">
<span><i class="fab fa-twitter-square"></i></span>
<label class="sr-only">Twitter</label>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<div class="container-xl">
<div class="row">
<!-- Only show if we have sidebars configured, else just a small margin -->
<div class="col-12 col-md-3 bd-sidebar"><form class="bd-search d-flex align-items-center" action="search.html" method="get">
<i class="icon fas fa-search"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" >
</form><nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<div class="bd-toc-item active">
<p class="caption" role="heading">
<span class="caption-text">
Getting Started
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="getting_started/install.html">
Installation
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="getting_started/introduction.html">
Introduction to GeoPandas
</a>
</li>
<li class="toctree-l1 has-children">
<a class="reference internal" href="gallery/index.html">
Examples Gallery
</a>
<input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/>
<label for="toctree-checkbox-1">
<i class="fas fa-chevron-down">
</i>
</label>
<ul>
<li class="toctree-l2">
<a class="reference internal" href="gallery/cartopy_convert.html">
Plotting with CartoPy and GeoPandas
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/choro_legends.html">
Choro legends
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/choropleths.html">
Choropleth classification schemes from PySAL for use with GeoPandas
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/create_geopandas_from_pandas.html">
Creating a GeoDataFrame from a DataFrame with coordinates
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/geopandas_rasterio_sample.html">
Using GeoPandas with Rasterio to sample point data
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/matplotlib_scalebar.html">
Adding a scale bar to a matplotlib plot
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/overlays.html">
Overlays
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/plot_clip.html">
Clip Vector Data with GeoPandas
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/plotting_basemap_background.html">
Adding a background map to plots
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/plotting_with_folium.html">
Plotting with Folium
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/plotting_with_geoplot.html">
Plotting with Geoplot and GeoPandas
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/polygon_plotting_with_folium.html">
Plotting polygons with Folium
</a>
</li>
<li class="toctree-l2">
<a class="reference internal" href="gallery/spatial_joins.html">
Spatial Joins
</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</div>
<div class="d-none d-xl-block col-xl-2 bd-toc">
<div class="toc-item">
<div class="tocsection onthispage pt-5 pb-3">
<i class="fas fa-list"></i> On this page
</div>
<nav id="bd-toc-nav">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#installation">
Installation
</a>
<ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#easy-way">
Easy way
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#detailed-instructions">
Detailed instructions
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#what-now">
What now?
</a>
</li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#get-in-touch">
Get in touch
</a>
</li>
</ul>
</nav>
</div>
<div class="toc-item">
</div>
</div>
<main class="col-12 col-md-9 col-xl-7 py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
<div>
<div class="tex2jax_ignore mathjax_ignore section" id="getting-started">
<h1>Getting Started<a class="headerlink" href="#getting-started" title="Permalink to this headline">¶</a></h1>
<div class="toctree-wrapper compound">
</div>
<div class="section" id="installation">
<h2>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h2>
<p>GeoPandas is written in pure Python, but has several dependencies written in C
(<a class="reference external" href="https://geos.osgeo.org">GEOS</a>, <a class="reference external" href="https://www.gdal.org/">GDAL</a>, <a class="reference external" href="https://proj.org/">PROJ</a>). Those base C libraries can sometimes be a challenge to
install. Therefore, we advise you to closely follow the recommendations below to avoid
installation problems.</p>
<div class="section" id="easy-way">
<h3>Easy way<a class="headerlink" href="#easy-way" title="Permalink to this headline">¶</a></h3>
<p>The best way to install GeoPandas is using <code class="docutils literal notranslate"><span class="pre">conda</span></code> and <code class="docutils literal notranslate"><span class="pre">conda-forge</span></code> channel:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">install</span> <span class="o">-</span><span class="n">c</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="n">geopandas</span>
</pre></div>
</div>
</div>
<div class="section" id="detailed-instructions">
<h3>Detailed instructions<a class="headerlink" href="#detailed-instructions" title="Permalink to this headline">¶</a></h3>
<p>Do you prefer <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span></code> or installation from source? Or specific version? See
<a class="reference internal" href="getting_started/install.html"><span class="doc">detailed instructions</span></a>.</p>
</div>
<div class="section" id="what-now">
<h3>What now?<a class="headerlink" href="#what-now" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>If you don’t have GeoPandas yet, check <a class="reference internal" href="getting_started/install.html"><span class="doc">Installation</span></a>.</p></li>
<li><p>If you have never used GeoPandas and want to get familiar with it and its core
functionality quickly, see <a class="reference internal" href="getting_started/introduction.html"><span class="doc">Getting Started Tutorial</span></a>.</p></li>
<li><p>Detailed illustration how to work with different parts of GeoPandas, how to make maps,
manage projections, spatially merge data or geocode are part of our
<a class="reference internal" href="docs/user_guide.html"><span class="doc">User Guide</span></a>.</p></li>
<li><p>And if you are interested in the complete
documentation of all classes, functions, method and attributes GeoPandas offers,
<a class="reference internal" href="docs/reference.html"><span class="doc">API Reference</span></a> is here for you.</p></li>
</ul>
<div class="button docutils container">
<p><a class="reference internal" href="getting_started/install.html"><span class="doc">Installation</span></a> <a class="reference internal" href="getting_started/introduction.html"><span class="doc">Introduction</span></a>
<a class="reference internal" href="docs/user_guide.html"><span class="doc">User Guide</span></a> <a class="reference internal" href="docs/reference.html"><span class="doc">API Reference</span></a></p>
</div>
</div>
</div>
<div class="section" id="get-in-touch">
<h2>Get in touch<a class="headerlink" href="#get-in-touch" title="Permalink to this headline">¶</a></h2>
<p>Haven’t found what you were looking for?</p>
<ul class="simple">
<li><p>Ask usage questions (“How do I?”) on <a class="reference external" href="https://stackoverflow.com/questions/tagged/geopandas">StackOverflow</a> or <a class="reference external" href="https://gis.stackexchange.com/questions/tagged/geopandas">GIS StackExchange</a>.</p></li>
<li><p>Report bugs, suggest features or view the source code on <a class="reference external" href="https://github.com/geopandas/geopandas">GitHub</a>.</p></li>
<li><p>For a quick question about a bug report or feature request, or Pull Request,
head over to the <a class="reference external" href="https://gitter.im/geopandas/geopandas">gitter channel</a>.</p></li>
<li><p>For less well defined questions or ideas, or to announce other projects of
interest to GeoPandas users, … use the <a class="reference external" href="https://groups.google.com/forum/#%21forum/geopandas">mailing list</a>.</p></li>
</ul>
</div>
</div>
</div>
<div class='prev-next-bottom'>
<a class='left-prev' id="prev-link" href="about/logo.html" title="previous page">GeoPandas logo</a>
<a class='right-next' id="next-link" href="getting_started/install.html" title="next page">Installation</a>
</div>
</main>
</div>
</div>
<script src="_static/js/index.1c5a1a01449ed65a7b51.js"></script>
<footer class="footer mt-5 mt-md-0">
<div class="container">
<div class="footer-item">
<p class="copyright">
© Copyright 2013–2021, GeoPandas developers.<br/>
</p>
</div>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 4.2.0.<br/>
</p>
</div>
</div>
</footer>
</body>
</html>