Skip to main content
Question

How to calculate x,y coordinates from point feature class as same as ArcGIS calculate

  • December 9, 2013
  • 5 replies
  • 1225 views

I have a point POI (Points of Interest) feature class. I need to calculate X and Y coordinates (Lat\\Long ) in a FME workbench process. How do I do this with FME workbench ?  

 

 

Can someone help me to model this or any other direct converter 

 

 

(Feature class has [shape] field.) 
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.

5 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • December 9, 2013
Hi,

 

 

Try the CoordinateExtractor, with an index of 0 for points.

 

 

Itay

david_r
Celebrity
  • December 9, 2013
Hi,

 

 

to add to Itay's response: if your input feature class isn't already in LatLon, insert a CsmapReprojector before the CoordinateExtractor to reproject the geometry first.

 

 

David

  • Author
  • December 10, 2013
Thank you gentlemen. I will try this

 

 

@David : Feature atributes never show coordinates as it is encripted  in geometry field(Shape) we need x,y coordinates in seperate column for simple (ArcGIs flex API based) application to show points on map. Application has compiled and  written to use x,y coordinates where we cant change.

 

 

Appreciate your reply. 

david_r
Celebrity
  • December 10, 2013
Hi,

 

 

yes, that's correct. My point was that the CoordinateExtractor will extract the x,y coordinate values in the same coordinate system as the input geometry. If this differs from LatLon, you will have to do some reprojections to ensure you get the x,y in your chosen projection.

 

 

David

  • June 17, 2016

use transformer chopper, then coordinate extractor (expose elements x and y)