Skip to content

Commit 7461b5f

Browse files
committed
bump in prep for 3.1.0 release
1 parent fc6ece6 commit 7461b5f

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

CHANGES.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
Changes
22
--------------------------------------------------------------------------------
33

4+
3.1.0
5+
................................................................................
6+
7+
* **Breaking change** – pipeline.metadata now returns a dictionary from
8+
json.loads instead of a string.
9+
10+
* pipeline.quickinfo will fetch the PDAL preview() information for a data source.
11+
You can use this to fetch header or other information without reading data.
12+
https://github.com/PDAL/python/pull/109
13+
14+
* PDAL driver and option collection now uses the PDAL library directly rather
15+
than shelling out to the pdal command https://github.com/PDAL/python/pull/107
16+
17+
* Pipelines now support pickling for use with things like Dask
18+
https://github.com/PDAL/python/pull/110
19+
20+
21+
422
3.0.0
523
................................................................................
624

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ but more efficient as it avoids allocating and filling any arrays in memory.
220220
Accessing Mesh Data
221221
................................................................................
222222

223-
Some PDAL stages (for instance ``filters.delaunay``) create TIN type mesh data.
223+
Some PDAL stages (for instance ``filters.delaunay``) create TIN type mesh data.
224224

225-
This data can be accessed in Python using the ``Pipeline.meshes`` property, which returns a ``numpy.ndarray``
226-
of shape (1,n) where n is the number of Triangles in the mesh.
225+
This data can be accessed in Python using the ``Pipeline.meshes`` property, which returns a ``numpy.ndarray``
226+
of shape (1,n) where n is the number of Triangles in the mesh.
227227

228228
If the PointView contains no mesh data, then n = 0.
229229

@@ -235,15 +235,15 @@ Meshio Integration
235235
The meshes property provides the face data but is not easy to use as a mesh. Therefore, we have provided optional Integration
236236
into the `Meshio <https://github.com/nschloe/meshio>`__ library.
237237

238-
The ``pdal.Pipeline`` class provides the ``get_meshio(idx: int) -> meshio.Mesh`` method. This
238+
The ``pdal.Pipeline`` class provides the ``get_meshio(idx: int) -> meshio.Mesh`` method. This
239239
method creates a `Mesh` object from the `PointView` array and mesh properties.
240240

241241
.. note:: The meshio integration requires that meshio is installed (e.g. ``pip install meshio``). If it is not, then the method fails with an informative RuntimeError.
242242

243243
Simple use of the functionality could be as follows:
244244

245245
.. code-block:: python
246-
246+
247247
import pdal
248248
249249
...
@@ -284,7 +284,7 @@ USE-CASE : Take a LiDAR map, create a mesh from the ground points, split into ti
284284
m.write(buffer, file_format = "wkt")
285285
with conn.cursor() as curr:
286286
curr.execute(
287-
"INSERT INTO %table-name% (mesh) VALUES (ST_GeomFromEWKT(%(ewkt)s)",
287+
"INSERT INTO %table-name% (mesh) VALUES (ST_GeomFromEWKT(%(ewkt)s)",
288288
{ "ewkt": buffer.getvalue()}
289289
)
290290
@@ -307,7 +307,7 @@ USE-CASE : Take a LiDAR map, create a mesh from the ground points, split into ti
307307
Requirements
308308
================================================================================
309309

310-
* PDAL 2.3+
310+
* PDAL 2.4+
311311
* Python >=3.7
312312
* Pybind11 (eg :code:`pip install pybind11[global]`)
313313
* Numpy (eg :code:`pip install numpy`)

pdal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.2"
1+
__version__ = "3.1.0"
22
__all__ = ["Pipeline", "Stage", "Reader", "Filter", "Writer", "dimensions", "info"]
33

44
from . import libpdalpython

0 commit comments

Comments
 (0)