Closed brittanikedge closed 4 months ago
@tmieno2 I think this should be a separate issue. It occurs with the same json I gave you for the problem with a gap between plots in the same strip_id
Okay. I will modify the code to remove any linestrings.
Can you show me the error message? I only see polygons in the trial design of the field.
The error happens in st_write(), specifically when selecting ext = "shp". I don't have an error when ext = "geojson".
I was able to find the linestring inside the td. I'm attaching a screenshot of the error and which feature contains the linestring. It is part of the headland.
Oh, I see. I was just looking at the experiment part. Got it.
Okay, I pushed the change. Please see if writing works now.
Yes, it works! I will close this issue.
When a linestring is present in the boundary file, it remains in the trial design causing an error when writing file to a shapefile