Skip to main content
Question

SpatialFilter keeps rejecting filter polygons


Hi all!

I've got a point cloud file of an area, and citygml file of this area as well. In the citygml file, I have the roof surface as polygons. Now I am connecting the points in the point cloud with the polygons of the roof surface. I tried several transformers, such as PointOnAreaOverlayer, Interjector, and now SpatialFilter. But as you can see in the below snapshot, the filters are rejected at the first place. I tried to add a BoundingBoxReplacer to my roof surface before the SpatialFilter. But still it didn't work.

Thanks in advance.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+19
  • Contributor
  • May 24, 2016

I think you need the Clipper instead of the SpatialFilter. I assume you want the part of the PointCloud that is inside the roof polygon.


takashi
Evangelist
  • May 25, 2016

Hi @summercyn1110, the 3DBoundingBoxReplacer replaces the input geometry with a solid (extrusion), and both the SpatialFilter and Clipper won't accept solid features. Why not use the BoundingBoxReplacer instead of the 3DBoundingBoxReplacer?


erik_jan wrote:

I think you need the Clipper instead of the SpatialFilter. I assume you want the part of the PointCloud that is inside the roof polygon.

Thanks it finally worked with Clipper. Thank you so much!


takashi wrote:

Hi @summercyn1110, the 3DBoundingBoxReplacer replaces the input geometry with a solid (extrusion), and both the SpatialFilter and Clipper won't accept solid features. Why not use the BoundingBoxReplacer instead of the 3DBoundingBoxReplacer?

I then used this Clipper and worked it out. And I found out it's because that some of these transformers only work in 2d way instead of 3d... Anyway, many thanks!!


Reply


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