PointHeader#

Constructor#

PointHeader(gdf, vertical_reference)

Methods#

PointHeader.change_horizontal_reference(to_epsg)

Change the horizontal reference (i.e. coordinate reference system, crs) of the header to the given target crs.

PointHeader.change_vertical_reference(to_epsg)

Change the vertical reference of the object's surface levels.

PointHeader.get(selection_values[, column])

Get a subset of a header through a string or iterable of object id(s).

PointHeader.get_area_labels(polygon_gdf, ...)

Find in which area (polygons) the point data locations fall.

PointHeader.select_by_depth([top_min, ...])

Select data from depth constraints.

PointHeader.select_by_length([min_length, ...])

Select data from length constraints: e.g. all boreholes between 50 and 150 m long.

PointHeader.select_with_lines(lines, buffer)

Make a selection of the header based on line geometries.

PointHeader.select_with_points(points, buffer)

Make a selection of the header based on point geometries.

PointHeader.select_within_bbox(xmin, ymin, ...)

Make a selection of the header based on a bounding box.

PointHeader.select_within_polygons(polygons)

Make a selection of the header based on polygon geometries.

PointHeader.to_csv(file, **kwargs)

Write header to csv file as plain table (no geometries).

PointHeader.to_geopackage(file, **kwargs)

Write header data to geopackage.

PointHeader.to_geoparquet(file, **kwargs)

Write header data to geoparquet.

PointHeader.to_parquet(file, **kwargs)

Write header to parquet file as plain table (no geometries).

PointHeader.to_shape(file, **kwargs)

Write header data to shapefile.

Attributes#

PointHeader.gdf

Underlying geopandas.GeodataFrame with header data.

PointHeader.horizontal_reference

Coordinate reference system represented by an instance of pyproj.crs.CRS

PointHeader.vertical_reference

Vertical datum represented by an instance of pyproj.crs.CRS