[pdal] EPT points in polygon with the C++ API

Balázs Dukai B.Dukai at tudelft.nl
Wed Feb 5 05:31:59 PST 2020


Thanks! I tried the master branch and it builds fine. However when I'm 
initializing the EPT reader in my code, I get a segmentation fault in my 
code. I'm doing any error handling though, and pdal itself doesn't 
return an exception in this case.
The same process works fine when using the 2.0.1 release, so I'm going 
to stick with that until the new release comes out.

Balázs

On 04-02-2020 16:01, Howard Butler wrote:
>
>> On Feb 4, 2020, at 8:59 AM, Andrew Bell <andrew.bell.ia at gmail.com> wrote:
>>
>> The PDAL EPT reader will do this for you.  See the `polygon` option.  The PDAL point-in-polygon algorithm seems to be better than most.  It's optimized for checking many points in a polygon.  I believe that the algorithm source is documented in the code.
> Note that efficient polygon culling in the PDAL EPT reader is planned for release in PDAL 2.1. You'll need to build master from source if you need it just now.
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_pdal&d=DwIGaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=PgA3UFniLNch3v0S8NNLnwqZxhbJDfo4c3-MU-HmzOI&m=o2AxQymsnhBGL8GDQzGMGvKHPn1a9ewFtej1fHxiaMI&s=Dmudc1lh49CvqAopBHquD4mUbbvO9IgjCJuR9IZaIz4&e=


More information about the pdal mailing list