@@ -28,8 +28,8 @@ def calculate_gis_geometry(
2828
2929 Returns:
3030 Dict[str, gpd.GeoDataFrame]: Dictionary containing the Bedrock GI database tables
31- with added GIS geometry. All tables are converted to GeoDataFrames with
32- appropriate CRS and geometry columns.
31+ with added GIS geometry. All tables are converted to GeoDataFrames with
32+ appropriate CRS and geometry columns.
3333
3434 Raises:
3535 ValueError: If the projects in the database use different Coordinate Reference Systems (CRS).
@@ -109,12 +109,12 @@ def calculate_location_gis_geometry(
109109 crs (pyproj.CRS): The Coordinate Reference System (CRS) to use for the GIS geometry.
110110
111111 Returns:
112- gpd.GeoDataFrame: The GIS geometry for the given GI locations, with * additional* columns:
113- longitude: The longitude of the location in the WGS84 CRS.
114- latitude: The latitude of the location in the WGS84 CRS.
115- wgs84_ground_level_height: The height of the ground level of the location in the WGS84 CRS.
116- elevation_at_base: The elevation at the base of the location.
117- geometry: The GIS geometry of the location.
112+ gpd.GeoDataFrame: The GIS geometry for the given GI locations, with additional columns:
113+ - longitude: The longitude of the location in the WGS84 CRS.
114+ - latitude: The latitude of the location in the WGS84 CRS.
115+ - wgs84_ground_level_height: The height of the ground level of the location in the WGS84 CRS.
116+ - elevation_at_base: The elevation at the base of the location.
117+ - geometry: The GIS geometry of the location.
118118 """
119119 # Calculate Elevation at base of GI location
120120 brgi_location ["elevation_at_base" ] = (
@@ -156,8 +156,7 @@ def calculate_location_gis_geometry(
156156def calculate_wgs84_coordinates (
157157 from_crs : CRS , easting : float , northing : float , elevation : Union [float , None ] = None
158158) -> Tuple :
159- """Transforms coordinates from an arbitrary Coordinate Reference System (CRS) to
160- the WGS84 CRS, which is the standard for geodetic coordinates.
159+ """Transforms coordinates from an arbitrary Coordinate Reference System (CRS) to the WGS84 CRS, which is the standard for geodetic coordinates.
161160
162161 Args:
163162 from_crs (pyproj.CRS): The pyproj.CRS object of the CRS to transform from.
@@ -231,10 +230,10 @@ def calculate_in_situ_gis_geometry(
231230 crs (CRS): The Coordinate Reference System of the in-situ data.
232231
233232 Returns:
234- gpd.GeoDataFrame: The GIS geometry for the given in-situ data, with * additional* columns:
235- elevation_at_top: The elevation at the top of the in-situ data.
236- elevation_at_base: The elevation at the base of the in-situ data.
237- geometry: The GIS geometry of the in-situ data.
233+ gpd.GeoDataFrame: The GIS geometry for the given in-situ data, with additional columns:
234+ - elevation_at_top: The elevation at the top of the in-situ data.
235+ - elevation_at_base: The elevation at the base of the in-situ data.
236+ - geometry: The GIS geometry of the in-situ data.
238237 """
239238 location_child = brgi_in_situ .copy ()
240239
0 commit comments