[postgis-devel] [PostGIS] #1639: [raster] MapAlgebraExpr can't handle conditions
PostGIS
trac at osgeo.org
Thu Mar 1 12:58:35 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 nicklas):
Yes, I can confirm that 2-rasterworks as expected.
The reason I said it didn't was that I tested to make an expression like
this:
(([rast1]-[rast2])>50)::int
and expected to get 0 and 1 for true or false as I do in a normal SELECT
query. Bu that didn't work.
I also tried to populate pixeltype '1BB' with the above without the cast
to integer but that didn't work either.
How to populate boolean pixeltype?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1639#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