Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to get data from a particular extract #119

Open
RaczeQ opened this issue May 17, 2024 · 1 comment
Open

Add option to get data from a particular extract #119

RaczeQ opened this issue May 17, 2024 · 1 comment

Comments

@RaczeQ
Copy link
Collaborator

RaczeQ commented May 17, 2024

Allow users to get data from a given extract by name. Raise error if extract is not found and maybe suggest nearest names if there is a typo. Take OSM extract source from PbfFileReader init.

convert_extract_to_geodataframe(extract_name: str, ...)
convert_extract_to_parquet(extract_name: str, ...)
@RaczeQ
Copy link
Collaborator Author

RaczeQ commented May 17, 2024

TODO:

  • Refactor OpenStreetMapExtract to contain name and parent fields
  • Add function for displaying a tree of available extracts (both in Python and in CLI)
  • Add name matching with existing extracts
  • Keep existing IDs for cache compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant