[postgis-devel] [PostGIS] #478: [wktraster] There seems to be an offset in ST_Envelope or ST_Box2D
PostGIS
trac at osgeo.org
Tue Apr 6 08:23:39 PDT 2010
#478: [wktraster] There seems to be an offset in ST_Envelope or ST_Box2D
------------------------+---------------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: medium | Milestone: WKTRaster 0.1.6
Component: wktraster | Version: trunk
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by pracine):
I guess the clue here is the fact that ST_Box2D coordinates are encoded as
float4 and Envelope as doubles. If I'm right, 1) the bug should appear
only when there is many significant digits in the coordinates and 2) a
PostGIS line geometry joining one of the two diagonals of a raster extent
should present the same problem (Box2d should be different than the
envelope). To verify...
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/478#comment:13>
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