Opened 12 years ago

Closed 12 years ago

#1572 closed enhancement (fixed)

[raster] ST_PixelAsPolygons() should work even with no band raster

Reported by: pracine Owned by: pracine
Priority: low Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

SELECT ST_Asbinary((gv).geom) geom, (gv).val
FROM (SELECT ST_PixelAsPolygons(ST_MakeEmptyRaster(4, 4, 0, 0, 1, 1, 0, 0, 0)) gv) foo

should return a set of (geometry, null, x, y) geomvalxy.

Change History (1)

comment:1 by pracine, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r9176.

Note: See TracTickets for help on using tickets.