Antartica features and coastline, with somewhat spurious precision.

cst10

Format

An object of class SpatialPolygonsDataFrame with 372 rows and 2 columns.

Details

In sp format. Interesting for exploring precision issues with DEL0() see issue 7.

Examples

# \donttest{ p <- PATH0(cst10) # DEL0(p) ## fails as does DEL0(cst10) # fails at 14 and crashes R in DEL0() in R version 4.0.0 RC (2020-04-17 r78247) on # windows p$vertex$x_ <- signif(p$vertex$x_, 13) p$vertex$y_ <- signif(p$vertex$y_, 13) DEL0(p)
#> class : DEL0 #> type : Primitive #> vertices : 14993 (2-space) #> primitives : 22267 (2-space) #> crs : +proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0
## compare 14993 unique vertices after rounding to silicate::sc_vertex(p) ## 21875
#> # A tibble: 21,875 x 2 #> x_ y_ #> <dbl> <dbl> #> 1 -2661902. 1488199. #> 2 -2659465. 1460762. #> 3 -2659332. 1487117. #> 4 -2659076. 1464646. #> 5 -2658998. 1393770. #> 6 -2658790. 1383527. #> 7 -2658556. 1483617. #> 8 -2657841. 1487691. #> 9 -2657524. 1394738. #> 10 -2655128. 1490701. #> # ... with 21,865 more rows
silicate::sc_vertex(cst10) ## 21875
#> # A tibble: 21,875 x 2 #> x_ y_ #> <dbl> <dbl> #> 1 -2661902. 1488199. #> 2 -2659465. 1460762. #> 3 -2659332. 1487117. #> 4 -2659076. 1464646. #> 5 -2658998. 1393770. #> 6 -2658790. 1383527. #> 7 -2658556. 1483617. #> 8 -2657841. 1487691. #> 9 -2657524. 1394738. #> 10 -2655128. 1490701. #> # ... with 21,865 more rows
# }