Permalink
Browse files

Fixing WCS 2.0 POST/XML tests after recent bugfixes.

  • Loading branch information...
constantinius committed Mar 19, 2018
1 parent 3b4aefa commit 28f65661f09167348559382319a36496609221a5
Showing with 7 additions and 7 deletions.
  1. +7 −7 msautotest/wxs/wcs_post.map
@@ -93,10 +93,10 @@
#
#
# Scaling according to Scaling Extension
# RUN_PARMS: wcs_20_post_getcov_scaling_size_full.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>10</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_scalefactor.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleByFactor><scal:scaleFactor>1.5</scal:scaleFactor></scal:ScaleByFactor></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_scalefactor_per_axis.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleAxesByFactor><scal:ScaleAxis><scal:axis>x</scal:axis><scal:scaleFactor>1.5</scal:scaleFactor></scal:ScaleAxis><scal:ScaleAxis><scal:axis>y</scal:axis><scal:scaleFactor>2.0</scal:scaleFactor></scal:ScaleAxis></scal:ScaleAxesByFactor></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_extent.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleToExtent><scal:TargetAxisExtent><scal:axis>x</scal:axis><scal:low>10</scal:low><scal:high>20</scal:high></scal:TargetAxisExtent><scal:TargetAxisExtent><scal:axis>y</scal:axis><scal:low>20</scal:low><scal:high>30</scal:high></scal:TargetAxisExtent></scal:ScaleToExtent></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_scaling_size_full.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>10</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize></scal:Scaling></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_scalefactor.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleByFactor><scal:scaleFactor>1.5</scal:scaleFactor></scal:ScaleByFactor></scal:Scaling></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_scalefactor_per_axis.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleAxesByFactor><scal:ScaleAxis><scal:axis>x</scal:axis><scal:scaleFactor>1.5</scal:scaleFactor></scal:ScaleAxis><scal:ScaleAxis><scal:axis>y</scal:axis><scal:scaleFactor>2.0</scal:scaleFactor></scal:ScaleAxis></scal:ScaleAxesByFactor></scal:Scaling></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_getcov_scaling_extent.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleToExtent><scal:TargetAxisExtent><scal:axis>x</scal:axis><scal:low>10</scal:low><scal:high>20</scal:high></scal:TargetAxisExtent><scal:TargetAxisExtent><scal:axis>y</scal:axis><scal:low>20</scal:low><scal:high>30</scal:high></scal:TargetAxisExtent></scal:ScaleToExtent></scal:Scaling></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
#
# Scaling in imageCRS
# RUN_PARMS: wcs_20_post_getcov_imageCRS_scaling_size_trim_both.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Size dimension="x">20</wcs:Size><wcs:Size dimension="y">30</wcs:Size><wcs:DimensionTrim><wcs:Dimension crs="imageCRS">x</wcs:Dimension><wcs:TrimLow>10</wcs:TrimLow><wcs:TrimHigh>20</wcs:TrimHigh></wcs:DimensionTrim><wcs:DimensionTrim><wcs:Dimension crs="imageCRS">y</wcs:Dimension><wcs:TrimLow>10</wcs:TrimLow><wcs:TrimHigh>30</wcs:TrimHigh></wcs:DimensionTrim></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
@@ -120,9 +120,9 @@
# RUN_PARMS: wcs_20_post_getcov_interpolation_bilinear.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Size dimension="x">20</wcs:Size><wcs:Size dimension="y">20</wcs:Size><wcs:Interpolation>BILINEAR</wcs:Interpolation></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
#
# Interpolation according to Interpolation Extension
# RUN_PARMS: wcs_20_post_getcov_interpolation_nearest.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize><int:Interpolation><int:globalInterpolation>NEAREST</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_interpolation_average.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize><int:Interpolation><int:globalInterpolation>AVERAGE</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_interpolation_bilinear.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize><int:Interpolation><int:globalInterpolation>BILINEAR</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_interpolation_nearest.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize></scal:Scaling><int:Interpolation><int:globalInterpolation>NEAREST</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_interpolation_average.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize></scal:Scaling><int:Interpolation><int:globalInterpolation>AVERAGE</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
# RUN_PARMS: wcs_20_post_getcov_interpolation_bilinear.tif [MAPSERV] [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:scal="http://www.opengis.net/wcs/scaling/1.0" xmlns:int="http://www.opengis.net/wcs/interpolation/1.0" service="WCS" version="2.0.1"><wcs:format>image/tiff</wcs:format><wcs:CoverageId>grey</wcs:CoverageId><wcs:Extension><scal:Scaling><scal:ScaleToSize><scal:TargetAxisSize><scal:axis>x</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize><scal:TargetAxisSize><scal:axis>y</scal:axis><scal:targetSize>20</scal:targetSize></scal:TargetAxisSize></scal:ScaleToSize></scal:Scaling><int:Interpolation><int:globalInterpolation>BILINEAR</int:globalInterpolation></int:Interpolation></wcs:Extension></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
#
# GeoTIFF parameters
#

0 comments on commit 28f6566

Please sign in to comment.