Batch Processing V2 API Geopackage input not working

Hello,

I was trying out the Batch Processing V2 API in order to download mean/median values of a time range, separated by months, as an image.
I used the request builder and was able to define a query that would deliver exactly the result I wanted using tile grids (e.g. c5838758-40c7-4f27-abf4-fadb861b3f71).
For the application I have in mind using a GeoPackage would be more convient since the AOIs will be scattered around rather large area (south of Germany).
But I get the following error message: ‘Could not find any qualified features from provided GeoPackage.’ An example for a failed request is 9aada080-f4d4-43b6-be46-b3b4f54ea38e.

I tried it using a gpkg file I created on my own using QGIS 3.34.11 (test.gpkg) and a gpkg created by Sinergise (geopackage-example.gpkg). → GPKG download link
As far as I can follow the documentation here I guess (?) I created the gpkg correctly, but to be honest, I am a little confused regarding the columns. For example, as far as I understand, the geometry column is not listed in the attribute table columns but inherent to the file itself.

The thing that confuses me a bit is that I have successfully applied Statistical Batch Processing in the past using gpkg files. But I guess the underlying processing infrastructure differs quite a bit.

In case you need any further information, I will provide it as quickly as I can, I tried not to flood the first post with all kinds of different information.

1 Like

Hi schorcht,

I’ve reviewed your tasks. There is an issue with your request JSON.

When using GeoPackage as input, make sure the AOI within the “processRequest.input.bounds” also covers the area where your features within the GeoPackage are located.

BatchV2 will only consider features within your GeoPackage that intersect with this AOI defined in the “processRequest.input.bounds” JSON property.
Alternatively, you can omit this property and it will try to process all the features within the GeoPackage.

Thank you for bringing to our attention this issue. We will revise the documentation and error messaging to help users navigate the issues they encounter more efficiently.

Kind regards,
Igor

1 Like

Hi Igor,

thank you so much for your quick reply! Now it works.

Ah ok, I assumed that since the gpkg is provided those boundaries will automatically overwrite the “processRequest.input.bounds” property. But of course, this is not written anywhere.

Thanks for clarifying that up in the documentation.

Cheers
Gunther