Skip to main content
Solved

Calculate time point a - point b

  • September 1, 2017
  • 2 replies
  • 54 views

danilo_fme
Celebrity
Forum|alt.badge.img+51

Hello,

I have a point shapefile and my goal is calculate the distance time In my workspace i used the transformer NeighborFinder to find the distance in meters between the features. Another information is the speed in KM / h to arrive point A until B.

 

How can i calculate how many minutes my point A will arrive in point B.

 

Informations:

 

Distance: 443.81979158381 mSpeed = 2.778 KM - h

 

Thanks, Danilo

Best answer by rylanatsafe

With the given information, if you can use the AttributeManager to create a new attribute – for example, _time – and use the Arithmetic Editor for Distance / Speed * 60 / 1000.

For the above values this would be 443.81979158381m / 2.778km/h * 60min/h / 1000m/km = 9.58574.. minutes.

Edit: Accidentally wrote Time instead of Speed!

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

rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • Best Answer
  • September 1, 2017

With the given information, if you can use the AttributeManager to create a new attribute – for example, _time – and use the Arithmetic Editor for Distance / Speed * 60 / 1000.

For the above values this would be 443.81979158381m / 2.778km/h * 60min/h / 1000m/km = 9.58574.. minutes.

Edit: Accidentally wrote Time instead of Speed!


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • September 2, 2017

Hi @RylanAtSafe,

Thanks your quicly answer.

Danilo