[pdal] PDAL Extraction / Un-compression

Andrew Bell andrew.bell.ia at gmail.com
Fri Feb 8 09:33:38 PST 2019


SLPK files are really gzip files inside an uncompressed zip archive.  The
current code extracts the gzip file from the zip archive by writing it to a
temporary location.  You should be able to use the TMP or TEMP environment
variable to set the path as you choose.

In the future it may be possible to eliminate the temporary file creation,
but the current behavior of the code is as described above.

Hope that helps,


On Fri, Feb 8, 2019 at 12:21 PM David Lewis <dlewi146 at gmail.com> wrote:

> I'm trying to read the file so that I can save out a smaller subset of the
> points using a Crop filter. The problem is that the file is much too large
> for PDAL to extract to my temporary folder when it tries to initially read
> in the file.
>
> I'm hoping there is some way to direct PDAL to extract the file in a
> different location instead of the temporary files folder.
>
> On Fri, Feb 8, 2019, 11:50 AM Andrew Bell <andrew.bell.ia at gmail.com wrote:
>
>> What do mean by "extract"?  Are you trying to fetch a subset of points
>> from an SLPK source and write that subset to another SLPK source?
>>
>> On Fri, Feb 8, 2019 at 11:39 AM David Lewis <dlewi146 at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am attempting to use PDAL to perform some processing and conversion
>>> on  a large SLPK file. Extracting the file into the temporary directory of
>>> the local machine is not viable and I was wondering if there was any way to
>>> direct the file extraction to a different location, such as a network
>>> drive. I have read through the documentation, but I don't seem to have
>>> located anything like this option. Is there some viable way of achieving
>>> this?
>>>
>>> Thank you for your time,
>>> David Lewis
>>> Undergraduate Imaging Science
>>> Chester F. Carlson Center for Imaging Science
>>> Rochester Institute of Technology
>>> _______________________________________________
>>> pdal mailing list
>>> pdal at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/pdal
>>
>>
>>
>> --
>> Andrew Bell
>> andrew.bell.ia at gmail.com
>>
>

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190208/bd041572/attachment-0001.html>


More information about the pdal mailing list