Skip to main content
Question

Save .shp multipolygon to .wkt file

  • November 9, 2020
  • 1 reply
  • 84 views

Forum|alt.badge.img

Hello,

 

I am trying to save multipolygon .shp file to .wkt file. See attachment.

 

Is it possible to save the output of my workbench directly to the file with extension. wkt?

I noticed that .wkt Reader exist, but I cannot find Writer.

 

I know that I could save it to .txt, but it doesn't solve my problem because in the next step of the process I need to seed this file to external tool which reads only file with .wkt extension. I would like to avoid manual step of changing .txt file extension into .wkt as I would need to do it multiple times.

ogc_wkt

1 reply

david_r
Evangelist
  • November 9, 2020

How about getting the WKT using the GeometryExtractor into the attribute text_line_data, then using the regular text file writer? It should be possible to set the output file extension there.


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