Opened 9 years ago
Closed 5 years ago
#1303 closed enhancement (duplicate)
WCPS_Support interpolation argument in crsTransform()
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description (last modified by )
As Rasql supports more interpolation methods in project()
as http://doc.rasdaman.org/04_ql-guide.html#the-project-function then WCPS can add interpolation parameter for projection
.
Here is WCSP query example:
for c in (test_projection) return encode(crsTransform(c, { Lat:"http://www.opengis.net/def/crs/EPSG/0/3857", Long:"http://www.opengis.net/def/crs/EPSG/0/3857"}, {#INTERPOLATION_TYPE}), "tiff", "nodata=0")
In addition it should be possible to support interpolation as an argument in some way for WMS, perhaps with a non-standard GetMap parameter.
Change History (14)
comment:1 by , 9 years ago
Type: | defect → enhancement |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
Milestone: | 9.2 → 10.0 |
---|---|
Priority: | major → minor |
comment:4 by , 6 years ago
Milestone: | 10.0 → 9.8 |
---|
comment:5 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The new project() variants support specifying the resampling algorithm: http://doc.rasdaman.org/04_ql-guide.html#the-project-function
By default now it's nearest neighbour (as in gdalwarp).
comment:6 by , 6 years ago
Description: | modified (diff) |
---|---|
Priority: | minor → major |
Summary: | Rasql_WCPS_Support interpolation argument in project() and crsTransform() functions → WCPS_Support interpolation argument in crsTransform() |
comment:7 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:8 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:9 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:10 by , 6 years ago
Description: | modified (diff) |
---|
comment:11 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:12 by , 5 years ago
@dmisev: Although the resampleAlgorithm
parameter was added to Rasql in #2082 but according to WCPS 1.0 standard, it will need something like this
Example The following expression transforms coverage C (which is assumed to have x and y dimensions) into the CRS identified by urn:ogc:def:crs:EPSG:6.6:63266405. Linear interpolation with null resistance “none” is applied to range field red if necessary, to all other range fields the default itenrpolation and null resistance is applied. crsTransform( C, { x: “ urn:ogc:def:crs:EPSG::63266405”, y: “ urn:ogc:def:crs:EPSG::63266405” }, *** { red(linear,none) *** } interpolationMethod: // taken from WCS [OGC 07-067r5] ( interpolationType : nullResistance ) interpolationType: // taken from WCS [OGC 07-067r5] Table I.7 nearest | linear | quadratic | cubic nullResistance: // taken from WCS [OGC 07-067r5] full | none | half | other
comment:13 by , 5 years ago
Milestone: | 9.8 → 10.0 |
---|
comment:14 by , 5 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate with http://rasdaman.org/ticket/2212
seem like it can be fixed sooner.