Skip to main content
Question

AttributeKeeper does not keep coordinates


I'm try to establish an SHP-Minecraft translation, but in the 2016 version of FME, I had some trouble with the AttributeKeeper. I have an input SHP (point), connected with a coordinate extractor. After that, I attached an AttributeKeeper. I want to keep some SHP attributes, and the coordinates, extracted by the CoordinateExtractor. For some reason, the Keeper lost the XYZ coordinates. If I took try the same in FME 2015, the keeper will keep the attributes. Is it a version error, or I missed something?

The following pictures shows the connection, and the settings. In the keeper, I cannot tick the mother attribute, just the children attributes (XYZ).

Thanks for your help.

Bálint

4 replies

Forum|alt.badge.img+5

Hi @gulkhanra

Because the x/y/z are being extracted as a 'list' type of attribute, instead of using the Attributes to Keep parameter, you should use the Lists to Keep parameter, like so:

Hope this helps

Mark


takashi
Evangelist
  • June 28, 2016

Hi @gulkhanra, alternatively you can use the 'Specify Coordinate' option for the 'Mode' parameter. The transformer with this mode is equivalent to the one in FME 2015 and earlier.


takashi
Evangelist
  • June 28, 2016
takashi wrote:

Hi @gulkhanra, alternatively you can use the 'Specify Coordinate' option for the 'Mode' parameter. The transformer with this mode is equivalent to the one in FME 2015 and earlier.

In addition, it might be better if the AttributeKeeper could be improved to expose list elements which the user specify in the 'Attributes to Keep' parameter.


  • Author
  • June 29, 2016

Thank you guys:)

 

I tried both, and both is good, but I prefered the AttributeKeeper version:)

 

I' can proceed now with my research:)

 

Thanks again:)

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