st_nearest_jgd2011: Identify the Japan plane rectangular CS

View source: R/st_nearest_jgd2011.R

st_nearest_jgd2011R Documentation

Identify the Japan plane rectangular CS

Description

Returns the value when the coordinates of ESPG:4326 given to the input are replaced with those of the Japan Plane Rectangular CS.

Usage

st_nearest_jgd2011(geometry)

st_detect_jgd2011(geometry)

Arguments

geometry

geometry (POINT, EPSG:4326)

Details

  • st_nearest_jgd2011(): It returns the coordinate system closest to the given ground object. This is valid even when the coordinates are at sea.

  • st_detect_jgd2011(): Identify the coordinate system in which the given object is located.

Value

numeric vector

See Also

https://www.gsi.go.jp/LAW/heimencho.html

Examples

require("sf")
p <-
  st_sfc(sf::st_point(c(140.77, 36.8)), crs = 4326)
st_nearest_jgd2011(p)

st_detect_jgd2011(p)
st_detect_jgd2011(st_sfc(sf::st_point(c(140.73, 36.8)), crs = 4326))

uribo/kuniezu documentation built on Jan. 12, 2023, 11:04 p.m.