move_jpn_rs: Clip and move some geometries for mapping

View source: R/move_jpn_rs.R

move_jpn_rsR Documentation

Clip and move some geometries for mapping

Description

Move geometry differently from the real-life arrangement for mapping. When displaying a map showing Japan, the southern islands are sometimes moved. To achieve this, we need to perform false operations on the geometry.

Usage

move_jpn_rs(data, clip = TRUE)

Arguments

data

sf that records the prefecture or municipality of Japan

clip

An option to hide isolated island that are separated from other geometry and have a small area.

Value

sf. Geometry in Tokyo may have rows duplicated in Honshu and islands.

Examples

require("sf")
move_jpn_rs(jgd2011_bbox)

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