[pdal] New dimension from filters.height
Vaclav Petras
wenzeslaus at gmail.com
Tue Dec 29 10:18:48 PST 2015
On Tue, Dec 29, 2015 at 11:47 AM, Andrew Bell <andrew.bell.ia at gmail.com>
wrote:
> On Tue, Dec 29, 2015 at 10:42 AM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
>
>> Hi all,
>>
>> the filter height [1] adds another dimension called Height. I have two
>> questions related to this.
>>
>> 1) How can I access this dimension in C++? Taking its ID from the list of
>> dimensions
>>
>> point_view->dims().back()
>>
>> works for me but I though I can get its ID directly by something like
>>
>> pdal::Dimension::id("Height")
>>
>
> Dimension::Id::Enum dim = point_view->layout()->findDim("Height");
>
I can see that now in the source code, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20151229/862a459b/attachment.html>
More information about the pdal
mailing list