Package: sdf 0.1.0
sdf: An Extensible Spatial Data Frame
A spatial data frame that is agnostic to the geometry representation it holds. A geometry vector becomes usable by implementing a small set of generics, in the manner of a trait, after which the spatial data frame, its 'dplyr' methods, and the spatial join and filter work unchanged. Implementations for the 'sf', 'geos', and 's2' packages are included.
Authors:
sdf_0.1.0.tar.gz
sdf_0.1.0.zip(r-4.7-any)sdf_0.1.0.zip(r-4.6-any)sdf_0.1.0.zip(r-4.5-any)
sdf_0.1.0.tgz(r-4.6-any)sdf_0.1.0.tgz(r-4.5-any)
sdf_0.1.0.tar.gz(r-4.7-any)sdf_0.1.0.tar.gz(r-4.6-any)
sdf_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
sdf/json (API)
| # Install 'sdf' in R: |
| install.packages('sdf', repos = c('https://josiahparry.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/josiahparry/sdf/issues
Last updated from:7e07896744. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 120 | ||
| source / vignettes | OK | 166 | ||
| linux-release | OK | 128 | ||
| macos-release | OK | 127 | ||
| macos-oldrel | OK | 119 | ||
| windows-devel | OK | 98 | ||
| windows-release | OK | 107 | ||
| windows-oldrel | OK | 95 | ||
| wasm-release | OK | 97 |
Exports:as_sdfis_geometrynew_sdfsdf_geometryst_areast_boundaryst_bufferst_centroidst_collectst_concave_hullst_containsst_convex_hullst_covered_byst_coversst_crossesst_differencest_disjointst_distancest_dwithinst_envelopest_equalsst_extentst_filterst_geometry_typest_intersectionst_intersectsst_is_emptyst_is_simplest_is_validst_joinst_lengthst_make_validst_num_geometriesst_num_pointsst_overlapsst_perimeterst_point_on_surfacest_relatest_reversest_simplifyst_sym_differencest_touchesst_unionst_withinst_xst_yuse_sdf_template_classuse_sdf_template_zzz
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Subset a spatial data frame | [.sdf |
| Create a spatial data frame | as_sdf new_sdf |
| Required generics | is_geometry st_collect st_extent |
| Geometry accessor | sdf_geometry |
| Measurement | st_distance st_perimeter |
| Read parts of each geometry | st_boundary st_envelope st_geometry_type st_num_geometries st_num_points st_x st_y |
| Overlay two geometry vectors | st_difference st_intersection st_sym_difference |
| Spatial predicates | st_contains st_covered_by st_covers st_crosses st_disjoint st_dwithin st_equals st_intersects st_overlaps st_touches st_within |
| Test each geometry | st_is_empty st_is_simple st_is_valid |
| Spatial join and filter | st_filter st_filter.default st_join st_join.default |
| Optional generics | st_area st_length |
| Rebuild each geometry | st_make_valid st_point_on_surface st_reverse |
| The DE-9IM relationship between two vectors | st_relate |
| Primary interface | st_buffer st_centroid st_concave_hull st_convex_hull st_simplify st_union |
| Templates to extend sfd | use_sdf_template_class use_sdf_template_zzz |