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

[Bug] v.select should create an empty vector map when no features are selected #4386

Open
petrasovaa opened this issue Sep 25, 2024 · 0 comments
Labels
bug Something isn't working vector Related to vector data processing

Comments

@petrasovaa
Copy link
Contributor

Describe the bug

When running v.select, it can happen no features are selected. This is completely normal and I believe users would expect an empty vector. Instead, no vector is created.

To reproduce

v.select --overwrite ainput=geology@PERMANENT binput=zipcodes@PERMANENT output=empty operator=touches

Processing features...
Processing areas...
v.select complete. No features found !

Expected behavior

I would expect an empty vector. Especially for automated tasks.
This is probably not the only case, I am not sure how most other tools handle this.

Additional context

Mentioned in #4349 (comment)

@petrasovaa petrasovaa added bug Something isn't working vector Related to vector data processing labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vector Related to vector data processing
Projects
None yet
Development

No branches or pull requests

1 participant