Skip to content

Answer the EDR radius, cube and instances queries over a raster collection - #97

Merged
estebanzimanyi merged 1 commit into
masterfrom
feat/raster-edr-radius-cube-instances
Nov 21, 2026
Merged

estebanzimanyi merged 1 commit into
masterfrom
feat/raster-edr-radius-cube-instances

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A raster collection answers two more queries of the EDR 1.1 class
queries, each in CoverageJSON. radius clips the raster of a period to
the buffer of a POINT by within, in the within-units km or m, the
buffer taken on the sphere as the corridor's is; the description then
states distanceunits, as /req/edr/rc-collection-info I requires. cube
clips it to a bbox, read as /coverage reads one; z is required by
/req/edr/rc-cube G and is read and not applied, since a raster has no
vertical axis, which the query's variables state.

The periods of the collection are its instances: /instances lists them
in time order and /instances/{iid} describes one, each as a collection
is described, with the extent of its period alone, its id the start of
the period in RFC 3339. Each query answers under an instance from the
rows of that period alone, through a source that reads them under the
table's own name.

Witness: TestLiveRasterEDRQueries reads a radius and a cube of the
series, the refusals of each (a missing within, within-units, bbox or
z, an unknown unit, a coords of the wrong type), the two instances and
their extents, the description /instances/{iid} writes against the one
/instances lists, and the position and area an instance answers.

Measured: on MobilityDB master bd32673470 the radius and the cube
answer grids holding no value, as clip placed the mask at the corner of
the raster; with MobilityDB's clip on its grid both answer the pixels
ST_Clip answers, and the whole suite passes.

…ction

A raster collection answers two more queries of the EDR 1.1 class
queries, each in CoverageJSON. radius clips the raster of a period to
the buffer of a POINT by within, in the within-units km or m, the
buffer taken on the sphere as the corridor's is; the description then
states distanceunits, as /req/edr/rc-collection-info I requires. cube
clips it to a bbox, read as /coverage reads one; z is required by
/req/edr/rc-cube G and is read and not applied, since a raster has no
vertical axis, which the query's variables state.

The periods of the collection are its instances: /instances lists them
in time order and /instances/{iid} describes one, each as a collection
is described, with the extent of its period alone, its id the start of
the period in RFC 3339. Each query answers under an instance from the
rows of that period alone, through a source that reads them under the
table's own name.

Witness: TestLiveRasterEDRQueries reads a radius and a cube of the
series, the refusals of each (a missing within, within-units, bbox or
z, an unknown unit, a coords of the wrong type), the two instances and
their extents, the description /instances/{iid} writes against the one
/instances lists, and the position and area an instance answers.

Measured: on MobilityDB master bd32673470 the radius and the cube
answer grids holding no value, as clip placed the mask at the corner of
the raster; with MobilityDB's clip on its grid both answer the pixels
ST_Clip answers, and the whole suite passes.
@estebanzimanyi
estebanzimanyi merged commit d546339 into master Nov 21, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the feat/raster-edr-radius-cube-instances branch November 21, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant