[pdal] [PDAL] Behaviour of filters.crop with and without SRS

GUIMMARA, Sébastien (External) sebastien.guimmara.external at airbus.com
Tue Jul 25 00:23:16 PDT 2017


Andrew,

Here is the ticket https://github.com/PDAL/PDAL/issues/1626

Thanks,
Sébastien

De : Andrew Bell [mailto:andrew.bell.ia at gmail.com]
Envoyé : lundi 24 juillet 2017 17:46
À : GUIMMARA, Sébastien (External)
Cc : pdal at lists.osgeo.org
Objet : Re: [pdal] [PDAL] Behaviour of filters.crop with and without SRS

On Mon, Jul 24, 2017 at 10:15 AM, GUIMMARA, Sébastien (External) <sebastien.guimmara.external at airbus.com<mailto:sebastien.guimmara.external at airbus.com>> wrote:
Hello,

I stumbled upon a strange behaviour using the crop filter. The results are very different when I specify a spatial reference in the LAS reader, and when I omit one.

When I specify a spatial reference (EPSG 2286, units in feet), the crop consumes all points, leaving an empty dataset, even if the cropping bounds are equal to the actual dataset bounds (given by pdal info). However, when I omit the spatial reference, the crop filter behaves as expected.

I use a cropping rectangle via the bounds parameter, and the values are expressed in the file SRS (EPSG 2286).

I'd need to investigate to understand the behavior.  If you have a source file with a few points and a sample pipeline/command line, I can check.  You can open a ticket.

I'll note that there is an option, a_srs, for the crop filter that specifies the SRS for the cropping geometry (it's missing in the documentation).  However, if you don't provide this option, the code assumes that it's in the SRS of the input data, so it shouldn't be an issue in this case if I understand.

--
Andrew Bell
andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>



[cid:image947abf.JPG at 08b578e7.43ab2ba1] 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170725/8cc77f41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image947abf.JPG
Type: image/jpeg
Size: 625 bytes
Desc: image947abf.JPG
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170725/8cc77f41/attachment.jpe>


More information about the pdal mailing list