Skip to content

Commit b3d1cd7

Browse files
committed
More.
1 parent 01e0523 commit b3d1cd7

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

pdal/test/data/pipeline/from-module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"./pdal/test/data/1.2-with-color.las",
44
{
55
"type": "filters.python",
6-
"script": "/Users/acbell/pdal/test/data/plang/test1.py",
6+
"script": "./pdal/test/data/test1.py",
77
"module": "anything",
88
"function": "fff"
99
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pipeline":[
3-
"/Users/acbell/pdal/test/data/autzen/autzen.las",
3+
"./pdal/test/data/autzen.las",
44
{
55
"type":"filters.stats"
66
},
@@ -10,6 +10,6 @@
1010
"function":"filter",
1111
"source":"import numpy as np\n\ndef filter(ins,outs):\n\tret = ins['ReturnNumber']\n\tret_no = ins['NumberOfReturns']\n\n\t# Use the first test for our base array.\n\trets = np.equal(ret, ret_no)\n\n\touts['Mask'] = rets\n\treturn True"
1212
},
13-
"/Users/acbell/pdal/test/temp/out2.las"
13+
"./pdal/test/temp/out2.las"
1414
]
1515
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"pipeline":[
3-
"/Users/acbell/pdal/test/data/autzen/autzen.las",
3+
"./pdal/test/data/autzen.las",
44
{
55
"type":"filters.python",
66
"module":"anything",
77
"function":"filter",
88
"source":"import numpy as np\n\ndef filter(ins,outs):\n\tret = ins['ReturnNumber']\n\n\tkeep_ret = [0, 1,2]\n\n\t# Use the first test for our base array.\n\tkeep = np.equal(ret, keep_ret[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_ret)):\n\t\tt = np.equal(ret, keep_ret[k])\n\t\tkeep = keep + t\n\n\touts['Mask'] = keep\n\treturn True"
99
},
10-
"/Users/acbell/pdal/test/temp/out2.las"
10+
"./pdal/test/temp/out2.las"
1111
]
1212
}

pdal/test/data/pipeline/programmable-update-y-dims.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pipeline":[
3-
"/Users/acbell/pdal/test/data/autzen-utm.las",
3+
"./pdal/test/data/autzen-utm.las",
44
{
55
"type":"filters.python",
66
"function":"myfunc",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"pipeline":[
33
{
4-
"filename":"/Users/acbell/pdal/test/data/las/1.2-with-color.las",
4+
"filename":"./pdal/test/data/1.2-with-color.las",
55
"spatialreference":"EPSG:2993"
66
},
77
{
@@ -10,6 +10,6 @@
1010
"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",
1111
"module":"anything"
1212
},
13-
"/Users/acbell/pdal/test/temp/out2.las"
13+
"./pdal/test/temp/out2.las"
1414
]
1515
}

0 commit comments

Comments
 (0)