​Thank you Jonathan,

yes, in the future we'll setup a PostGIS layer​, so I'll probably look into
the extension
(https://github.com/pgpointcloud/pointcloud, for reference).

Regarding what you said about culling the cloud before buffering: how would
you do that?

I am thinking about using an ad-hoc PrecisionModel for the GeometryFactory
with the resolution that relaxes to that of a current pixel area of the
map, so that each point that falls within the same pixel.
Were you meaning such kind of "pre-thinning" ?

I remember that (surprisingly) using a non-standard precision model
(FLOATING or FLOATING_SINGLE for instance) in the GeometryFactory
*inflates* the computational cost despite you are e.g. reducing the algebra
resolution.

-Piero




On 5 April 2016 at 18:24, Jonathan Moules <[email protected]>
wrote:

> Hi Piero,
>     Douglas-Peucker won't do anything to a point-cloud; it removes
> vertices from lines and polygons. What you want is some sort of thinning
> algorithm, I'm not sure if there's such a thing in the JTS (none of the
> ones on:
> http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/simplify/package-frame.html
> look applicable).
>
>     Thoughts:
>     * Can you do all (or at least some) of this process database side?
> That may be preferable. PostGIS and the pointcloud extension has a lot of
> powerful tools.
>     * How about pre-thinning (cull) the points so that you only have the
> detail level that you need in your data store?
>     * There's also PDAL - http://www.pdal.io/
>
> Cheers,
> Jonathan
>
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to