{
  "pipeline":[
    {
      "filename":"@CMAKE_SOURCE_DIR@/test/data/las/1.2-with-color.las",
      "spatialreference":"EPSG:2993"
    },
    {
      "type":"filters.python",
      "function":"filter",
      "source":"import numpy as np\n\ndef filter(ins,outs):\n\tcls = ins['Classification']\n\n\tkeep_classes = [1]\n\n\t# Use the first test for our base array.\n\tkeep = np.equal(cls, keep_classes[0])\n\n\t# For 1:n, test each predicate and join back\n\t# to our existing predicate array\n\tfor k in range(1,len(keep_classes)):\n\t\tt = np.equal(cls, keep_classes[k])\n\t\tkeep = keep + t\n\n\touts['Mask'] = keep\n\treturn True",
      "module":"anything"
    },
    "@CMAKE_SOURCE_DIR@/test/temp/out2.las"
  ]
}
