Closed soxofaan closed 3 weeks ago
Is CoverageJSON perhaps the solution?
we now support geoparquet, would be good to check if that solves this issue?
possibly related/duplicate: #201
Geojson is implemented. Throw error for netCDF. Look into json output because that still uses the old structure.
This is currently a blocking issue for https://github.com/Open-EO/openeo-gfmap/issues/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(statuscode=501, code='FeatureUnsupported', message='Unsupported output format GeoParquet; supported are: JSON, CSV and GeoParquet', id='no-request')
geom
is a FeatureCollection of Points.
@VincentVerelst can you try specifying it as 'Parquet', that is the official name: https://openeo.vito.be/openeo/1.0/file_formats I'll see where this error message comes from... EDIT: pushed a fix for that error message Official overview of supported formats with details: https://documentation.dataspace.copernicus.eu/APIs/openEO/File_formats.html
Confirmed out_format='Parquet'
works!
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