[pdal] [filters] Using Crop with a WKT polygon

Bradley Chambers brad.chambers at gmail.com
Mon Sep 4 05:46:46 PDT 2017


It doesn't look like the polygon is closed. Does it work if you repeat the
first point at the end?

On Mon, Sep 4, 2017 at 6:31 AM GUIMMARA, Sébastien (External) <
sebastien.guimmara.external at airbus.com> wrote:

> Hello,
>
>
>
> I am trying to filter out a dataset using the crop filter, but it produces
> a PDAL error :
>
>
>
> filters.crop : Invalid polygon specification. Must be valid GeoJSON/WKT.
>
>
>
> Here is the exact WKT Polygon used in the pipeline :
>
>
>
> POLYGON ((110.45675742602 57.4257091225738, 81.1178752491955
> 28.9292918387268, 106.89682854952 19.694115466231, 143.30641446642
> 42.4948934905654))
>
>
>
> However, when I try to create a geometry from this WKT into GDAL/OGR, the
> geometry is correct.
>
>
>
> Is there something I am missing ?
>
>
>
> Sébastien
>
>
> Please consider the environment before printing this email message.
>
> ------------------------------
>
>
>
> *Ce courriel (incluant ses éventuelles pièces jointes) peut contenir des
> informations confidentielles et/ou protégées ou dont la diffusion est
> restreinte. Si vous avez reçu ce courriel par erreur, vous ne devez ni le
> copier, ni l'utiliser, ni en divulguer le contenu à quiconque. Merci d'en
> avertir immédiatement l'expéditeur et d'effacer ce courriel de votre
> système. Airbus DS Geo décline toute responsabilité en cas de corruption
> par virus, d'altération ou de falsification de ce courriel lors de sa
> transmission par voie électronique. This email (including any attachments)
> may contain confidential and/or privileged information or information
> otherwise protected from disclosure. If you are not the intended recipient,
> please notify the sender immediately, do not copy this message or any
> attachments and do not use it for any purpose or disclose its content to
> any person, but delete this message and any attachments from your
> system. Airbus DS Geo disclaims any and all liability if this email
> transmission was virus corrupted, altered or falsified.*
> ------------------------------
>
> *Airbus DS Geo SA (325 089 589 RCS Toulouse) - Siege social: 5, rue des
> Satellites, 31400 Toulouse, France.*
>
>
>
> _______________________________________________
> 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/20170904/94c15939/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image81fd97.JPG
Type: image/jpeg
Size: 625 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170904/94c15939/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image81fd97.JPG
Type: image/jpeg
Size: 625 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170904/94c15939/attachment-0001.jpe>


More information about the pdal mailing list