Tools for handling network data for Atlantis from box-geometry model (BGM) files
read .bgm files and faithfully store all information so it can be round-tripped
conversion from .bgm forms to Spatial classes (lines and polygons)
(not yet implemented: write to .bgm)
bgmfile | read directly from a .bgm file |
boxSpatial | convert boxes to a SpatialPolygonsDataFrame |
faceSpatial | convert faces to a SpatialLinesDataFrame |
boundarySpatial | convert boundary to a single-row SpatialPolygonsDataFrame |
nodeSpatial | obtain all vertices as points |
pointSpatial | obtain all instances of vertices as points |
build_dz | Build Atlantis dz Values |