Skip to main content
Question

extract coordinate in degree decimal

  • March 1, 2018
  • 6 replies
  • 237 views

I use the NZTM coordinate system in my file geodb

I have a workbench extracting me the center of polygans. The extracted values are in meters.

Can someone tell me how to change the coordinates in degree decimal format?

Equivalent to the ArcMap, calculate geometry center -> X coord specifying units as degree decimal

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.

6 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • March 1, 2018

Use the attributeReprojector on the extracted coordinates.


  • Author
  • 15 replies
  • March 1, 2018

To my knowledge- the attributeReporjector is used to change the projection.

The projection should still be NZTM, I just need the units to change from "metres" to "Decimal degrees". Can I still use the "attributeReprojector" and what parameters need to be supplied to change from NZTM(metres) to NZTM(decimal degrees)?


jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • March 1, 2018

To my knowledge- the attributeReporjector is used to change the projection.

The projection should still be NZTM, I just need the units to change from "metres" to "Decimal degrees". Can I still use the "attributeReprojector" and what parameters need to be supplied to change from NZTM(metres) to NZTM(decimal degrees)?

Use the attributeReprojector to change your attributes from EPSG:2193 to EPSG:4167

 

You'll still be using the NZGD2000 datum and GRS1980 ellipsoid.

 

 


  • Author
  • 15 replies
  • March 8, 2018

I tried the attributeReprojector but I don't get the same values as in ArcMap

Are you sure it's EPSG:2193 to EPSG:4167 in FME?

 

some sample values attached

 


takashi
Celebrity
  • 7843 replies
  • March 8, 2018

I tried the attributeReprojector but I don't get the same values as in ArcMap

Are you sure it's EPSG:2193 to EPSG:4167 in FME?

 

some sample values attached

 

I suppose that you intend to get latitude/longigute of a location with the same datum as NZTM (New Zealand Transverse Mercator NZGD2000, EPSG:2193). If so, I think the coordinate system NZGD2000.LL (EPSG:4167) is reasonable as a destination latitude/longitude coordinate system since it's based on the same datum (NZGD2000) as NZTM.

 

 


jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • March 9, 2018

If your values are different between arcmap and FME, is it actually a question of projection, or is the "center point" different.

 

FME has 3 different modes for extracting the center point of a polygon

 

Center of the Bounding Box

 

Center of Gravity

Closest point to one of the above that falls inside the polygon.

 

 

As far as I am aware the ArcGIS Centroid is the center of Mass, whereas the default FME CenterPointExtractor is the center of the bounding box.