Skip to content

Commit

Permalink
Correct filter naming. (#2535)
Browse files Browse the repository at this point in the history
Close #2534
  • Loading branch information
abellgithub committed May 20, 2019
1 parent cafa0b4 commit 8c85e15
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
@@ -1,9 +1,9 @@
.. _filters.mongoexpression:
.. _filters.mongo:

filters.mongoexpression
filters.mongo
========================

The **Mongo Expression Filter** applies query logic to the input
The **Mongo Filter** applies query logic to the input
point cloud based on a MongoDB-style query expression using the
point cloud attributes.

Expand All @@ -21,7 +21,7 @@ This example passes through only the points whose Classification is non-zero.
[
"input.las",
{
"type": "filters.expression",
"type": "filters.mongo",
"expression": {
"Classification": { "$ne": 0 }
}
Expand All @@ -38,7 +38,7 @@ is greater than 1.
[
"input.las",
{
"type": "filters.expression",
"type": "filters.mongo",
"expression": { "$and": [
{ "ReturnNumber": "NumberOfReturns" },
{ "NumberOfReturns": { "$gt": 1 } }
Expand Down
4 changes: 2 additions & 2 deletions doc/stages/filters.rst
Expand Up @@ -196,7 +196,7 @@ the input. These filters will invalidate an existing KD-tree.
filters.iqr
filters.locate
filters.mad
filters.mongoexpression
filters.mongo
filters.range
filters.sample
filters.tail
Expand Down Expand Up @@ -227,7 +227,7 @@ the input. These filters will invalidate an existing KD-tree.
Cull points falling outside the computed Median Absolute Deviation for a
given dimension.

:ref:`filters.mongoexpression`
:ref:`filters.mongo`
Cull points using MongoDB-style expression syntax.

:ref:`filters.range`
Expand Down
2 changes: 1 addition & 1 deletion filters/MongoExpressionFilter.cpp
Expand Up @@ -43,7 +43,7 @@ static const StaticPluginInfo s_info
{
"filters.mongo",
"Pass only points that pass a logic filter.",
"http://pdal.io/stages/filters.logic.html"
"http://pdal.io/stages/filters.mongo.html"
};

CREATE_STATIC_STAGE(MongoExpressionFilter, s_info);
Expand Down

0 comments on commit 8c85e15

Please sign in to comment.