as_s2_geography: Extract the geometries of a sfnetwork as a S2 geography...

as_s2_geographyR Documentation

Extract the geometries of a sfnetwork as a S2 geography vector

Description

A method to convert an object of class sfnetwork into s2_geography format. Use this method without the .sfnetwork suffix and after loading the s2 package.

Usage

as_s2_geography.sfnetwork(x, focused = TRUE, ...)

Arguments

x

An object of class sfnetwork.

focused

Should only features that are in focus be extracted? Defaults to TRUE. See focus for more information on focused networks.

...

Arguments passed on the corresponding s2 function.

Value

An object of class s2_geography.


luukvdmeer/sfnetworks documentation built on Nov. 21, 2024, 4:54 a.m.