[postgis-devel] [PostGIS] #478: [wktraster] There seems to be an offset in ST_Envelope or ST_Box2D
PostGIS
trac at osgeo.org
Thu Apr 8 11:56:54 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 robe):
I think the problem here might be that the PixelYSize is being set wrong.
It should be negative instead of positive.
Remember I had posted an invalid bug #489 about why I'm getting negative
pixel y sizes, and Mike Toews corrected me and said they usually are
negative.
Well for the gif and png samples I loaded, I noticed the PixelYSize was
coming in as 1 so I changed it to -1 and that made everything line up
right.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/478#comment:14>
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