Opened 2 years ago
Closed 2 years ago
#2629 closed defect (fixed)
FIX - WCPS is slow to process in case of having multiple binary expressions
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.1 |
Component: | petascope | Version: | 10.0 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
For example, this query took a few seconds to generate rasql query which is too slow:
FOR c0 IN (cb_global_development_stage) RETURN ENCODE ( ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) overlay ( c0[Long(13.5:18), Lat(45:49.5), ansi:"CRS:1"(0), development_stage(7)] *{red: 255; green: 0; blue: 0; alpha: 155} ) , "png")
Note:
See TracTickets
for help on using tickets.