geost.base.DiscreteData.to_header#
- DiscreteData.to_header(horizontal_reference: str | int | CRS = 28992, vertical_reference: str | int | CRS = 5709)[source]#
Generate a
PointHeader
from this instance of DiscreteData.- Parameters:
horizontal_reference (str | int | CRS, optional) – EPSG of the target crs. Takes anything that can be interpreted by pyproj.crs.CRS.from_user_input(), by default 28992.
vertical_reference (str | int | CRS, optional) – EPSG of the target vertical datum. Takes anything that can be interpreted by pyproj.crs.CRS.from_user_input(). However, it must be a vertical datum. FYI: “NAP” is EPSG 5709 and The Belgian reference system (Ostend height) is ESPG 5710, by default 5709.
- Returns:
An instance of
PointHeader
- Return type: