[pdal] Array Dimensions

Mateusz Loskot mateusz at loskot.net
Wed Jul 3 02:08:14 PDT 2013


On 3 July 2013 04:20, Chris Foster <chris.foster at roames.com.au> wrote:
> On 3 July 2013 01:01, Howard Butler <hobu.inc at gmail.com> wrote:
>> Sometimes you want an octree, sometimes a kdtree, sometimes something else.
>> Trying to allow you to plug into an index in any sort of generic way is
>> difficult.
>>
>> My first cut at this was to make a filter that simply passed-through the
>> data as it were consumed by a pipeline, and then you cast(ed) the filter
>> into a concrete type and used its special methods to find points, etc. It's
>> not perfect, but it kind of works (see pcequal for some example)
>
> I'll have a look.
>
>>> Ok, so UnsignedByte is more like "raw bucket of bits"?  I can definitely see
>>> the case for a raw interpretation of some kind, allowing arbitrary serialized
>>> user data to be passed along without pdal messing with it.
>>
>> Yes, exactly.
>
> Right.  In that case, is there any need for the UnsignedByte/SignedByte
> distinction?  I'd be inclined to rename this as something like
> "Raw" (or a better name, I'm sure there is one :))

For raw byte streams, you can pick freely signed char or unsigned char,
so single type is sufficient, indeed.

Best regards,
--
Mateusz  Loskot, http://mateusz.loskot.net


More information about the pdal mailing list