Skip to main content
refined-quads
Tutorial
How-to guides
Read layers from a GeoPackage
Run from a TOML file
Water areas
Refine an existing mesh
Use the mesh in D-HYDRO
Explanation
Refined quad meshes
FM orthogonality
Why refine starts from the mesh
Python API
On this page
LayerSource
Attributes
LayerSource
LayerSource(path, layer
=
None
)
A layer of a GeoPackage or shapefile.
Attributes
Name
Type
Description
path
pathlib.Path
The file.
layer
str or None
Layer name; may be omitted when the file has one layer.