Skip to main content
Solved

Extract X,Y from midpoint of line

  • November 26, 2013
  • 2 replies
  • 179 views

Forum|alt.badge.img
I'm not sure how to extract the X,Y attribute from the CenterPointReplacer?

 

 

I have my line feature feeding into the CenterPointReplacer transformer, this creates my Midpoint "Point" perfectly, but when i add this Point into my workspace (GeoMedia) the X,Y attribute are not to be seen?

 

 

Thoughts

Best answer by takashi

Hi, you can use the CoordinateExtractor transformer to do that.
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

takashi
Celebrity
  • Best Answer
  • November 26, 2013
Hi, you can use the CoordinateExtractor transformer to do that.

Forum|alt.badge.img
  • Author
  • December 2, 2013
Takashi, I have successfully extracted the X,Y of the midpoint of a line by using this workflow: CenterPointReplacer --> CoordinateExtracter --> Attribute Creator (creates the X,Y Attribute).

 

 

The Problem now is I have a point file where I actually need the original reader feature (Polyline) with the X,Y Coordinate attached to it ?