Skip to main content
Solved

FaceReplacer does not work with non planar surfaces which I fixed with GeometryValidator

  • February 11, 2022
  • 6 replies
  • 64 views

limo
Supporter
Forum|alt.badge.img+8
  • Supporter

I have a shapefile with roof shapes. Now I will convert them into faces. This works well for almost all. But some areas are not planar. So theses non planar areas I fixed in a step before with GeometryValidator and then I will use FaceReplacer. But now the same issue was found "Non-Planar Surfaces". I thought with Geometry Validator these areas are fixed? Can someone help me?

Best answer by takashi

limo wrote:

Unfortunately this does not work either. Same mistake like before. FaceReplayer says "INVALID_GEOMETRY_TYPE"

imageMy Shapefile is a 3D polygon with z values and stored as shapefile.

imageYou will find it in the appendix!

A non-planar polygon will be a MultiArea after repairing with GeometryValidator, so you will have to insert the Deaggregator between GeometryValidator (Repaired port) and FaceReplacer.

View original
Did this help you find an answer to your question?

6 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 11, 2022

Hi @limo​ , have you set Yes to the Also Check Areas parameter? The GeometryValidator won't detect non-planar areas, if the parameter is set to No (default).

geometryvalidator-non-planer-surface"Also Check Areas - If set to No, this check will output all areas through the Passed port. If set to Yes, this check will determine an area’s output port based on its planarity." -- GeometryValidator Help


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • February 14, 2022

Hi @Takashi Iijima​ , yes I set Yes to the Check Areas parameter! The transformer fixed 4 Objects. However the face replacer says " Invalid Geometry Typ

 

imageThese 4 Objects are roof shapes:

image I will do Faces out of this polygons. So how can I convert them into faces?


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 14, 2022
limo wrote:

Hi @Takashi Iijima​ , yes I set Yes to the Check Areas parameter! The transformer fixed 4 Objects. However the face replacer says " Invalid Geometry Typ

 

imageThese 4 Objects are roof shapes:

image I will do Faces out of this polygons. So how can I convert them into faces?

The roof geometry could be a MultiArea, which cannot be transformed into surface directly with FaceReplacer.

 

Try using GeometryRefiner which transforms MultiArea consisting of a single part area.

 

If the roof polygon was a MultiArea consisting of two or more parts, try this procedure:

Counter: add sequential number as temporary ID to the roof polygon,

Deaggregator: decompose them into single areas,

FaceReplacer: replace them with Faces,

Aggregator (Group By ID): aggregate them into MultiSurface.


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • February 14, 2022

Unfortunately this does not work either. Same mistake like before. FaceReplayer says "INVALID_GEOMETRY_TYPE"

imageMy Shapefile is a 3D polygon with z values and stored as shapefile.

imageYou will find it in the appendix!


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • February 15, 2022
limo wrote:

Unfortunately this does not work either. Same mistake like before. FaceReplayer says "INVALID_GEOMETRY_TYPE"

imageMy Shapefile is a 3D polygon with z values and stored as shapefile.

imageYou will find it in the appendix!

A non-planar polygon will be a MultiArea after repairing with GeometryValidator, so you will have to insert the Deaggregator between GeometryValidator (Repaired port) and FaceReplacer.


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • February 16, 2022

Yes it works now 🙂

So it is sufficient to deaggregate only repaired polygons by the geometry validator. I was not sure about this!

All 3D polygons can be converted into faces. Thanks @Takashi Iijima​ 

 

image


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