Repository navigation
Answer the EDR radius, cube and instances queries over a raster collection - #97
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.