Skip to main content
Question

Converting hatches to polygons generating weird polygon,

  • February 16, 2014
  • 2 replies
  • 124 views

jamal
Forum|alt.badge.img+5
Converting hatches to polygons generating weird polygon,

 

 

I wanted to convert thatches from AutoCAD to polygons. All worked fine except one polygon which is converted incorrectly (not as is in AutoCAD)

 

 

 

 

 

 

 

 

 

The CAD file can be found in the link below:

 

http://www.mediafire.com/download/s8ests0hxasklpo/DierAlGosoun_Tulkarm_UrbanMasterPlan_Hatches.dwg

 

 

What might be the issue here?

 

 

 

Thank you

 

 

Best

 

 

Jamal

2 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 17, 2014
Hi Jamal,

 

 

According to inspection with the Data Inspector, the polygon seems to contain an unexpected vertex (0, 0). I don't know why AutoCAD doesn't draw it (might ignore invalid vertices automatically?), but the SpikeRemover can be used to remove it. And then, check again whether the repaired geometry is correct.

 

FME provides some transformers to validate and / or repair geometries. e.g. the GeometryValidator, SpikeRemover etc.. In general, when you encountered strange shapes, consider using them.

 

 

Takashi

jamal
Forum|alt.badge.img+5
  • Author
  • February 17, 2014
Many thanks Takashi for the help. The “SpikeRemover ” works fine.

 

 

 

 

 

 

 

 

 

Best

 

 

Jamal

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