Skip to main content
Question

Problem identifying invalid geometries

  • July 2, 2013
  • 4 replies
  • 98 views

fmelizard
Safer
Forum|alt.badge.img+21
I'm using FME 2013 SP1, although this problem has existing in previous versions as far back as I can remember.  This problem comes up whenever I try to translate from GeoMedia SQL Server data to any other format I've tried (AutoDesk MapGuide 6.5, ESRI Shape, ESRI file geodatabase, etc.): when reading in polygon features from several of my GeoMedia feature classes, I get the following errors:

 

 

2013-07-02 11:24:29| 99.6| 0.0|WARN |Invalid 'Polygon' geometry detected. Start and end point not identical. Forced closing the Polygon

2013-07-02 11:24:29| 99.6| 0.0|WARN |... Last line repeated 7 times ...

 

Since FME is force closing the polygons *as they are read*, I have no way of identifying them in my source data so that I can fix them.  Following the reader feature type with a GeometryValidator transformer doesn't help because the geometery issue is already fixed before it hits the transformer.

 

 

How can I go about finding these invalid polygons?

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • July 2, 2013
Hi,

 

 

It seems to me that you have to do it outside of FME, so in the native system.

 

Beside that it does sound like an issue of tolerance to me but since I dont know or have experience with geomedia, I could be totally wrong....

 

 

Itay

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • July 2, 2013
Itay,

 

 

Unforunately, the "Validate Geometry" tool in GeoMedia doesn't seem to find these polygons.  And I can't find any tolerance settings to adjust either.

 

 

Carl

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • July 2, 2013
Hi Carl,

 

 

And if you write these features back into geomedia via FME and reread them does the error pressist?

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • July 2, 2013
Itay,

 

 

Oooohhhhh!!!  that worked!  Thanks a million!

 

 

Carl