Skip to content

Lenient handling of overflowing Item bbox #1604

@soxofaan

Description

@soxofaan

from j-2603181551064fa2a8ca6c9e06efeb8e

stac item (https://artifactory.vgt.vito.be/artifactory/auxdata-public/geopotential.json) has

  "bbox": [
    -179.95,
    -90.05,
    180.05,
    90.05
  ],

which overflows antimeridian bounds and is invalid in strict GeoJSON spec interpretation.

it is currently converted to <POLYGON ((-179.95 -90.05, -179.95 90.05, -179.95 90.05, -179.95 -90.05))> which is a degenerate shape, and consequently doesn't match the user requested spatial extent ({"crs": "EPSG:32719", "east": 301720, "north": 5847220, "south": 5816500, "west": 271000} here)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions