Hi,

There are lots of good reading in the WCS section of OGC standards 
http://www.opengeospatial.org/standards/wcs. Subsetting that is used for 
BBOX-alike queries is explained in the core. There are also WCS 2.0 KVP 
examples in https://www.mapserver.org/ogc/wcs_server.html

Clip in native CRS and without interpolation (effectively the same as nearest 
because every pixel match) is the main use case for WCS 2.0 core service. You 
can test with this and get a subset of a DEM coverage

https://beta-karttakuva.maanmittauslaitos.fi/wcs/service/ows?service=WCS&version=2.0.1&request=GetCoverage&CoverageID=korkeusmalli_2m&SUBSET=E(496000,500000)&SUBSET=N(7181000,7185000)&format=image/tiff
Save the response on disk and compare what gdalinfo shows about the image with 
how the coverage is defined in DescribeCoverage


-Jukka Rahkonen-

Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Rousseau Lambert2, Louis-Philippe (EC)
Lähetetty: 13. marraskuuta 2018 15:35
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] WCS 2.0 request without interpolation


Hi guys,
Do you know if it's possible to do a WCS 2.0 request without interpolation, 
like simply clip the original file on it's native grid?

I know that there is the INTERPOLATION parameter for WCS, but the only possible 
values are "NEAREST", "BILINEAR" and "AVERAGE". And I don't see a way using wcs 
keywords in the mapfile to add or modify the interpolation options...

I get that for this to even be possible the BBOX of the request would have to 
be made in the the dataset native CRS.

Thanks

LP
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to