Changes between Initial Version and Version 2 of Ticket #1208


Ignore:
Timestamp:
Feb 5, 2016, 9:17:55 AM (9 years ago)
Author:
Bang Pham Huu
Comment:

Thanks Dimitar, I've posted wrong WCPS 2.0 Rasql query.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1208 – Description

    initial v2  
    2020
    2121{{{
    22 select encode((char)((((((((((c).0)/((float)((((c).0)+((c).1))))))-((((c).1)/((float)((((c).0)+((c).1))))))))>(0.6)))*(255))),
    23 "PNG",
    24 "nodata=0;xmin=0.0;xmax=399.0;ymin=0.0;ymax=343.0;crs=OGC:Index2D")
    25 from rgb AS c where oid(c)=45057
     22
     23SELECT encode((char) 
     24(  (  ( c.0 /  ( (float) c.0 + c.1 )  )
     25 -
     26  ( c.1 /  ( (float) c.0 + c.1 )  )  )  > 0.6 )  * 255,
     27 "png" , "nodata=0") FROM rgb AS c
    2628}}}
    2729