Skip to main content
Question

Point Cloud classifications from vector data

  • July 12, 2018
  • 4 replies
  • 25 views

djmcdermott
Contributor
Forum|alt.badge.img+7

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

jneujens
Forum|alt.badge.img
  • 189 replies
  • 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+7
  • Author
  • Contributor
  • 43 replies
  • 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?
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+12
  • Contributor
  • 9 replies
  • 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
  • 189 replies
  • July 13, 2018
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. :)