Write a shapefile of interpolated tree rings
WriteShapefile_TreeRings(L2, filename = "test.shp")
is as list of Tree ring polygons (X, Y)
is a shape file(path) name written to disk.
No return value, called for side effects.
#'
WriteShapefile_TreeRings (TR@L, tempfile("TreeRingShape_test",fileext = ".shp"))
#> writing: substituting ENGCRS["Undefined Cartesian SRS with unknown unit"] for missing CRS
#> Writing layer `TreeRingShape_test1b457e488bc3' to data source
#> `/tmp/Rtmp13PuP5/TreeRingShape_test1b457e488bc3.shp' using driver `ESRI Shapefile'
#> Writing 38 features with 2 fields and geometry type Line String.
dir(tempdir())
#> [1] "TreeRingShape_test1b457e488bc3.dbf" "TreeRingShape_test1b457e488bc3.prj"
#> [3] "TreeRingShape_test1b457e488bc3.shp" "TreeRingShape_test1b457e488bc3.shx"
#> [5] "downlit" "file1b45379665f5"