read_fgd: Read and Parse Fundamental Geospatial Data (FGD) file

View source: R/read_fdg.R

read_fgdR Documentation

Read and Parse Fundamental Geospatial Data (FGD) file

Description

The JPGIS (GML) format file provided by FGD as input, the fundamental items in the file is read as an 'sf' object. Supporting FGD Version 4.1 (2016/10/31).

Usage

read_fgd(file)

Arguments

file

Path to XML file

Details

Support following items: Administrative Area ('AdmArea'), Administrative Boundary ('AdmBdry'), Representative point of Administrative Area ('AdmPt'), Building Area ('BldA'), Building Outline ('BldL'), Contour ('Cntr'), Community Boundary ('CommBdry'), Representative Point of Community Area ('CommPt'), Coastline ('Cstline'), Elevation Point ('ElevPt'), Geodetic Control Point ('GCP'), Railroad Track Centerline ('RailCL'), Road Component ('RdCompt'), Road Edge ('RdEdg'), Water Area ('WA'), Water Line ('WL') and Waterside Structure Line ('WStrL').

Value

A sf

See Also

https://fgd.gsi.go.jp/download/ref_kihon.html

Examples

# Administrative Area
read_fgd(system.file("extdata/FG-GML-000000-AdmPt-dummy.xml", package = "fgdr"))

fgdr documentation built on March 18, 2022, 6:46 p.m.