#2639 closed enhancement (fixed)

Fix WCS-T when creating pyramid members, it should not run UPDATE queries from base coverage

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.1
Component: petascope Version: 10.0
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

Rasql queries generated by petascope:

rasql-5: CREATE TYPE test_wcs_utm31_pyramid_Cell AS ( band0 char, band1 char, band2 char )
rasql-6: CREATE TYPE test_wcs_utm31_pyramid_Array AS test_wcs_utm31_pyramid_Cell MDARRAY [D0,D1]
rasql-7: CREATE TYPE test_wcs_utm31_pyramid_Set AS SET (test_wcs_utm31_pyramid_Array NULL VALUES [  0  ])
rasql-8: CREATE COLLECTION test_wcs_utm31_pyramid test_wcs_utm31_pyramid_Set
rasql-9: INSERT INTO test_wcs_utm31_pyramid VALUES <[0:0,0:0] {0c,0c,0c}>
rasql-10: select dbinfo(c) from test_wcs_utm31_pyramid as c
rasql-11: CREATE COLLECTION test_wcs_utm31_pyramid_2 test_wcs_utm31_pyramid_Set
rasql-12: INSERT INTO test_wcs_utm31_pyramid_2 VALUES <[0:0,0:0] {0c,0c,0c}> TILING ALIGNED [0:*,0:*] tile size 4194304

rasql-13: select sdom(c) from test_wcs_utm31_pyramid as c
rasql-14: UPDATE test_wcs_utm31_pyramid_2 as d SET d[0:0, 0:0] ASSIGN SCALE(c[0:0, 0:0], [0:0, 0:0]) FROM test_wcs_utm31_pyramid 

Query rasql-14 should be removed as it is not needed.

Change History (1)

comment:1 by Bang Pham Huu, 19 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.