[postgis-devel] [PostGIS] #348: [wktraster] st_raster_envelope & st_raster_to_box2d return different results
PostGIS
trac at osgeo.org
Wed Jan 20 10:32:01 PST 2010
#348: [wktraster] st_raster_envelope & st_raster_to_box2d return different
results
------------------------+---------------------------------------------------
Reporter: pracine | Owner: pracine
Type: defect | Status: assigned
Priority: high | Milestone: WKTRaster 0.1.6
Component: wktraster | Version: trunk
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by jorgearevalo):
Replying to [comment:6 jorgearevalo]:
> I've implemented the ST_Envelope function. The difference with
ST_ConvexHull is the affine transformation performed in the case of
ST_Envelope function doesn't take into account the rotation (so, only
scale + traslation). Is it ok?
>
> New ST_Envelope function committed in r5142
I reply myself to note I should "floor" the raster coordinates on
ST_Envelope before constructing the polygon, to add a little buffer around
the raster.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/348#comment:7>
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