tests/testthat/_snaps/kml_to_csv.md

creates csv

Code
  read.csv(file.path(temp_dir, "example_polygons.csv"))
Output
                 name feature_type seq  longitude latitude altitude
  1  example_polygon1      POLYGON   1 -109.33785 45.53534        0
  2  example_polygon1      POLYGON   2 -106.95169 41.46721        0
  3  example_polygon1      POLYGON   3 -100.89851 44.45468        0
  4  example_polygon1      POLYGON   4 -109.33785 45.53534        0
  5  example_polygon2      POLYGON   1 -100.06183 37.08399        0
  6  example_polygon2      POLYGON   2  -99.84344 35.26575        0
  7  example_polygon2      POLYGON   3  -98.61712 35.40292        0
  8  example_polygon2      POLYGON   4  -96.75744 37.63186        0
  9  example_polygon2      POLYGON   5  -96.44857 39.81675        0
  10 example_polygon2      POLYGON   6  -98.79507 41.59274        0
  11 example_polygon2      POLYGON   7 -102.16848 39.89768        0
  12 example_polygon2      POLYGON   8 -103.08779 36.17908        0
  13 example_polygon2      POLYGON   9 -100.06183 37.08399        0


ocean-tracking-network/glatos documentation built on April 17, 2025, 10:38 p.m.