geost.get_bro_objects_from_geometry#
- geost.get_bro_objects_from_geometry(object_type: str, geometry_file: Path | str, buffer: int | float = 0, horizontal_reference: str | int | CRS = 28992, vertical_reference: str | int | CRS = 5709) BoreholeCollection [source]#
Directly download objects from the BRO to a geost collection object based on given geometries such as points, lines or polygons.
- Parameters:
object_type (str) – BRO object type to retrieve: BHR-GT, BHR-P, BHR-G or BHR-CPT
geometry_file (Path | str) – Path to geometry file. i.e a point/line/polygon shapefile/geopackage/geoparquet
buffer (int | float, optional) – Buffer distance. Required to be larger than 0 for line and point geometries. Adds an extra buffer zone around a polygon to select from, by default 0
horizontal_reference (str | int | CRS, optional) – EPSG of the data’s horizontal reference. Takes anything that can be interpreted by pyproj.crs.CRS.from_user_input(). The default is 28992.
vertical_reference (str | int | CRS, optional) – EPSG of the data’s 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. The default is 5709.
- Returns:
Instance of either
BoreholeCollection
orCptCollection
containing only objects selected by this method.- Return type: