[postgis-devel] [PostGIS] #1615: [raster] ST_Raster produce wrong raster extent when requested raster is skewed
PostGIS
trac at osgeo.org
Fri Feb 24 14:40:28 PST 2012
#1615: [raster] ST_Raster produce wrong raster extent when requested raster is
skewed
---------------------+------------------------------------------------------
Reporter: pracine | Owner: pracine
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: raster | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
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
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1615>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list