planetlabs / gpq

Utility for working with GeoParquet

Home Page:https://planetlabs.github.io/gpq/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature suggestion: extract command

jtmiclat opened this issue · comments

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!

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).

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