Create and Export GEOS Geometry Vectors

Functions that read and write GEOS geometry to common formats.

geos_read_wkt() geos_write_wkt() geos_read_geojson() geos_write_geojson() geos_read_wkb() geos_write_wkb() geos_read_hex() geos_write_hex() geos_read_xy() geos_write_xy()

Read and write well-known text

as_geos_geometry() geos_geometry()

Create GEOS Geometry Vectors

geos_empty() as_geos_type_id()

Create empty geometries

geos_make_point() geos_make_linestring() geos_make_polygon() geos_make_collection()

Create geometries from vectors of coordinates

geos_create_rectangle()

Create rectangles from bounds

plot(<geos_geometry>)

Plot GEOS geometries

Geometry operators

Functions that operate on one or more geometry vectors

geos_area() geos_length() geos_x() geos_y() geos_z() geos_xmin() geos_ymin() geos_xmax() geos_ymax() geos_minimum_clearance() geos_is_empty() geos_is_simple() geos_is_ring() geos_has_z() geos_is_closed() geos_type_id() geos_type() geos_precision() geos_srid() geos_num_coordinates() geos_num_geometries() geos_num_interior_rings() geos_num_rings() geos_dimension() geos_coordinate_dimension() geos_is_clockwise() geos_hilbert_code()

Extract information from a GEOS geometry

geos_centroid() geos_boundary() geos_minimum_width() geos_minimum_clearance_line() geos_minimum_rotated_rectangle() geos_unary_union() geos_unary_union_prec() geos_coverage_union() geos_point_on_surface() geos_node() geos_make_valid() geos_make_valid_params() geos_unique_points() geos_reverse() geos_merge_lines() geos_build_area() geos_envelope() geos_envelope_rct() geos_extent() geos_convex_hull() geos_concave_hull() geos_concave_hull_of_polygons() geos_polygon_hull_simplify() geos_point_start() geos_point_end() geos_line_merge() geos_line_merge_directed() geos_transform_xy() geos_clone() geos_set_srid() geos_point_n() geos_simplify() geos_remove_repeated_points() geos_simplify_preserve_topology() geos_set_precision() geos_normalize() geos_densify() geos_clip_by_rect()

Geometry transformers

geos_segment_intersection() geos_orientation_index()

Segment operations

geos_disjoint() geos_touches() geos_intersects() geos_crosses() geos_within() geos_contains() geos_overlaps() geos_equals() geos_equals_exact() geos_covers() geos_covered_by() geos_prepared_disjoint() geos_prepared_touches() geos_prepared_intersects() geos_prepared_crosses() geos_prepared_within() geos_prepared_contains() geos_prepared_contains_properly() geos_prepared_overlaps() geos_prepared_covers() geos_prepared_covered_by()

Binary predicates

geos_disjoint_matrix() geos_touches_matrix() geos_intersects_matrix() geos_crosses_matrix() geos_within_matrix() geos_contains_matrix() geos_contains_properly_matrix() geos_overlaps_matrix() geos_equals_matrix() geos_equals_exact_matrix() geos_covers_matrix() geos_covered_by_matrix() geos_disjoint_any() geos_touches_any() geos_intersects_any() geos_crosses_any() geos_within_any() geos_contains_any() geos_contains_properly_any() geos_overlaps_any() geos_equals_any() geos_equals_exact_any() geos_covers_any() geos_covered_by_any()

Matrix predicates

geos_distance() geos_prepared_distance() geos_distance_indexed() geos_distance_hausdorff() geos_distance_frechet() geos_is_within_distance() geos_prepared_is_within_distance()

Distance calculations

geos_project() geos_project_normalized() geos_interpolate() geos_interpolate_normalized()

Linear referencing

geos_buffer() geos_offset_curve() geos_buffer_params()

Buffer a geometry

geos_delaunay_triangles() geos_constrained_delaunay_triangles() geos_delaunay_edges() geos_voronoi_polygons() geos_voronoi_edges()

Delaunay triagulations and Voronoi diagrams

geos_intersection() geos_difference() geos_sym_difference() geos_union() geos_intersection_prec() geos_difference_prec() geos_sym_difference_prec() geos_union_prec() geos_shared_paths() geos_snap() geos_clearance_line_between()

Binary geometry operators

geos_nearest() geos_nearest_indexed() geos_nearest_hausdorff() geos_nearest_frechet()

Find the closest feature

geos_polygonize() geos_polygonize_valid() geos_polygonize_cut_edges() geos_polygonize_full()

Create polygons from noded edges

geos_relate() geos_relate_pattern() geos_relate_pattern_match() geos_relate_pattern_create()

Dimensionally extended 9 intersection model

geos_is_valid() geos_is_valid_detail()

Geometry validity

geos_geometry_n() geos_ring_n()

Access child geometries

geos_unnest()

Unnest nested geometries

geos_largest_empty_circle_spec() geos_largest_empty_crc() geos_minimum_bounding_circle() geos_minimum_bounding_crc() geos_maximum_inscribed_circle_spec() geos_maximum_inscribed_crc()

Circular approximations

Indexing and Joins

geos_strtree() geos_strtree_query() geos_strtree_data() as_geos_strtree()

Create a GEOS STRTree

geos_basic_strtree() geos_basic_strtree_size() geos_basic_strtree_finalized() geos_basic_strtree_insert() geos_basic_strtree_query() geos_basic_strtree_query_filtered()

Create a basic GEOS STRTree

geos_inner_join() geos_inner_join_keys()

Generate inner join keys based on a GEOS predicate

GEOS Information

geos_version()

GEOS version information

S3 Details

vec_cast.geos_geometry() vec_ptype2.geos_geometry()

Vctrs methods

wk_handle(<geos_geometry>) geos_geometry_writer() wk_writer(<geos_geometry>)

Compatibility with the wk package