Skip to main content
Question

How can you clip based on the objects of a shapefile

  • February 21, 2020
  • 5 replies
  • 109 views

koenvdw
Contributor
Forum|alt.badge.img+6

I have a shapefile with an attribute ID that contains 23 objects (polygons).

I want to use this shapefile to clip the las files and combine them based on the objects.

So I want 23 point clouds.

 

I have an idea on how it works, but want to be sure as this is going to run for a long time.

 

My bench looks like this:

In clipper I would turn on group by "ID" and merge the attribute just to name the Las file by the value in ID.

In pointcloudcombiner I would turn on group by "ID"

 

will this give me the result I want?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 replies

takashi
Evangelist
  • February 21, 2020

No, if you intend to create 23 point cloud features clipped by the 23 polygons read from the Shapefile dataset, you shouldn't set Group By parameter in the Clipper.

First of all, you need to clarify why the 21 features have been output from the <Rejected> port. Check if the rejected features have valid geometries.


koenvdw
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 21, 2020
takashi wrote:

No, if you intend to create 23 point cloud features clipped by the 23 polygons read from the Shapefile dataset, you shouldn't set Group By parameter in the Clipper.

First of all, you need to clarify why the 21 features have been output from the <Rejected> port. Check if the rejected features have valid geometries.

I used single clipper that's why the 21 features were rejected. That's something I already adjusted.

I'll turn off the group by in the clipper and leave it on in the pointcloudcombiner...

 


takashi
Evangelist
  • February 21, 2020
takashi wrote:

No, if you intend to create 23 point cloud features clipped by the 23 polygons read from the Shapefile dataset, you shouldn't set Group By parameter in the Clipper.

First of all, you need to clarify why the 21 features have been output from the <Rejected> port. Check if the rejected features have valid geometries.

Then, what happened?


koenvdw
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 21, 2020
takashi wrote:

No, if you intend to create 23 point cloud features clipped by the 23 polygons read from the Shapefile dataset, you shouldn't set Group By parameter in the Clipper.

First of all, you need to clarify why the 21 features have been output from the <Rejected> port. Check if the rejected features have valid geometries.

I tried it with single clipper and with group by on in the clipper and pointcloudcombiner, but as you saw on the picture most features were rejected so I turned it back to multiple clippers.

Then I started it with multiple clippers and group by on in the clipper and pointcloudcombiner. It was still running when I read your comment, so I canceled it and removed the group by in the clipper.

 

It's a dense point cloud divided in little tilesof a complete Belgian municipality so it's going to take a while.


Forum|alt.badge.img+2
  • February 21, 2020

@koenvdw You will improve the performance of the clipping if you set Clipper Type: Clippers First and then make sure your SHAPE file reader is the first reader in the navigatior.


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