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

load_collection: support shapely geometry input #678

Open
jdries opened this issue Dec 5, 2024 · 0 comments
Open

load_collection: support shapely geometry input #678

jdries opened this issue Dec 5, 2024 · 0 comments

Comments

@jdries
Copy link
Collaborator

jdries commented Dec 5, 2024

See this TODO:

'spatial_extent': spatial_extent,

The official load_collection process allows geojson and vector cube as input, but it seems that the python client doesn't allow that.
This is very annoying, because it means we need tedious conversion to the 'spatial_extent' format everywhere.

Also a shapely bbox can be expressed rather easily as box(1.0,2.0,3.0,4.0), following the commonly used minx,miny,maxx,maxy notation that is found on tools like bbox finder.

There's already a helper function that might be of use:

def _get_geometry_argument(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants