Open-EO / Open-EO/openeo-python-driver
top-level "epsg" property in STAC Item
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12
- Forks
- 8
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 4
Description
A batch job results item has a top-level "epsg" property:
{
"assets": {
"openEO.tif": {
"eo:bands": [
{
"center_wavelength": 0.6646,
"name": "B04"
},
{
"center_wavelength": 0.8328,
"name": "B08"
}
],
"file:nodata": [
"nan"
],
"file:size": 696369,
"href": "https://openeo-dev.vito.be/openeo/1.1/jobs/j-24020792a110457fa713a8a3a702e70c/results/assets/.../openEO.tif?expires=1708080177",
"proj:bbox": [
553630,
5618240,
702380,
5648760
],
"proj:epsg": 32631,
"proj:shape": [
14875,
3052
],
"raster:bands": [
{
"name": "B04",
"statistics": {
"maximum": 5324,
"mean": 512.68561347599,
"minimum": 1,
"stddev": 331.19358871402,
"valid_percent": 0.04838
}
},
{
"name": "B08",
"statistics": {
"maximum": 6397,
"mean": 3032.8594091406,
"minimum": 335,
"stddev": 1164.6197215889,
"valid_percent": 0.04839
}
}
],
"roles": [
"data"
],
"title": "openEO.tif",
"type": "image/tiff; application=geotiff"
}
},
"bbox": null,
"collection": "j-24020792a110457fa713a8a3a702e70c",
"epsg": 32631,
"geometry": null,
"id": "openEO.tif",
"links": [
{
"href": "https://openeo-dev.vito.be/openeo/1.1/jobs/j-24020792a110457fa713a8a3a702e70c/results/items/openEO.tif",
"rel": "self",
"type": "application/geo+json"
},
{
"href": "https://openeo-dev.vito.be/openeo/1.1/jobs/j-24020792a110457fa713a8a3a702e70c/results",
"rel": "collection",
"type": "application/json"
}
],
"properties": {
"datetime": null,
"end_datetime": "2022-02-01T00:00:00Z",
"proj:bbox": [
553630,
5618240,
702380,
5648760
],
"proj:shape": [
14875,
3052
],
"start_datetime": "2022-01-01T00:00:00Z"
},
"stac_extensions": [
"https://stac-extensions.github.io/eo/v1.1.0/schema.json",
"https://stac-extensions.github.io/file/v2.1.0/schema.json"
],
"stac_version": "0.9.0",
"type": "Feature"
}
I would expect "properties"/"proj:epsg" instead but I'm not sure if this is maybe according to an older version of STAC.
@JohanKJSchreurs?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how batch job result items are serialized into STAC JSON, focusing on the placement of the top-level "epsg" value versus the properties object. Compare the generated item with the expected STAC projection-extension structure, then verify that the result item exposes properties/proj:epsg and no incorrect top-level property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100