Skip to main content
Solved

Calculating difference between easting and northing coordinates

  • October 9, 2017
  • 3 replies
  • 408 views

Morning

I am trying to calculate the difference between coordinates of 2 stations. I've attached an image to assist in explaining. If you reference the image I've attached, you will see that lines 1 & 3 are the same station, and 2 & 4 are the same station also. Eastings and Northings provided on lines 3 & 4 are the accurate coordinates. Is it possible to calculate the difference and have it outputted?

I need to use this data to make an adjustment to some spatial data based off this calculation, well, to start.

Best answer by pallegama

Hi @gavin_082,

I think this can be achieved using StatisticCaluclator transformer as given below.

'Range Attribute' calculate the difference between two values in Northing and Easting attributes group by OID.

Regards,

Priyantha

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.

3 replies

pallegama
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 25 replies
  • Best Answer
  • October 9, 2017

Hi @gavin_082,

I think this can be achieved using StatisticCaluclator transformer as given below.

'Range Attribute' calculate the difference between two values in Northing and Easting attributes group by OID.

Regards,

Priyantha


  • Author
  • 2 replies
  • October 9, 2017

Hi @gavin_082,

I think this can be achieved using StatisticCaluclator transformer as given below.

'Range Attribute' calculate the difference between two values in Northing and Easting attributes group by OID.

Regards,

Priyantha

Awesome, thank you, that has given me the result I was after.

 

 

Do you know of an easy way to either add or subtract the outputted "_range" against the original eastings and northings?

 

 


pallegama
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 25 replies
  • October 10, 2017
Awesome, thank you, that has given me the result I was after.

 

 

Do you know of an easy way to either add or subtract the outputted "_range" against the original eastings and northings?

 

 

You can use Offsetter transformer to offset the original values in the feature. Consider multiplying the value by -1 (ExpressionEvaluator or AttributeCreator can be used) when required to substract.