Skip to main content
Question

extract coordinate in degree decimal


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

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • March 1, 2018

Use the attributeReprojector on the extracted coordinates.


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+28
  • Contributor
  • March 1, 2018
josephjose wrote:

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.

 

 


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
Contributor
Forum|alt.badge.img+17
  • Contributor
  • March 8, 2018
josephjose wrote:

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+28
  • Contributor
  • 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.

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