[pdal] newbie doubts on pdal pipeline
Giuseppe Falcone
falcone.giuseppe at gmail.com
Tue Sep 26 00:25:09 PDT 2017
Thanks for the answers!
I clarify my question better (I hope!).
I have a las file that I want to filter with a pdal pipeline; at the end of
pipeline I want to verify a distribution fitting (see for example
https://glowingpython.blogspot.it/2012/07/distribution-fitting-with-scipy.html
).
So, the pipeline result are the distribution parameters. It is possible
this?
I would ask you another question.
I have a problem installation of python pdal binding.
I have an ubuntu 16.04 LTS. I have compiled PCL from source (some pdal
filters that I want apply required that) and then I have compiled pdal
1.5.0 (from source) with pcl support. pdal compile is ok.
Then I want to install python binding. with pip or executing setup.py in
pdal python dir I have same error:
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security
build/temp.linux-x86_64-2.7/pdal/libpdalpython.o
build/temp.linux-x86_64-2.7/pdal/PyPipeline.o -L/usr/local/lib -lpdalcpp
-lpdal_plang -o build/lib.linux-x86_64-2.7/pdal/libpdalpython.so
/usr/bin/ld: cannot find -lpdal_plang
collect2: error: ld returned 1 exit status
error: command 'c++' failed with exit status 1
there is a pdal_plang library missing (I think). pdal_plang require
pdal_base lib that require gdal-abi-2-1-2 that is a virtual package that
send to libgdal20 that is already installed, but I have dependency error:
$ sudo dpkg -i libpdal-plang4_1.4.0-1_amd64.deb
Selecting previously unselected package libpdal-plang4.
(Reading database ... 247915 files and directories currently installed.)
Preparing to unpack libpdal-plang4_1.4.0-1_amd64.deb ...
Unpacking libpdal-plang4 (1.4.0-1) ...
dpkg: dependency problems prevent configuration of libpdal-plang4:
libpdal-plang4 depends on libpdal-base4 (>= 1.3.0); however:
Package libpdal-base4 is not installed.
dpkg: error processing package libpdal-plang4 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
libpdal-plang4
$ sudo dpkg -i libpdal-base4_1.4.0-1_amd64.deb
Selecting previously unselected package libpdal-base4.
(Reading database ... 247920 files and directories currently installed.)
Preparing to unpack libpdal-base4_1.4.0-1_amd64.deb ...
Unpacking libpdal-base4 (1.4.0-1) ...
dpkg: dependency problems prevent configuration of libpdal-base4:
libpdal-base4 depends on gdal-abi-2-1-2; however:
Package gdal-abi-2-1-2 is not installed.
dpkg: error processing package libpdal-base4 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
libpdal-base4
Could someone help me?
Thanks a lot
Giuseppe
2017-09-25 17:23 GMT+02:00 Bradley Chambers <brad.chambers at gmail.com>:
> This short iPython notebook shows how one can construct a PDAL pipeline
> that just reads in data. You can do what you want with it from there.
>
> http://nbviewer.jupyter.org/github/chambbj/learning-pdal/
> blob/master/notebooks/Getting%20Started.ipynb
>
> On Mon, Sep 25, 2017 at 11:15 AM Andrew Bell <andrew.bell.ia at gmail.com>
> wrote:
>
>> On Mon, Sep 25, 2017 at 10:44 AM, Giuseppe Falcone <
>> falcone.giuseppe at gmail.com> wrote:
>>
>>> Hi to all!
>>>
>>> I'm new on pdal (in python pdal) and I have two question for us.
>>>
>>> It is possibile to build a pipeline that return in memory output (I want
>>> that output are not stored on file system but is in a variable for other
>>> analysis )?
>>>
>>
>> Yes. In python or C++. You can write code to access the data once it
>> has been read. You need to be specific about what you're trying to
>> accomplish.
>>
>> Perhaps this is what you're looking for: https://www.pdal.io/
>> tutorial/python-filtering.html
>>
>>
>>> It is possible to build a pipeline that return only some statistical
>>> attribute of las input data?
>>>
>>
>> You don't need to build a thing. You can run 'pdal info --stats'. Or
>> you can create a pipeline that runs the stats filter and does no other
>> output. You need to be more specific for us to be helpful.
>>
>> --
>> Andrew Bell
>> andrew.bell.ia at gmail.com
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170926/fba93066/attachment.html>
More information about the pdal
mailing list