Skip to content

Commit

Permalink
chore: change docstests
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed May 10, 2024
1 parent 8087489 commit d25f57a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quackosm/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ def convert_geometry_to_parquet(
... " 7.42378 43.73598, 7.41644 43.73598))"
... )
>>> gpq_path = qosm.convert_geometry_to_parquet(from_wkt(wkt))
...
>>> gpq_path.as_posix()
'files/bf4b33debfd6d3e605555340606df6ce7eea934958c1f3477aca0ccf79e7929f_nofilter_compact.parquet'
Expand Down Expand Up @@ -394,6 +395,7 @@ def convert_geometry_to_parquet(
... from_wkt(wkt),
... osm_extract_source='Geofabrik',
... )
...
>>> gpq_path.as_posix()
'files/bf4b33debfd6d3e605555340606df6ce7eea934958c1f3477aca0ccf79e7929f_nofilter_compact.parquet'
Expand Down Expand Up @@ -733,6 +735,7 @@ def convert_geometry_to_geodataframe(
... " 7.42378 43.73598, 7.41644 43.73598))"
... )
>>> gdf = qosm.convert_geometry_to_geodataframe(from_wkt(wkt))
...
>>> gdf.sort_index()
tags geometry
feature_id
Expand All @@ -756,6 +759,7 @@ def convert_geometry_to_geodataframe(
... from_wkt(wkt),
... osm_extract_source='Geofabrik',
... )
...
>>> gdf.sort_index()
tags geometry
feature_id
Expand Down

0 comments on commit d25f57a

Please sign in to comment.