[pdal] New dimension from filters.height
Andrew Bell
andrew.bell.ia at gmail.com
Tue Dec 29 08:47:20 PST 2015
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");
> 2) Why it is using custom dimension when there is HeightAboveGround?
>
> pdal::Dimension::Id::HeightAboveGround
>
Good question. Seems to me that it should be changed. Anyone opposed?
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20151229/257f1745/attachment.html>
More information about the pdal
mailing list