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 suggestion: extract command #100

Open
jtmiclat opened this issue Oct 15, 2023 · 2 comments
Open

Feature suggestion: extract command #100

jtmiclat opened this issue Oct 15, 2023 · 2 comments

Comments

@jtmiclat
Copy link
Contributor

Hi! A processing I found useful when using geoparquet files is creating subsets of data with either using bbox or excluding/selecting columns.

rough suggested implementation

gpq extract -bbox=120,10.1,121.4,11 -geom_col=geometry -exclude_cols=value,label source.geoparquet target.geoparquet

I can work on the implementation of this in the upcoming weeks but would like to know if others would find this useful!

@tschaub
Copy link
Member

tschaub commented Oct 20, 2023

Hi @jtmiclat - I the idea of an extract command. Minor, but the CLI flags will end up dash-delimited (e.g. --exclude-cols - saving wear/tear on that shift key).

@cholmes
Copy link
Member

cholmes commented Oct 26, 2023

I'd definitely find it useful! Especially if it could work on remote files, which I think should be possible with #98

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

3 participants