Skip to main content
Solved

Data QA: GML geometry - missing vertices


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.

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

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+43
  • 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
mark2atsafe wrote:

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! ;)


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