Skip to main content
Solved

Geometry traits to attribute


lukas108
Contributor
Forum|alt.badge.img+7

Hello, I have AIXM 5 reader in my workspace. When I load geometry, I got 2D points. I need to get elevation from geometry trait. My problem is that the geometry property extractor does not offer me any traits for export. Where can be a mistake?

Here is my data in Data Inspector:

Best answer by oscard

In this answer they comment about using Deaggregator and then the GeometryPropertyExtractor.

 

 

https://knowledge.safe.com/questions/61884/how-to-convert-obj-group-and-and-object-traits-to.html

 

 

Not sure if it could work for you.
View original
Did this help you find an answer to your question?

10 replies

takashi
Influencer
  • September 21, 2018
How have you set parameters in the GeometryPropertyExtractor?

 

 


oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • Best Answer
  • September 21, 2018

In this answer they comment about using Deaggregator and then the GeometryPropertyExtractor.

 

 

https://knowledge.safe.com/questions/61884/how-to-convert-obj-group-and-and-object-traits-to.html

 

 

Not sure if it could work for you.

takashi
Influencer
  • September 21, 2018

Does every point surely have the trait called "elevation"? I'm afraid that the trait is missing in some features.


lukas108
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • September 21, 2018

Thanks. Deaggregator helps me


lukas108
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • September 21, 2018
takashi wrote:

Does every point surely have the trait called "elevation"? I'm afraid that the trait is missing in some features.

Good note. I did not think so. Next time I check it in advance. This time is the elevation property everywhere.

 

 


takashi
Influencer
  • September 21, 2018
takashi wrote:

Does every point surely have the trait called "elevation"? I'm afraid that the trait is missing in some features.

hmm, sounds strange. By the default Geometry XQuery, the GeometryPropertyExtractor should extract the specified trait without de-aggregating, if every geometry has the trait...

 


lukas108
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • September 21, 2018
takashi wrote:
hmm, sounds strange. By the default Geometry XQuery, the GeometryPropertyExtractor should extract the specified trait without de-aggregating, if every geometry has the trait...

 

It is quite strange. In GeometryPropertyExtractor is still any traits to choose, but I have elevation in attributes after translation.

 

 


takashi
Influencer
  • September 21, 2018
takashi wrote:

Does every point surely have the trait called "elevation"? I'm afraid that the trait is missing in some features.

These screenshots demonstrate how the transformer with the default Geometry XQuery works for aggregate geometries. In the sample data, 4 features didn't have "elevation" trait.

 

 

 

 


lukas108
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • September 21, 2018
takashi wrote:

These screenshots demonstrate how the transformer with the default Geometry XQuery works for aggregate geometries. In the sample data, 4 features didn't have "elevation" trait.

 

 

 

 

I tried the same. I still can´t choose any trait to extract, but now it works without deaggregator. I think of some mistake in reader setting or in input data.

 

 

If you want test original data: obst1809.xml

 

 


takashi
Influencer
  • September 22, 2018
takashi wrote:

These screenshots demonstrate how the transformer with the default Geometry XQuery works for aggregate geometries. In the sample data, 4 features didn't have "elevation" trait.

 

 

 

 

 

I was able to extract the "elevation" trait from your sample data, without Deaggregator. I've not touch any parameter in the AIXM5 reader.

 

aixm5-geometrypropertyextractor.fmwt (FME 2018.1.0.2)

 


Reply


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