Skip to main content
Question

GeometryValidator - self intersections in 2D


Forum|alt.badge.img

I am trying to detect errors in a bunch of mapinfo polygon files. I am using GeometryValidator and its Self-Intersections in 2D to try to pick up the error below but it doesn't fail. Did I miss anything or do anything wrong?

Thanks!

incorrect polygon(top) vs. correct polygon(bottom):

attached files can be found via this link https://www.dropbox.com/sh/oim1ywj4t1ud24h/AABw-89...

8 replies

Forum|alt.badge.img+5
  • May 25, 2016

Just to make sure I'm reading this correctly:

  • There's a checkmark in front of 'Self-Intersections in 2D'
  • The feature is coming out of the 'Passed' port, not 'Repaired'

I tried drawing something similar and validate it, it was repaired by the Validator.

 

this was in 2016.1.

Forum|alt.badge.img
  • Author
  • May 25, 2016
kim wrote:

Just to make sure I'm reading this correctly:

  • There's a checkmark in front of 'Self-Intersections in 2D'
  • The feature is coming out of the 'Passed' port, not 'Repaired'

I tried drawing something similar and validate it, it was repaired by the Validator.

 

this was in 2016.1.

Hi @kim,

Yes I have 'Self-Intersections in 2D' ticked and I have 'Attempt Repair' as 'No' and everything comes out in the 'PASSED' output. I am using FME 2013.


david_r
Celebrity
  • May 25, 2016

Could you perhaps upload a mapinfo or ffs file here with these two polygons so we can try to reproduce?


Forum|alt.badge.img
  • Author
  • May 26, 2016
david_r wrote:

Could you perhaps upload a mapinfo or ffs file here with these two polygons so we can try to reproduce?

Sorry I couldn't upload the mapinfo files here - it wouldn't let me?


david_r
Celebrity
  • May 27, 2016
judychang wrote:

Sorry I couldn't upload the mapinfo files here - it wouldn't let me?

Maybe try Dropbox, Google Drive or Microsoft OneDrive. They will all let you share files over a URL.


Forum|alt.badge.img
  • Author
  • May 30, 2016
david_r wrote:

Maybe try Dropbox, Google Drive or Microsoft OneDrive. They will all let you share files over a URL.

Thanks! I've edited my question and post a link.


david_r
Celebrity
  • May 30, 2016

Hi

Thanks for the dataset. I tested the following

  • Self-intersections in 2D: No ? Passed
  • Self-intersections in 2D: Yes, Attempt repair: Yes ? Repaired
  • Self-intersections in 2D: Yes, Attempt repair: No ? Failed

This was using FME 2016.1 and the results were as I expected. It is possible that you've stumbled upon a bug in your version of FME that has since been corrected.

If you're using FME 2013 I would highly recommend considering an upgrade. If you're hesitant, you can always install FME 2016 next to FME 2013, this way you can choose whichever version to use for each task.

David


Forum|alt.badge.img
  • Author
  • May 31, 2016
david_r wrote:

Hi

Thanks for the dataset. I tested the following

  • Self-intersections in 2D: No ? Passed
  • Self-intersections in 2D: Yes, Attempt repair: Yes ? Repaired
  • Self-intersections in 2D: Yes, Attempt repair: No ? Failed

This was using FME 2016.1 and the results were as I expected. It is possible that you've stumbled upon a bug in your version of FME that has since been corrected.

If you're using FME 2013 I would highly recommend considering an upgrade. If you're hesitant, you can always install FME 2016 next to FME 2013, this way you can choose whichever version to use for each task.

David

Thanks for the help David!


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