[raster] Make ST_Union a c-implementation
|Reported by:||robe||Owned by:||Bborie Park|
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 (18)
comment:8 by , 10 years ago
|Summary:||[raster] Make ST_Union a c-implementation and also handle multiple bands → [raster] Make ST_Union a c-implementation|
comment:9 by , 10 years ago
|Milestone:||PostGIS Future → PostGIS 2.1.0|
|Status:||new → assigned|