geost.base.PointHeader#
- class geost.base.PointHeader(gdf, vertical_reference: str | int | CRS)[source]#
-
Methods
__init__(gdf, vertical_reference)change_horizontal_reference(to_epsg)Change the horizontal reference (i.e. coordinate reference system, crs) of the header to the given target crs.
change_vertical_reference(to_epsg)Change the vertical reference of the object's surface levels.
get(selection_values[, column])Get a subset of a header through a string or iterable of object id(s).
get_area_labels(polygon_gdf, column_name[, ...])Find in which area (polygons) the point data locations fall.
select_by_depth([top_min, top_max, end_min, ...])Select data from depth constraints.
select_by_length([min_length, max_length])Select data from length constraints: e.g. all boreholes between 50 and 150 m long.
select_with_lines(lines, buffer[, invert])Make a selection of the header based on line geometries.
select_with_points(points, buffer[, invert])Make a selection of the header based on point geometries.
select_within_bbox(xmin, ymin, xmax, ymax[, ...])Make a selection of the header based on a bounding box.
select_within_polygons(polygons[, buffer, ...])Make a selection of the header based on polygon geometries.
to_csv(file, **kwargs)Write header to csv file as plain table (no geometries).
to_geopackage(file, **kwargs)Write header data to geopackage.
to_geoparquet(file, **kwargs)Write header data to geoparquet.
to_parquet(file, **kwargs)Write header to parquet file as plain table (no geometries).
to_shape(file, **kwargs)Write header data to shapefile.
Attributes
Underlying geopandas.GeodataFrame with header data.
Coordinate reference system represented by an instance of pyproj.crs.CRS
Vertical datum represented by an instance of pyproj.crs.CRS