Writes a StratumPolygon to GeoJSON, StoX_WKT or shapefile.

WriteStratumPolygon(
  StratumPolygon,
  FileFormat = c("GeoJSON", "StoX_multipolygon_WKT", "StoX_shapefile")
)

Arguments

StratumPolygon

The StratumPolygon process data.

FileFormat

The format of the files to write the StratumPolygon to. StoX_multipolygon_WKT is the table of stratum name and WKT multipolygon used by StoX.

Value

A WriteStratumPolygonData object.

Details

The actual writing takes place in RstoxFramework. This function only converts the data to appropriate classes interpreted by RstoxFramework.