make_wkt_table: Convert sf to a data.frame with WKT geometry

View source: R/make_wkt_table.R

make_wkt_tableR Documentation

Convert sf to a data.frame with WKT geometry

Description

This function converts a simple features (sf) geometry to a data.frame containing well-known text(WKT) representation of vector geometries and calculates the area of POLYGONS.

Usage

make_wkt_table(x, area.crs, wkt.crs = "WGS84")

Arguments

x

A simple features objects

area.crs

Character vector or numeric indicating which coordinate reference system to use for calculating areas. The default is Alaska Albers Equal Area ("EPSG:3338")

wkt.crs

Character vector or numeric indicating which coordinate reference system to use for WKT outputs. The default is WGS84 ("WGS84")


afsc-gap-products/akgfmaps documentation built on April 14, 2025, 7:13 p.m.