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

Provide pre-filtering by id, tags etc. #218

Closed
tbicr opened this issue Nov 27, 2022 · 2 comments
Closed

Provide pre-filtering by id, tags etc. #218

tbicr opened this issue Nov 27, 2022 · 2 comments

Comments

@tbicr
Copy link

tbicr commented Nov 27, 2022

in issues already mentioned that there are no plans to add filtering functionality as osmium tags-filter or osmium getid or osmium removeid and etc. provided

most of this logic can be implemented wrapping osmium with subprocesses.run

however it would be nice to have python bindings to apply filtering logic

@lonvia lonvia changed the title osmium-tool bindings Provide pre-filtering by id, tags etc. Nov 27, 2022
@lonvia
Copy link
Member

lonvia commented Nov 27, 2022

There certainly won't be direct 1:1 bindings for the functions provided by osmium-tool but I do have vague ideas to provide fast pre-filtering directly in pyosmium. There are no concrete plans when this will happen.

@lonvia
Copy link
Member

lonvia commented Mar 12, 2024

#244 implements pre-filtering by tags and for objects without tags. Filtering by ID seems rather odd.

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

No branches or pull requests

2 participants