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

GUIMMARA, Sébastien (External) sebastien.guimmara.external at airbus.com
Mon Sep 4 07:50:57 PDT 2017


Bingo, that was it. I had to duplicate the first point to close the polygon.

Thanks very much,
Sébastien

De : Bradley Chambers [mailto:brad.chambers at gmail.com]
Envoyé : lundi 4 septembre 2017 14:47
À : GUIMMARA, Sébastien (External); pdal at lists.osgeo.org
Objet : Re: [pdal] [filters] Using Crop with a WKT polygon

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<mailto: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


[cid:image81fd97.JPG at 388c2e61.45b759db]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.





[cid:image2176bc.JPG at 4162ed70.48b23c0a] 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<mailto: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/69885ba2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2176bc.JPG
Type: image/jpeg
Size: 625 bytes
Desc: image2176bc.JPG
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170904/69885ba2/attachment-0001.jpe>


More information about the pdal mailing list