forked from PDAL/pdal.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickstart.html
568 lines (435 loc) · 46.4 KB
/
quickstart.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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quickstart — pdal.io</title>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="canonical" href="https://pdal.io/quickstart.html"/>
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<link rel="stylesheet" href="_static/css/pdal.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/breathe.css" type="text/css" />
<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="copyright" title="Copyright" href="copyright.html" />
<link rel="next" title="Applications" href="apps/index.html" />
<link rel="prev" title="Download" href="download.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> PDAL
</a>
<div class="version">
2.1.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="about.html">About</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="download.html">Download</a></li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Quickstart</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="#install-conda">Install Conda</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#run-conda">Run Conda</a></li>
<li class="toctree-l3"><a class="reference internal" href="#test-installation">Test Installation</a></li>
<li class="toctree-l3"><a class="reference internal" href="#install-the-pdal-package">Install the PDAL Package</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#fetch-sample-data">Fetch Sample Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="#print-the-first-point">Print the first point</a></li>
<li class="toctree-l2"><a class="reference internal" href="#what-s-next">What’s next?</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="apps/index.html">Applications</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="community.html">Community</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="pipeline.html">Pipeline</a></li>
<li class="toctree-l1"><a class="reference internal" href="stages/readers.html">Readers</a></li>
<li class="toctree-l1"><a class="reference internal" href="stages/writers.html">Writers</a></li>
<li class="toctree-l1"><a class="reference internal" href="stages/filters.html">Filters</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="dimensions.html">Dimensions</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="types.html">Types</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="python.html">Python</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="java.html">Java</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/index.html">Tutorials</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="workshop/index.html">Workshop</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="development/index.html">Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="project/index.html">Project</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/index.html">API</a></li>
<li class="toctree-l1"><a class="reference internal" href="faq.html">FAQ</a></li>
<li class="toctree-l1"><a class="reference internal" href="copyright.html">License</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">PDAL</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html"> Documentation </a> »</li>
<li>Quickstart</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/PDAL/PDAL/edit//master/doc/quickstart.rst" class="fa fa-github"> Edit on GitHub</a>
</li>
</ul>
<div class="rst-breadcrumbs-buttons" role="navigation" aria-label="breadcrumb navigation">
<a href="apps/index.html" class="btn btn-neutral float-right" title="Applications" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="download.html" class="btn btn-neutral float-left" title="Download" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="quickstart">
<span id="id1"></span><h1>Quickstart<a class="headerlink" href="#quickstart" title="Permalink to this headline">¶</a></h1>
<div class="section" id="introduction">
<span id="index-0"></span><h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2>
<p>The quickest way to start using PDAL is to leverage builds that were
constructed by the PDAL development team using <a class="reference external" href="https://conda.io/docs/">Conda</a>.</p>
<p>Directly from the Conda front page,</p>
<blockquote>
<div><p><em>Conda is an open source package management system and environment
management system that runs on Windows, macOS and Linux. Conda quickly
installs, runs and updates packages and their dependencies. Conda easily
creates, saves, loads and switches between environments on your local
computer.</em></p>
</div></blockquote>
<p>This exercise will print the first point of an <a class="reference internal" href="stages/readers.las.html#readers-las"><span class="std std-ref">ASPRS LAS</span></a>
file. It will utilize the PDAL <a class="reference internal" href="apps/index.html#apps"><span class="std std-ref">command line application</span></a> to
inspect the file.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>If you need to compile your own copy of PDAL, see <a class="reference internal" href="development/compilation/index.html#building"><span class="std std-ref">Compilation</span></a> for
more details.</p>
</div>
</div>
<div class="section" id="install-conda">
<h2>Install Conda<a class="headerlink" href="#install-conda" title="Permalink to this headline">¶</a></h2>
<p>Conda installation instructions can be found at the following links. Read
through them a bit for your platform so you have an idea what to expect.</p>
<ul class="simple">
<li><p><a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/install/windows.html">Windows</a></p></li>
<li><p><a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/install/macos.html">macOS</a></p></li>
<li><p><a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/install/linux.html">Linux</a></p></li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>We will assume you are running on Windows, but the same commands should
work in macOS or Linux too – though definition of file paths might provide
a significant difference.</p>
</div>
<div class="section" id="run-conda">
<h3>Run Conda<a class="headerlink" href="#run-conda" title="Permalink to this headline">¶</a></h3>
<p>On macOS and Linux, all Conda commands are typed into a terminal window. On
Windows, commands are typed into the Anaconda Prompt window. Instructions can
be found in the Conda <a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/getting-started.html#starting-conda">Getting Started</a> guide.</p>
</div>
<div class="section" id="test-installation">
<h3>Test Installation<a class="headerlink" href="#test-installation" title="Permalink to this headline">¶</a></h3>
<p>To test your installation, simply run the command <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">list</span></code> from your
terminal window or the Anaconda Prompt. A list of installed packages should
appear.</p>
</div>
<div class="section" id="install-the-pdal-package">
<h3>Install the PDAL Package<a class="headerlink" href="#install-the-pdal-package" title="Permalink to this headline">¶</a></h3>
<p>A PDAL package based on the latest release, including all recent patches, is
pushed to the <a class="reference external" href="https://anaconda.org/conda-forge/pdal">conda-forge</a> channel on anaconda.org with every code change on
the PDAL maintenance branch.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>It is a good idea to install PDAL in it’s own environment (or
add it to an existing one). You will <strong>NOT</strong> want to add it to your default
environment named <code class="docutils literal notranslate"><span class="pre">base</span></code>. Managing environments is beyond the scope of
the quickstart, but you can read more about it <a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/getting-started.html#managing-envs">here</a>.</p>
</div>
<p>To install the PDAL package so that we can use it to run PDAL commands, we run
the following command to create an environment named <code class="docutils literal notranslate"><span class="pre">myenv</span></code>, installing PDAL
from the <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">create</span> <span class="o">--</span><span class="n">yes</span> <span class="o">--</span><span class="n">name</span> <span class="n">myenv</span> <span class="o">--</span><span class="n">channel</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="n">pdal</span>
</pre></div>
</div>
<p>Depending on what packages you may or may not have already installed, the
output should look something like:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Solving</span> <span class="n">environment</span><span class="p">:</span> <span class="n">done</span>
<span class="c1">## Package Plan ##</span>
<span class="n">environment</span> <span class="n">location</span><span class="p">:</span> <span class="n">C</span><span class="p">:</span>\<span class="n">Miniconda3</span>\<span class="n">envs</span>\<span class="n">myenv</span>
<span class="n">added</span> <span class="o">/</span> <span class="n">updated</span> <span class="n">specs</span><span class="p">:</span>
<span class="o">-</span> <span class="n">pdal</span>
<span class="n">The</span> <span class="n">following</span> <span class="n">packages</span> <span class="n">will</span> <span class="n">be</span> <span class="n">downloaded</span><span class="p">:</span>
<span class="n">package</span> <span class="o">|</span> <span class="n">build</span>
<span class="o">---------------------------|-----------------</span>
<span class="n">pdal</span><span class="o">-</span><span class="mf">1.7</span><span class="o">.</span><span class="mi">2</span> <span class="o">|</span> <span class="n">py35h33f895e_1</span> <span class="mf">8.6</span> <span class="n">MB</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">setuptools</span><span class="o">-</span><span class="mf">39.2</span><span class="o">.</span><span class="mi">0</span> <span class="o">|</span> <span class="n">py35_0</span> <span class="mi">591</span> <span class="n">KB</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">numpy</span><span class="o">-</span><span class="mf">1.14</span><span class="o">.</span><span class="mi">3</span> <span class="o">|</span> <span class="n">py35h9fa60d3_2</span> <span class="mi">42</span> <span class="n">KB</span>
<span class="o">------------------------------------------------------------</span>
<span class="n">Total</span><span class="p">:</span> <span class="mf">9.2</span> <span class="n">MB</span>
<span class="n">The</span> <span class="n">following</span> <span class="n">NEW</span> <span class="n">packages</span> <span class="n">will</span> <span class="n">be</span> <span class="n">INSTALLED</span><span class="p">:</span>
<span class="n">boost</span><span class="p">:</span> <span class="mf">1.66</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">py35_vc14_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">boost</span><span class="o">-</span><span class="n">cpp</span><span class="p">:</span> <span class="mf">1.66</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">ca</span><span class="o">-</span><span class="n">certificates</span><span class="p">:</span> <span class="mf">2018.4</span><span class="o">.</span><span class="mi">16</span><span class="o">-</span><span class="mi">0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">cairo</span><span class="p">:</span> <span class="mf">1.14</span><span class="o">.</span><span class="mi">10</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">certifi</span><span class="p">:</span> <span class="mf">2018.4</span><span class="o">.</span><span class="mi">16</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">curl</span><span class="p">:</span> <span class="mf">7.60</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">expat</span><span class="p">:</span> <span class="mf">2.2</span><span class="o">.</span><span class="mi">5</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">flann</span><span class="p">:</span> <span class="mf">1.9</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">h0953f56_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">freexl</span><span class="p">:</span> <span class="mf">1.0</span><span class="o">.</span><span class="mi">5</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">geotiff</span><span class="p">:</span> <span class="mf">1.4</span><span class="o">.</span><span class="mi">2</span><span class="o">-</span><span class="n">vc14_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">hdf4</span><span class="p">:</span> <span class="mf">4.2</span><span class="o">.</span><span class="mi">13</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">hdf5</span><span class="p">:</span> <span class="mf">1.10</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">hexer</span><span class="p">:</span> <span class="mf">1.4</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">icc_rt</span><span class="p">:</span> <span class="mf">2017.0</span><span class="o">.</span><span class="mi">4</span><span class="o">-</span><span class="n">h97af966_0</span>
<span class="n">icu</span><span class="p">:</span> <span class="mf">58.2</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">intel</span><span class="o">-</span><span class="n">openmp</span><span class="p">:</span> <span class="mf">2018.0</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="mi">0</span>
<span class="n">jpeg</span><span class="p">:</span> <span class="mi">9</span><span class="n">b</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">kealib</span><span class="p">:</span> <span class="mf">1.4</span><span class="o">.</span><span class="mi">7</span><span class="o">-</span><span class="n">vc14_4</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">krb5</span><span class="p">:</span> <span class="mf">1.14</span><span class="o">.</span><span class="mi">6</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">laszip</span><span class="p">:</span> <span class="mf">3.2</span><span class="o">.</span><span class="mi">2</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">laz</span><span class="o">-</span><span class="n">perf</span><span class="p">:</span> <span class="mf">1.2</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libgdal</span><span class="p">:</span> <span class="mf">2.2</span><span class="o">.</span><span class="mi">4</span><span class="o">-</span><span class="n">vc14_4</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libiconv</span><span class="p">:</span> <span class="mf">1.15</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libnetcdf</span><span class="p">:</span> <span class="mf">4.6</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libpng</span><span class="p">:</span> <span class="mf">1.6</span><span class="o">.</span><span class="mi">34</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libpq</span><span class="p">:</span> <span class="mf">9.6</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libspatialite</span><span class="p">:</span> <span class="mf">4.3</span><span class="o">.</span><span class="mi">0</span><span class="n">a</span><span class="o">-</span><span class="n">vc14_19</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libssh2</span><span class="p">:</span> <span class="mf">1.8</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libtiff</span><span class="p">:</span> <span class="mf">4.0</span><span class="o">.</span><span class="mi">9</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libxml2</span><span class="p">:</span> <span class="mf">2.9</span><span class="o">.</span><span class="mi">8</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">libxslt</span><span class="p">:</span> <span class="mf">1.1</span><span class="o">.</span><span class="mi">32</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">mkl</span><span class="p">:</span> <span class="mf">2018.0</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="mi">1</span>
<span class="n">mkl_fft</span><span class="p">:</span> <span class="mf">1.0</span><span class="o">.</span><span class="mi">2</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">mkl_random</span><span class="p">:</span> <span class="mf">1.0</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">nitro</span><span class="p">:</span> <span class="mf">2.7</span><span class="o">.</span><span class="n">dev2</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">numpy</span><span class="p">:</span> <span class="mf">1.14</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="n">py35h9fa60d3_2</span>
<span class="n">numpy</span><span class="o">-</span><span class="n">base</span><span class="p">:</span> <span class="mf">1.14</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="n">py35h5c71026_0</span>
<span class="n">openjpeg</span><span class="p">:</span> <span class="mf">2.3</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">openssl</span><span class="p">:</span> <span class="mf">1.0</span><span class="o">.</span><span class="mi">2</span><span class="n">o</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">pcl</span><span class="p">:</span> <span class="mf">1.8</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">hd76163c_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">pdal</span><span class="p">:</span> <span class="mf">1.7</span><span class="o">.</span><span class="mi">2</span><span class="o">-</span><span class="n">py35h33f895e_1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">pip</span><span class="p">:</span> <span class="mf">9.0</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">pixman</span><span class="p">:</span> <span class="mf">0.34</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">postgresql</span><span class="p">:</span> <span class="mf">10.3</span><span class="o">-</span><span class="n">py35_vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">proj4</span><span class="p">:</span> <span class="mf">4.9</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="n">vc14_5</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">python</span><span class="p">:</span> <span class="mf">3.5</span><span class="o">.</span><span class="mi">5</span><span class="o">-</span><span class="mi">1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">setuptools</span><span class="p">:</span> <span class="mf">39.2</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">sqlite</span><span class="p">:</span> <span class="mf">3.20</span><span class="o">.</span><span class="mi">1</span><span class="o">-</span><span class="n">vc14_2</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">tiledb</span><span class="p">:</span> <span class="mf">1.4</span><span class="o">.</span><span class="mi">1</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">vc</span><span class="p">:</span> <span class="mi">14</span><span class="o">-</span><span class="mi">0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">vs2015_runtime</span><span class="p">:</span> <span class="mf">14.0</span><span class="o">.</span><span class="mi">25420</span><span class="o">-</span><span class="mi">0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">wheel</span><span class="p">:</span> <span class="mf">0.31</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">wincertstore</span><span class="p">:</span> <span class="mf">0.2</span><span class="o">-</span><span class="n">py35_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">xerces</span><span class="o">-</span><span class="n">c</span><span class="p">:</span> <span class="mf">3.2</span><span class="o">.</span><span class="mi">0</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">xz</span><span class="p">:</span> <span class="mf">5.2</span><span class="o">.</span><span class="mi">3</span><span class="o">-</span><span class="mi">0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span>
<span class="n">zlib</span><span class="p">:</span> <span class="mf">1.2</span><span class="o">.</span><span class="mi">11</span><span class="o">-</span><span class="n">vc14_0</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="p">[</span><span class="n">vc14</span><span class="p">]</span>
<span class="n">Downloading</span> <span class="ow">and</span> <span class="n">Extracting</span> <span class="n">Packages</span>
<span class="n">pdal</span><span class="o">-</span><span class="mf">1.7</span><span class="o">.</span><span class="mi">2</span> <span class="o">|</span> <span class="mf">8.6</span> <span class="n">MB</span> <span class="o">|</span> <span class="c1">###################################### | 100%</span>
<span class="n">setuptools</span><span class="o">-</span><span class="mf">39.2</span><span class="o">.</span><span class="mi">0</span> <span class="o">|</span> <span class="mi">591</span> <span class="n">KB</span> <span class="o">|</span> <span class="c1">###################################### | 100%</span>
<span class="n">numpy</span><span class="o">-</span><span class="mf">1.14</span><span class="o">.</span><span class="mi">3</span> <span class="o">|</span> <span class="mi">42</span> <span class="n">KB</span> <span class="o">|</span> <span class="c1">###################################### | 100%</span>
<span class="n">Preparing</span> <span class="n">transaction</span><span class="p">:</span> <span class="n">done</span>
<span class="n">Verifying</span> <span class="n">transaction</span><span class="p">:</span> <span class="n">done</span>
<span class="n">Executing</span> <span class="n">transaction</span><span class="p">:</span> <span class="n">done</span>
<span class="c1">#</span>
<span class="c1"># To activate this environment, use</span>
<span class="c1">#</span>
<span class="c1"># $ conda activate myenv</span>
<span class="c1">#</span>
<span class="c1"># To deactivate an active environment, use</span>
<span class="c1">#</span>
<span class="c1"># $ conda deactivate</span>
</pre></div>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>PDAL’s Python extension is managed separately from the PDAL package. To
install it, replace <code class="docutils literal notranslate"><span class="pre">pdal</span></code> with <code class="docutils literal notranslate"><span class="pre">python-pdal</span></code> in any of the commands in
this section. Seeing as how PDAL is a dependency of the Python extension,
you will actually get two for the price of one!</p>
</div>
<p>To install PDAL to an existing environment names <code class="docutils literal notranslate"><span class="pre">myenv</span></code>, we would run the
following command.</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">name</span> <span class="n">myenv</span> <span class="o">--</span><span class="n">channel</span> <span class="n">conda</span><span class="o">-</span><span class="n">forge</span> <span class="n">pdal</span>
</pre></div>
</div>
<p>Finally, to update PDAL to the latest version, run the following.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">update</span> <span class="n">pdal</span>
</pre></div>
</div>
</div>
</div>
<div class="section" id="fetch-sample-data">
<h2>Fetch Sample Data<a class="headerlink" href="#fetch-sample-data" title="Permalink to this headline">¶</a></h2>
<p>We need some sample data to play with, so we’re going to download the
<code class="docutils literal notranslate"><span class="pre">autzen.laz</span></code> file. Inside your terminal (assuming Windows), issue the
following command:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">explorer</span><span class="o">.</span><span class="n">exe</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">PDAL</span><span class="o">/</span><span class="n">data</span><span class="o">/</span><span class="n">raw</span><span class="o">/</span><span class="n">master</span><span class="o">/</span><span class="n">autzen</span><span class="o">/</span><span class="n">autzen</span><span class="o">.</span><span class="n">laz</span>
</pre></div>
</div>
<p>In the download dialog, save the file to your <code class="docutils literal notranslate"><span class="pre">Downloads</span></code> folder, e.g.,
<code class="docutils literal notranslate"><span class="pre">C:\Users\hobu\Downloads</span></code>.</p>
</div>
<div class="section" id="print-the-first-point">
<h2>Print the first point<a class="headerlink" href="#print-the-first-point" title="Permalink to this headline">¶</a></h2>
<p>To print the first point only, issue the following command (replacing of course
<code class="docutils literal notranslate"><span class="pre">hobu</span></code> with your user name, or another path altogether, depending on where
you saved the file).</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pdal</span> <span class="n">info</span> <span class="n">C</span><span class="p">:</span>\<span class="n">Users</span>\<span class="n">hobu</span>\<span class="n">Downloads</span>\<span class="n">autzen</span><span class="o">.</span><span class="n">laz</span> <span class="o">-</span><span class="n">p</span> <span class="mi">0</span>
</pre></div>
</div>
<p>Here’s a summary of what’s going on with that command invocation</p>
<ol class="arabic simple">
<li><p><code class="docutils literal notranslate"><span class="pre">pdal</span></code>: We’re going to run the <code class="docutils literal notranslate"><span class="pre">pdal</span></code> command.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">info</span></code>: We want to run <a class="reference internal" href="apps/info.html#info-command"><span class="std std-ref">info</span></a> on the data.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">autzen.laz</span></code>: The <code class="docutils literal notranslate"><span class="pre">autzen.laz</span></code> file that we want information from.</p></li>
</ol>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="ne">Warning</span> <span class="mi">1</span><span class="p">:</span> <span class="n">Cannot</span> <span class="n">find</span> <span class="n">datum</span><span class="o">.</span><span class="n">csv</span> <span class="ow">or</span> <span class="n">gdal_datum</span><span class="o">.</span><span class="n">csv</span>
<span class="ne">Warning</span> <span class="mi">1</span><span class="p">:</span> <span class="n">Cannot</span> <span class="n">find</span> <span class="n">ellipsoid</span><span class="o">.</span><span class="n">csv</span>
<span class="p">{</span>
<span class="s2">"filename"</span><span class="p">:</span> <span class="s2">"C:</span><span class="se">\\</span><span class="s2">Users</span><span class="se">\\</span><span class="s2">hobu</span><span class="se">\\</span><span class="s2">Downloads</span><span class="se">\\</span><span class="s2">autzen.laz"</span><span class="p">,</span>
<span class="s2">"pdal_version"</span><span class="p">:</span> <span class="s2">"1.7.2 (git-version: Release)"</span><span class="p">,</span>
<span class="s2">"points"</span><span class="p">:</span>
<span class="p">{</span>
<span class="s2">"point"</span><span class="p">:</span>
<span class="p">{</span>
<span class="s2">"Blue"</span><span class="p">:</span> <span class="mi">93</span><span class="p">,</span>
<span class="s2">"Classification"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">"EdgeOfFlightLine"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">"GpsTime"</span><span class="p">:</span> <span class="mf">245379.3984</span><span class="p">,</span>
<span class="s2">"Green"</span><span class="p">:</span> <span class="mi">102</span><span class="p">,</span>
<span class="s2">"Intensity"</span><span class="p">:</span> <span class="mi">4</span><span class="p">,</span>
<span class="s2">"NumberOfReturns"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">"PointId"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">"PointSourceId"</span><span class="p">:</span> <span class="mi">7326</span><span class="p">,</span>
<span class="s2">"Red"</span><span class="p">:</span> <span class="mi">84</span><span class="p">,</span>
<span class="s2">"ReturnNumber"</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">"ScanAngleRank"</span><span class="p">:</span> <span class="o">-</span><span class="mi">17</span><span class="p">,</span>
<span class="s2">"ScanDirectionFlag"</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">"UserData"</span><span class="p">:</span> <span class="mi">128</span><span class="p">,</span>
<span class="s2">"X"</span><span class="p">:</span> <span class="mf">637177.98</span><span class="p">,</span>
<span class="s2">"Y"</span><span class="p">:</span> <span class="mf">849393.95</span><span class="p">,</span>
<span class="s2">"Z"</span><span class="p">:</span> <span class="mf">411.19</span>
<span class="p">}</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<div class="section" id="what-s-next">
<h2>What’s next?<a class="headerlink" href="#what-s-next" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>Visit <a class="reference internal" href="apps/index.html#apps"><span class="std std-ref">Applications</span></a> to find out how to utilize PDAL applications to process
data on the command line yourself.</p></li>
<li><p>Visit <a class="reference internal" href="development/index.html#development-index"><span class="std std-ref">Development</span></a> to learn how to embed and use PDAL in your own
applications.</p></li>
<li><p><a class="reference internal" href="stages/readers.html#readers"><span class="std std-ref">Readers</span></a> lists the formats that PDAL can read, <a class="reference internal" href="stages/filters.html#filters"><span class="std std-ref">Filters</span></a> lists the
kinds of operations you can do with PDAL, and <a class="reference internal" href="stages/writers.html#writers"><span class="std std-ref">Writers</span></a> lists the
formats PDAL can write.</p></li>
<li><p><a class="reference internal" href="tutorial/index.html#tutorial"><span class="std std-ref">Tutorials</span></a> contains a number of walk-through tutorials for achieving
many tasks with PDAL.</p></li>
<li><p><a class="reference internal" href="workshop/index.html#workshop"><span class="std std-ref">The PDAL workshop</span></a> contains numerous hands-on examples with screenshots and
example data of how to use PDAL <a class="reference internal" href="apps/index.html#apps"><span class="std std-ref">Applications</span></a> to tackle point cloud data
processing tasks.</p></li>
<li><p><a class="reference internal" href="python.html#python"><span class="std std-ref">Python</span></a> describes how PDAL embeds and extends Python and
how you can leverage these capabilities in your own programs.</p></li>
</ul>
<div class="admonition seealso">
<p class="admonition-title">See also</p>
<p><a class="reference internal" href="community.html#community"><span class="std std-ref">Community</span></a> is a good source to reach out to when you’re stuck.</p>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="apps/index.html" class="btn btn-neutral float-right" title="Applications" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="download.html" class="btn btn-neutral float-left" title="Download" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<div class="info">
<a class="logo-link" href="https://hobu.co">
<div class="hobu-logo"></div>
</a>
<div class="copyright">
© 2020
<a href="https://github.com/abellgithub">Andrew Bell</a>,
<a href="https://github.com/chambbj">Brad Chambers</a>,
<a href="http://github.com/hobu">Howard Butler</a>,
and
<a href="https://github.com/PDAL/PDAL/graphs/contributors">others</a>.
Last updated on Mar 21, 2020.
</div>
</div>
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
<div class="footer">
<div class="container">
© 2020
<a href="http://github.com/hobu">Howard Butler</a>,
<a href="http://github.com/mpgerlek">Michael Gerlek</a>,
and
<a href="https://github.com/PDAL/PDAL/graphs/contributors">others</a>,
Last updated
on Mar 21, 2020.
</div>
</div>
</body>
</html>