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

[Feature Request] allow data fliter preset like osmnx #26

Open
LaoshuBaby opened this issue Oct 4, 2023 · 0 comments
Open

[Feature Request] allow data fliter preset like osmnx #26

LaoshuBaby opened this issue Oct 4, 2023 · 0 comments

Comments

@LaoshuBaby
Copy link
Collaborator

He define a default_access value in here

https://github.com/gboeing/osmnx/blob/9bb80f9f9d8fffe131636da8718ad65e2a0ff068/osmnx/settings.py#L138

and used in overpass query:

https://github.com/gboeing/osmnx/blob/60a53454560aeda4b3dc4f21f89057132efdb742/osmnx/_overpass.py#L40


Also, we faced with a situation that data using in China is tightly restricted, such as can't contain military or electrical related elements. we can define some preset and use filter don't contain them while reading file or conduct overpass search (so maybe we not only need a plugin or method conduct this, but also write out the rule in text)

(I've drafted of that kind of censor tools, but haven't wrore as a issue. This issue is Inspired by those 2 lines of code, thank you gboeing san)

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