Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add origin support for SplitterFilter.
- Loading branch information
1 parent
c7152e9
commit bae837b
Showing
3 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.. _filters.splitter: | ||
|
||
filters.splitter | ||
=============== | ||
|
||
The splitter filter breaks a point cloud into square tiles of a size that | ||
you choose. The origin of the tiles is chosen arbitrarily unless specified | ||
as an option. | ||
|
||
The splitter takes a single PointView as its input and creates a PointView | ||
for each tile as its output. | ||
|
||
Splitting is usually applied to data read from files (which produce one large | ||
stream of points) before the points are written to a database (which prefer | ||
data segmented into smaller blocks). | ||
|
||
Example | ||
------- | ||
|
||
.. code-block:: xml | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Pipeline version="1.0"> | ||
<Writer type="writers.pgpointcloud"> | ||
<Option name="connection">dbname='lidar' user='user'</Option> | ||
<Filter type="filters.chipper"> | ||
<Option name="length">100</Option> | ||
<Option name="origin_x">638900.0</Option> | ||
<Option name="origin_y">835500.0</Option> | ||
<Reader type="readers.las"> | ||
<Option name="filename">example.las</Option> | ||
</Reader> | ||
</Filter> | ||
</Writer> | ||
</Pipeline> | ||
Options | ||
------- | ||
|
||
length | ||
Length of the sides of the tiles that are created to hold points. | ||
[Default: 1000] | ||
|
||
origin_x | ||
X Origin of the tiles. [Default: none (chosen arbitarily)] | ||
|
||
origin_y | ||
Y Origin of the tiles. [Default: none (chosen arbitarily)] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters