Absolutely. If it's a list of coordinates per feature, then follow up the CoordinateExtractor with a ListExploder transformer to "explode" the list of coordinates. Then use a StringConcatentator to join together the x, y, and z values into a new attribute called text_line_data. Finally, add a Text File writer.
That'll write your coordinates to a text file.
Absolutely. If it's a list of coordinates per feature, then follow up the CoordinateExtractor with a ListExploder transformer to "explode" the list of coordinates. Then use a StringConcatentator to join together the x, y, and z values into a new attribute called text_line_data. Finally, add a Text File writer.
That'll write your coordinates to a text file.
Actually, an even simpler way is to:
- Skip the CoordinateExtractor and use a CoordinateConcatenator
- Set Coordinate Delimiter to a newline character and the Element Delimiter to a comma
- Name the output text_line_data
- Write it to a textfile output
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.