Skip to main content
Question

Retime gpx-files

  • May 27, 2020
  • 3 replies
  • 13 views

aron
Enthusiast
Forum|alt.badge.img+16
  • Enthusiast
  • 136 replies

I need to set new timestamps to a set of polylines that is to become gpx files and have two questions:

1. How do I set what end is the begining of the line?

2. Is there some way to start the timestamp at a specified time? Say I wanted it to begin at 01-01-2000?

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

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • May 27, 2020

Hi @aron

1 - To extract the begin and end of line you can use the transformer CoordinateExtractor - using these configurations:

Begin of line: Index = 0

End of Line: Index = -1

 

Like image bellow:

 

Thanks in Advance,

Danilo


aron
Enthusiast
Forum|alt.badge.img+16
  • Author
  • Enthusiast
  • 136 replies
  • May 28, 2020

Hi @aron

1 - To extract the begin and end of line you can use the transformer CoordinateExtractor - using these configurations:

Begin of line: Index = 0

End of Line: Index = -1

 

Like image bellow:

 

Thanks in Advance,

Danilo

Thanks @danilo_fme! What I want to do is to set the starting point myself. I suppose the simplest would be to check what end of the line is closest to a point object and then set that end to index = 0. How do I set that instance to Index = 0?


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • June 1, 2020

Thanks @danilo_fme! What I want to do is to set the starting point myself. I suppose the simplest would be to check what end of the line is closest to a point object and then set that end to index = 0. How do I set that instance to Index = 0?

Hello @aron

The transformer Orientor can be used for change the oreintation of line.

 

Thanks in Advance,

Danilo