50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

kuniezu (version 0.1.3)

st_nearest_jgd2011: 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)

Value

numeric vector

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.

See Also

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

Examples

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab