Skip to content

Commit 51bdd66

Browse files
Linting File
1 parent a054bee commit 51bdd66

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

gemgis/vector.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7414,7 +7414,7 @@ def extract_xy_from_polygon_intersections(
74147414
gdf["formation"].isin([gdf["formation"].unique().tolist()[i]])
74157415
],
74167416
polygons2=gdf[
7417-
gdf["formation"].isin(gdf["formation"].unique().tolist()[i + 1 :])
7417+
gdf["formation"].isin(gdf["formation"].unique().tolist()[i + 1:])
74187418
],
74197419
)
74207420
for i in range(len(gdf["formation"].unique().tolist()))
@@ -8363,7 +8363,9 @@ def load_gpx_as_geometry(
83638363
return shape
83648364

83658365

8366-
def load_gpx_as_gdf(path: str, layer: Union[int, str] = "tracks") -> gpd.geodataframe.GeoDataFrame:
8366+
def load_gpx_as_gdf(
8367+
path: str, layer: Union[int, str] = "tracks"
8368+
) -> gpd.geodataframe.GeoDataFrame:
83678369
"""Load GPX File as GeoPandas GeoDataFrame.
83688370
83698371
Parameters
@@ -8442,8 +8444,7 @@ def load_gpx_as_gdf(path: str, layer: Union[int, str] = "tracks") -> gpd.geodata
84428444
raise TypeError("The data must be provided as gpx file")
84438445

84448446
# Opening GPX File
8445-
gdf = pyogrio.read_datamframe(path_or_buffer=path,
8446-
layer=layer)
8447+
gdf = pyogrio.read_datamframe(path_or_buffer=path, layer=layer)
84478448

84488449
return gdf
84498450

0 commit comments

Comments
 (0)