Skip to main content
Question

Retime gpx-files


aron
Supporter
Forum|alt.badge.img+16
  • Supporter

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?

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • 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
Supporter
Forum|alt.badge.img+16
  • Author
  • Supporter
  • May 28, 2020
danilo_fme wrote:

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
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • June 1, 2020
aron wrote:

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


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