Ticket #1364 (new task)
[raster] Make ST_Union a c-implementation and also handle multiple bands
| Reported by: | robe | Owned by: | pracine |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS Future |
| Component: | raster | Version: | trunk |
| Keywords: | Cc: |
Description
Bborie,
Just putting this on the list before I forget to. I'm still revising Pierre's code to get rid or the rasterexp and the infinite number of state functions. I'm almost done but doing some spot checking to make sure my revised looks right.
Hopefully that will make it easier to rewrite when the time comes since there won't be quite so many moving parts.
I was tempted to make it multiband supportable, as now I have to write stupid code like this to reconstitute my chopped pictures and which was even more painful without the array ST_AddBand construct.
SELECT ST_AddBand(NULL,
ARRAY[ST_Union(ST_Band(rast,1))
, ST_Union(ST_Band(rast,2))
, ST_Union(ST_Band(rast,3)) ] )
FROM samples.downtown_chunked
Change History
Note: See
TracTickets for help on using
tickets.
