Skip to main content
Solved

Data QA: GML geometry - missing vertices

  • February 19, 2020
  • 2 replies
  • 32 views

Hello,

I need to create and implement control rules which can show that my object (in GML) has dupplicate vertices.

I have reader "GML file" with the element which geometry is:

<bdz:geometria>

<gml:Polygon gml:id="geom.9acd0ccc-6a2a-4dfa-8e70-487b08d83e7b" srsName="urn:ogc:def:crs:EPSG::2176">

<gml:exterior>

<gml:LinearRing>

<gml:posList>5947602.08 5474440.64 5947598.85 5474445.14 5947598.85 5474445.14

5947602.08 5474440.64 5947603.36 5474448.24 5947606.44 5474443.96 5947602.08 5474440.64</gml:posList>

</gml:LinearRing>

</gml:exterior>

</gml:Polygon>

</bdz:geometria>

 

It contains 7 vertices (1 dupplicate vertex), but when I add inspector, FME show me that there is 6 vertices:

 

Neither the geometry validator nor the coordinate extractor can see that the element has 7 vertices with 1 dupplicate vertex.

How can I add GML reader which shows me 7 vertices? How can I resolve this problem?

Best answer by mark2atsafe

Interestingly, just last week I answered this question for another user.

https://knowledge.safe.com/questions/105349/how-do-i-prevent-fme-from-correcting-my-gml-data-i.html?childToView=108047#answer-108047

In short: Yes, the GML reader fixes these issues automatically. There is a setting we can use to prevent that happening, but it does mean making edits to a config file. Check out the above link to get the full answer.

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.

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • Best Answer
  • February 19, 2020

Interestingly, just last week I answered this question for another user.

https://knowledge.safe.com/questions/105349/how-do-i-prevent-fme-from-correcting-my-gml-data-i.html?childToView=108047#answer-108047

In short: Yes, the GML reader fixes these issues automatically. There is a setting we can use to prevent that happening, but it does mean making edits to a config file. Check out the above link to get the full answer.


  • Author
  • February 21, 2020

Interestingly, just last week I answered this question for another user.

https://knowledge.safe.com/questions/105349/how-do-i-prevent-fme-from-correcting-my-gml-data-i.html?childToView=108047#answer-108047

In short: Yes, the GML reader fixes these issues automatically. There is a setting we can use to prevent that happening, but it does mean making edits to a config file. Check out the above link to get the full answer.

Thank You very much! ;)