[raster] Make ST_Union a c-implementation
|Reported by:||robe||Owned by:||dustymugs|
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 Changed 5 years ago by
|Summary:||[raster] Make ST_Union a c-implementation and also handle multiple bands → [raster] Make ST_Union a c-implementation|
comment:9 Changed 5 years ago by
|Milestone:||PostGIS Future → PostGIS 2.1.0|
|Owner:||changed from pracine to dustymugs|
|Status:||new → assigned|
comment:10 Changed 5 years ago by
|Status:||assigned → closed|