[postgis-devel] [PostGIS] #1819: [raster] floating point issues with ST_World2RasterCoordX and ST_World2RasterCoordY
PostGIS
trac at osgeo.org
Wed May 23 10:49:04 PDT 2012
#1819: [raster] floating point issues with ST_World2RasterCoordX and
ST_World2RasterCoordY
------------------------+---------------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.0.1
Component: raster | Version: 2.0.x
Resolution: fixed | Keywords: history
------------------------+---------------------------------------------------
Comment(by pracine):
I think it was the desired behaviour. A choice actually between the upper
left corner is "inside" the raster of the lower right corner is "inside".
The should not be both "inside" otherwise both the lower right corner of a
tile AND the upper left corner of the adjacent corner would both fall into
two tiles. Remember also that those functions work even if you provide
coordinates outside the raster. If x is smaller than (or equal to) the x
upper left then the resulting raster coordinate is smaller than (or equal
to) 0.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1819#comment:6>
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