gi.gis_geometry.create_lon_lat_height_table

gi.gis_geometry.create_lon_lat_height_table(brgi_location, crs)

Creates a GeoDataFrame with GI locations in WGS84 (lon, lat, height) coordinates.

The ‘LonLatHeight’ table makes it easier to visualize the GIS geometry on 2D maps, because vertical lines are often very small or completely hidden in 2D. This table only contains the 3D point of the GI locations at ground level, in WGS84 (Longitude, Latitude, Height) coordinates. Other attributes, such as the location type, sample type, geology description, etc., can be attached to this table by joining, i.e. merging those tables on the location_uid key.

Parameters

Name Type Description Default
brgi_location GeoDataFrame The GeoDataFrame with the GI locations. required
crs CRS The Coordinate Reference System of the GI locations. required

Returns

Name Type Description
GeoDataFrame gpd.GeoDataFrame The ‘LonLatHeight’ GeoDataFrame.