[postgis-devel] [PostGIS] #1639: [raster] MapAlgebraExpr can't handle conditions
PostGIS
trac at osgeo.org
Fri Mar 2 02:24:45 PST 2012
#1639: [raster] MapAlgebraExpr can't handle conditions
---------------------+------------------------------------------------------
Reporter: nicklas | Owner: pracine
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: raster | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by pracine):
False interpretation:
"So both pixels returns true as I understand it."
No, one pixel gets 1 (true) and the other get nodata. As yo can see the
count is 1, not two.
"But at once I get under 8, instead of giving one false and one true I get
both true."
As soon as your condition gets under 8, one pixel gets true = 1 and the
other gets nodata value, hence the correct result.
I think we can close this one :-) One less!
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1639#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