[pdal] Fixing the topology of the hexagon coverage from density

Andrew Bell andrew.bell.ia at gmail.com
Thu Dec 12 04:38:51 PST 2019


You should be able to do this by passing the precision argument to the
hexbin filter.  For example: `--filters.hexbin.density=5`.

If this doesn't work, please let me know.

On Thu, Dec 12, 2019 at 3:26 AM Jukka Rahkonen <jukka.rahkonen at latuviitta.fi>
wrote:

> Hi,
>
> I noticed that the vertices of the hexagon cells that "pdal density"
> writes out do not match exactly. It means that it is not easy to union
> the output into one polygon with GIS tools. The issue can be fixed by
> reducing the precision of coordinates with the PostGIS ST_Snap or
> similar tool. With a projected CRS it was enough to round the
> coordinates into 5 decimal places. It might be good to have a coordinate
> rounding option directly in the density tool.
>
> -Jukka Rahkonen-
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal



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


More information about the pdal mailing list