-
Notifications
You must be signed in to change notification settings - Fork 5
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
aggregate_spatial
download not following requested save_result format (e.g. GeoJSON)?
#620
Comments
Is CoverageJSON perhaps the solution? |
we now support geoparquet, would be good to check if that solves this issue? |
possibly related/duplicate: #201 |
aggregate_spatial
output in e.g. GeoJSON format?aggregate_spatial
download not following requested save_result format (e.g. GeoJSON)?
Geojson is implemented. |
This is currently a blocking issue for Open-EO/openeo-gfmap#87 |
@VincentVerelst I just did a couple of experiments, also requesting csv and parquet, and I always just get the expected result. Can you give a code sample that doesn't work? |
@jdries , for example j-240425ffc0c34991836f4dd8d8fb520a: c = openeo.connect('openeo.vito.be').authenticate_oidc()
s2 = c.load_collection(
collection_id=collection,
bands=bands,
temporal_extent=temporal_extent
).reduce_dimension(dimension='t', reducer='mean')
features = s2.aggregate_spatial(geometries=geom, reducer='mean')
job = features.execute_batch(
title='Point feature extraction',
out_format='GeoParquet'
) gives FeatureUnsupportedException(status_code=501, code='FeatureUnsupported', message='Unsupported output format GeoParquet; supported are: JSON, CSV and GeoParquet', id='no-request')
|
@VincentVerelst can you try specifying it as 'Parquet', that is the official name: |
Confirmed |
user wants to dowload result of
aggregate_spatial
in GeoJSON format (or something else) that allows inspecting the geometries.example:
setup
Spatiotemporal
does not result in GeoJSON, but our ad-hoc json format
Seems the user provided format is completely ignored, even downloading with invalid format works:
Spatial
First eliminating the temporal dimension with temporal mean gives other behavior:
fails with
Downloading with format JSON works:
works and just gives a table in JSON:
The other suggested alternative CSV failed:
with
The text was updated successfully, but these errors were encountered: