Skip to content

Commit

Permalink
chore: fix functions results
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Dec 29, 2023
1 parent f4dfff9 commit 9b1b6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ way/990669429 {'highway': 'secondary', 'jun... LINESTRING (7.41376 43.73...
way/990848785 {'addr:city': 'Monaco', 'addr... POLYGON ((7.41426 43.7339...
way/993121275 {'building': 'yes', 'name': ... POLYGON ((7.43214 43.7481...

[7937 rows x 2 columns]
[7906 rows x 2 columns]
```
### Just convert PBF to GeoParquet
```python
Expand Down Expand Up @@ -114,7 +114,7 @@ way/993121275 {'building': 'yes', 'name': ... POLYGON ((7.43214 43.7481...
│ way/990848785 │ {addr:city=Monaco,… │ POLYGON ((7.4142551 43.7339622, 7.4143113 … │
│ way/993121275 │ {building=yes, nam… │ POLYGON ((7.4321416 43.7481309, 7.4321638 … │
├──────────────────┴──────────────────────┴──────────────────────────────────────────────┤
7937 rows (20 shown) 3 columns │
7906 rows (20 shown) 3 columns │
└────────────────────────────────────────────────────────────────────────────────────────┘
```
### Use as CLI
Expand Down
4 changes: 2 additions & 2 deletions quackosm/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def convert_pbf_to_gpq(
│ way/990848785 │ {addr:city=Monaco,… │ POLYGON ((7.4142551 43.7339622, 7.4143113 … │
│ way/993121275 │ {building=yes, nam… │ POLYGON ((7.4321416 43.7481309, 7.4321638 … │
├──────────────────┴──────────────────────┴──────────────────────────────────────────────┤
7937 rows (20 shown) 3 columns │
7906 rows (20 shown) 3 columns │
└────────────────────────────────────────────────────────────────────────────────────────┘
Get only buildings, amenities and highways from a PBF file.
Expand Down Expand Up @@ -297,7 +297,7 @@ def get_features_gdf(
way/990848785 {'addr:city': 'Monaco', 'addr... POLYGON ((7.41426 43.7339...
way/993121275 {'building': 'yes', 'name': ... POLYGON ((7.43214 43.7481...
<BLANKLINE>
[7937 rows x 2 columns]
[7906 rows x 2 columns]
Get only buildings from a PBF file.
Expand Down

0 comments on commit 9b1b6eb

Please sign in to comment.