.. _filters.groupby:

filters.groupby
===============================================================================

The **Groupby Filter** takes a single ``PointView`` as its input and
creates a ``PointView`` for each category in the named dimension_ as
its output.

.. embed::

Example
-------

The following pipeline will create a set of LAS files, where each file contains
only points of a single ``Classification``.

.. code-block:: json

  [
      "input.las",
      {
          "type":"filters.groupby",
          "dimension":"Classification"
      },
      "output_#.las"
  ]

Options
-------

_`dimension`
  The dimension containing data to be grouped.
