Opened 13 years ago

Closed 13 years ago

#1615 closed defect (fixed)

[raster] ST_Raster produce wrong raster extent when requested raster is skewed

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

Description

I have a circle:

SELECT ST_AsBinary(geom)
FROM (SELECT
ST_Buffer(ST_SetSRID(ST_MakePoint(-1, 1), 0), 10) 
geom ) foo

The rasterized version do not have the right extent:

SELECT ST_Asbinary((gv).geom) geom, (gv).val
FROM (SELECT ST_PixelAsPolygons(
ST_AsRaster(
ST_Buffer(ST_SetSRID(ST_MakePoint(-1, 1), 0), 10),
1.0, -1.0, 0.2, 0.2, '8BSI', 5, -10, 0.2, 0.2, false)
) gv 
) foo

Change History (2)

comment:1 by dustymugs, 13 years ago

Owner: changed from pracine to dustymugs
Priority: highblocker
Status: newassigned

comment:2 by dustymugs, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r9378.

Note: See TracTickets for help on using tickets.