Skip to main content
Question

How to Handle GML Multiple Geometries

  • November 23, 2016
  • 3 replies
  • 52 views

I have a gml dataset with lat long and British National Grid refences within it. All I want is the BNG reference. Which is hte best way to resolve this issue so I only get one set of geometry and not two?

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.

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • November 23, 2016

As far as I can tell, multiple geometries in GML are read as an aggregate feature where each geometry has a separate name. To remove one of those you could try the GeometryPropertyRemover or you could use the Deaggregator to split the data and then discard the part you don't want (probably with a Tester transformer)

I hope that helps. I don't have a sample dataset to try this on but from what I have read I think this will work.


mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • November 23, 2016

As far as I can tell, multiple geometries in GML are read as an aggregate feature where each geometry has a separate name. To remove one of those you could try the GeometryPropertyRemover or you could use the Deaggregator to split the data and then discard the part you don't want (probably with a Tester transformer)

I hope that helps. I don't have a sample dataset to try this on but from what I have read I think this will work.

Oh. Also check out the Map Geometry Columns parameter in the GML reader. I'm not altogether sure what it is meant to do, but switching it might help get what you need.

 

 


  • Author
  • November 24, 2016

Many thanks didn't know about de-aggregator.

Looking good now