Skip to main content
Solved

Hi everyone, I've got to convert waypoint files to GPX files. I also need to convert txt to GPX. Please let me know if there is a work instruction for either conversion. Kind Regards, David


Hi everyone, I've got to convert waypoint files to GPX files. I also need to convert txt to GPX. Please let me know if there is a work instruction for either conversion. Kind Regards, David

Best answer by hkingsbury

david_lyons wrote:

I cannot add the WPT. file But this is the same version in txt.

Have a look at the attached .fmw

Reads in the text file using a text file reader (could also use CSV reader if there was a header line) then splits each row into each attribute (splits on a comma) then assigns the list element to an attribute (just lat/long in the example) then creates a point and writes it to gpximage

View original
Did this help you find an answer to your question?

3 replies

hkingsbury
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • March 6, 2022

Are you able to supply some examples of the two input files?

The gist of the process(es) will be to read the data in, create the required geometries, then usining the GPX writer, write the geometries out to the required file(s)


hkingsbury wrote:

Are you able to supply some examples of the two input files?

The gist of the process(es) will be to read the data in, create the required geometries, then usining the GPX writer, write the geometries out to the required file(s)

I cannot add the WPT. file But this is the same version in txt.


hkingsbury
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • Best Answer
  • March 7, 2022
david_lyons wrote:

I cannot add the WPT. file But this is the same version in txt.

Have a look at the attached .fmw

Reads in the text file using a text file reader (could also use CSV reader if there was a header line) then splits each row into each attribute (splits on a comma) then assigns the list element to an attribute (just lat/long in the example) then creates a point and writes it to gpximage


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