rust/sedona-raster: Show abbreviated CRS where possible for raster output
- Dominant language
- Rust
- Stars
- 503
- Forks
- 61
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 91
Description
At least for rasters that are not rotated or skewed, what I would really like to know are the bounds and CRS. Can this output be more like:
```
[WxH/nbands] @ [xmin ymin xmax ymax] / crs
```
That may be a little more compact. Even for skewed data the 2D bounds are probably more useful output for human reading.
(Drawing from the last time I had to decide this: https://paleolimbot.github.io/wk/reference/grd.html )
_Originally posted by @paleolimbot in https://github.com/apache/sedona-db/pull/591#discussion_r2807574357_
After #591 we get raster table output in display; however, the CRS could be improved by abbreviating it. We can use the cache added in https://github.com/apache/sedona-db/pull/630 (although for display we don't typically need performance since the printing to stdout is typically slow).
Contributor guide
Research direction
Review the raster table display work from PR #591 and the CRS cache added in PR #630. Trace how raster output is formatted, then update the display so bounds and an abbreviated CRS are shown in the requested compact form, including appropriate handling for skewed data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100