File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,21 @@ PDAL Python support is installable via PyPI:
2020
2121 pip install PDAL
2222
23+
24+ Developers can control many settings including debug builds and where the libraries are installed
25+ using `scikit-build-core <https://scikit-build-core.readthedocs.io >`_ settings:
26+
27+ .. code-block ::
28+
29+ python -m pip install \
30+ -Cbuild-dir=build \
31+ -e \
32+ . \
33+ --config-settings=cmake.build-type="Debug" \
34+ -vv \
35+ --no-deps \
36+ --no-build-isolation
37+
2338 GitHub
2439................................................................................
2540
@@ -168,7 +183,7 @@ PDAL and Python:
168183 print (len (intensity)) # 704 points
169184
170185 # Now use pdal to clamp points that have intensity 100 <= v < 300
171- pipeline = pdal.Filter.range( limits = " Intensity[ 100: 300) " ).pipeline(intensity)
186+ pipeline = pdal.Filter.expression( expression = " Intensity >= 100 && Intensity < 300" ).pipeline(intensity)
172187 print (pipeline.execute()) # 387 points
173188 clamped = pipeline.arrays[0 ]
174189
@@ -203,7 +218,7 @@ returns an iterator object that yields Numpy arrays of up to ``chunk_size`` size
203218.. code-block :: python
204219
205220 import pdal
206- pipeline = pdal.Reader(" test/data/autzen-utm.las" ) | pdal.Filter.range( limits = " Intensity[80: 120)" )
221+ pipeline = pdal.Reader(" test/data/autzen-utm.las" ) | pdal.Filter.expression( expression = " Intensity > 80 && Intensity < 120)" )
207222 for array in pipeline.iterator(chunk_size = 500 ):
208223 print (len (array))
209224 # or to concatenate all arrays into one
You can’t perform that action at this time.
0 commit comments