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 select certain types of features (nodes/ways/relations) #140

Open
RaczeQ opened this issue Aug 7, 2024 · 0 comments
Open
Labels
QoL Quality of Life

Comments

@RaczeQ
Copy link
Collaborator

RaczeQ commented Aug 7, 2024

By default, the QuackOSM loads all features from Nodes, Ways and Relations.
Having the option to specify only some types of features might give some more control over the desired output.

Example:

import quackosm as qosm

qosm.convert_geometry_to_geodataframe(area, osm_feature_types='nwr') # default
qosm.convert_geometry_to_geodataframe(area, osm_feature_types='wr')
qosm.convert_geometry_to_geodataframe(area, osm_feature_types='n')

Final file name might have a suffix with given selected list of types of features (only if it's not default).

@RaczeQ RaczeQ added the QoL Quality of Life label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QoL Quality of Life
Projects
None yet
Development

No branches or pull requests

1 participant