Opened 9 years ago
Last modified 8 years ago
#1230 closed defect
WCPS1.5_Error when scale axis to a slicing point — at Initial Version
Reported by: | Bang Pham Huu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 10.0 |
Component: | petascope | Version: | development |
Keywords: | WCPS 2.0, error in scale, scale slicing point | Cc: | Dimitar Misev, Alex Dumitru, Vlad Merticariu |
Complexity: | Medium |
Description
WCPS query
for c in (rgb) return encode(c[i(100:100), j(100:100) ], "csv")
WCPS1.5 returns Rasql query
SELECT encode(SCALE(c, [100,243]), "csv" ) FROM rgb AS c
then returns error
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0.0" xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"> <ows:Exception exceptionCode="SemanticError"> <ows:ExceptionText>Operation request is semantically wrong.</ows:ExceptionText> </ows:Exception> <ows:Exception exceptionCode="RuntimeError"> <ows:ExceptionText>java.lang.NullPointerException : null</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
while Rasql from WCPS 1.0 returns
select csv(scale( c, [100:100,243:243] )) from rgb AS c where oid(c)=45057
and values {"119 208 248"}
Then, scale in rasql needs trimming interval instead of a slicing point to work
Note:
See TracTickets
for help on using tickets.