Opened 13 years ago
Last modified 5 months ago
#1247 closed enhancement
[raster] ST_AsRaster aggregate function — at Version 7
Reported by: | robe | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.6.0 |
Component: | raster | Version: | master |
Keywords: | Cc: |
Description (last modified by ) ¶
Pierre,
Not sure if this is what you had in mind when you said "Burn In" function in your talk. A common need I have which I am sure is that of many BI analysts is the need to show simple thematic maps in reports.
What came to mind to me was an aggregate ST_AsRaster function that takes a set of geomval rows (or multicolumn geom, value) and builds a raster. Basically a reverse of the ST_DumpAsPolgons function.
This would make it trivial to do a query such as
SELECT ST_AsPNG(ST_AsRaster(gval),300,300) As mymap FROM (SELECT ROW(ST_Union(geom), SUM(pop))::geomval As gval FROM sumregion GROUP BY region_name) As foo;
Which is big considering many report writers allow their picture box controls to be bound to query fields. We might have a new crowd of BI analysts looking to get a piece of PostGIS action.
Change History (7)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
Description: | modified (diff) |
---|
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Milestone: | PostGIS Raster Future → PostGIS Future |
---|---|
Summary: | ST_AsRaster aggregate function → [raster] ST_AsRaster aggregate function |
comment:6 by , 5 months ago
Component: | postgis → raster |
---|---|
Milestone: | PostGIS Fund Me → PostGIS 3.6.0 |
Owner: | changed from | to
Status: | new → assigned |
comment:7 by , 5 months ago
Description: | modified (diff) |
---|
This is ST_UnionToRaster as planned in Objective FV.19 of the future specs:
http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking03
It is dependent on the two raster version of ST_Mapalgebra which is being developed.