Skip to main content
Question

Point Cloud classifications from vector data


djmcdermott
Contributor
Forum|alt.badge.img+6

Hi FME'rs

I would like to add land classifications stored in a polygon layer to a XYZ point cloud in an attempt to fudge an LAS-like dataset.

My approach so far was been to use to PointCloudCoercer to turn to XYZ to point, SpatialRelator to add the classification attribute from the polygon, then PointCloudCombiner to turn it back into a point cloud. As you can image, this is incredibly slow going.

Can anyone out there offer an alternative?

David

4 replies

jneujens
Forum|alt.badge.img
  • July 12, 2018

First question: why do you have to that?

 

 

Do you need all points in your point cloud? Thinning the cloud might make your process faster.

 

 

I don't have a full solution, but I would look into the PointCloudCombiner transformer. This transformer can make a pointcloud out of the polygon layer. That way you have a point cloud with your land classification. It might be easier to start from there?

djmcdermott
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • July 12, 2018
jneujens wrote:

First question: why do you have to that?

 

 

Do you need all points in your point cloud? Thinning the cloud might make your process faster.

 

 

I don't have a full solution, but I would look into the PointCloudCombiner transformer. This transformer can make a pointcloud out of the polygon layer. That way you have a point cloud with your land classification. It might be easier to start from there?
The XYZ point cloud I have is a 2m DSM so it's already as thin as i'd like it. I guess the other method is to rasterise the vector data and append the z value for the point cloud. I'm not quite sure if that would work it would rely on the rasterise vector data and point cloud to have the same position and resolution.

 

 


gavinpark
Contributor
Forum|alt.badge.img+7
  • Contributor
  • July 12, 2018

Have you tried converting the vector to a raster and then using the PointCloudOnRasterComponentSetter transformer to carry the values across?

This works well if you are colorising a point cloud but should let you bring over either a colour value to represent a class or a class value as a component depending how you intend to visualise the resulting point cloud.


jneujens
Forum|alt.badge.img
  • July 13, 2018
djmcdermott wrote:
The XYZ point cloud I have is a 2m DSM so it's already as thin as i'd like it. I guess the other method is to rasterise the vector data and append the z value for the point cloud. I'm not quite sure if that would work it would rely on the rasterise vector data and point cloud to have the same position and resolution.

 

 

Yeah, well you are trying some unconventional things so I am not sure there is a proper solution. :)

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings