[mapserver-commits] [mapserver/mapserver] 249328: WCS 2.0: special processing for wcs_rangeset_axes=...

GitHub noreply at github.com
Thu Nov 30 08:39:29 PST 2017


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 2493287b0e35f54c671d6dae33ebabfc7869bb60
      https://github.com/mapserver/mapserver/commit/2493287b0e35f54c671d6dae33ebabfc7869bb60
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-11-21 (Tue, 21 Nov 2017)

  Changed paths:
    M mapwcs20.c
    M msautotest/wxs/expected/wcs_10_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_desc.txt
    M msautotest/wxs/expected/wcs_20_desc.xml
    M msautotest/wxs/expected/wcs_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_20_getcov_reproj.dat
    M msautotest/wxs/expected/wcs_20_post_desc.xml
    M msautotest/wxs/expected/wcs_20_post_getcov_full_multipart.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_reproj.dat
    M msautotest/wxs/wcs_multi.map

  Log Message:
  -----------
  WCS 2.0: special processing for wcs_rangeset_axes=bands

WCS 2.0 has a special compatibility mode where it can use WCS 1.1 metadata
items. Unfortunately, it does a wrong assumption on how wcs_rangeset_axes works
in WCS 1.0/1.1. The implementation of it is probably not completely right in
WCS 1.0/1.1, but at least a special case that works is when 'bands' is assigned
to wcs_rangeset_axes. So make WCS 2.0 code handle wcs_rangeset_axes=bands
as the special case handled by msWCSSetDefaultBandsRangeSetInfo()
in https://github.com/mapserver/mapserver/blob/branch-7-0/mapwcs.c#L281

Modify wcs_multi.map to use wcs_rangeset_axes=bands. This will also make the
wcs_10_getcov_bands_name_new request to properly return 3 bands. So band
subsetting works in both in WCS 1.0 and 2.0 with the same mapfile.

The "New band related metadata entries" paragraph of
http://mapserver.org/ogc/wcs_server.html
should probably be revised to remove reference to the WCS 1.1 compatibility
mode.


  Commit: 160d7bcb85f2212070b3efe38e12c6b087c33ed8
      https://github.com/mapserver/mapserver/commit/160d7bcb85f2212070b3efe38e12c6b087c33ed8
  Author: Guillaume Beraudo <guillaume.beraudo at camptocamp.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M mapogcfilter.c

  Log Message:
  -----------
  Fix conteent typo


  Commit: aada6a13a63e433346d1548719fc4546061600b5
      https://github.com/mapserver/mapserver/commit/aada6a13a63e433346d1548719fc4546061600b5
  Author: Guillaume Beraudo <guillaume.beraudo at camptocamp.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M HISTORY.TXT

  Log Message:
  -----------
  Fix coantins typo


  Commit: c1079fa5dd990ff99f6c8bc5387f15ff84829c7e
      https://github.com/mapserver/mapserver/commit/c1079fa5dd990ff99f6c8bc5387f15ff84829c7e
  Author: Guillaume Beraudo <guillaume.beraudo at camptocamp.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M HISTORY.TXT
    M mapogcfilter.c

  Log Message:
  -----------
  Fix Filer typo


  Commit: 112f1b1c62008f91cf64bfc9f3009e5d68975578
      https://github.com/mapserver/mapserver/commit/112f1b1c62008f91cf64bfc9f3009e5d68975578
  Author: Guillaume Beraudo <guillaume.beraudo at camptocamp.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M mapogcfilter.c

  Log Message:
  -----------
  Fix transfter typo


  Commit: 8a949f744eb489e9c61e0d7d957ed6dfb4747be1
      https://github.com/mapserver/mapserver/commit/8a949f744eb489e9c61e0d7d957ed6dfb4747be1
  Author: Jeff McKenna <jeffmckenna at gmail.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M HISTORY.TXT
    M mapogcfilter.c

  Log Message:
  -----------
  Merge pull request #5527 from gberaudo/fix_typos

Fix typos in comments


  Commit: 6a09273f4da7486b7f05846c3acb0630f54664dd
      https://github.com/mapserver/mapserver/commit/6a09273f4da7486b7f05846c3acb0630f54664dd
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M mapwcs20.c
    M msautotest/wxs/expected/wcs_20_desc_bands.xml
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new_reproject.dat
    M msautotest/wxs/expected/wcs_20_post_bands_name_new.dat
    M msautotest/wxs/wcs_multi.map

  Log Message:
  -----------
  Add comments to previous commit, and make sure that in msWCSGetCoverage20_GetBands() the WCS 2.0 wcs_band_names get priority over the WCS 1.x wcs_rangeset_axes (to be consistent with msWCSGetCoverageMetadata20())


  Commit: fc06d45fd7c5ecd06562bd4f3edf42436468576a
      https://github.com/mapserver/mapserver/commit/fc06d45fd7c5ecd06562bd4f3edf42436468576a
  Author: Even Rouault <even.rouault at mines-paris.org>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M mapwcs20.c
    M msautotest/wxs/expected/wcs_10_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_desc.txt
    M msautotest/wxs/expected/wcs_20_desc.xml
    M msautotest/wxs/expected/wcs_20_desc_bands.xml
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new_reproject.dat
    M msautotest/wxs/expected/wcs_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_20_getcov_reproj.dat
    M msautotest/wxs/expected/wcs_20_post_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_post_desc.xml
    M msautotest/wxs/expected/wcs_20_post_getcov_full_multipart.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_reproj.dat
    M msautotest/wxs/wcs_multi.map

  Log Message:
  -----------
  Merge pull request #5523 from rouault/wcs20_special_case_for_wcs_rangeset_axes_equal_bands

WCS 2.0: special processing for wcs_rangeset_axes=bands


  Commit: 3483e83efe9cef2dea52000d5cbe843ead09d4bd
      https://github.com/mapserver/mapserver/commit/3483e83efe9cef2dea52000d5cbe843ead09d4bd
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-11-30 (Thu, 30 Nov 2017)

  Changed paths:
    M HISTORY.TXT
    M mapogcfilter.c
    M mapwcs20.c
    M msautotest/wxs/expected/wcs_10_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_desc.txt
    M msautotest/wxs/expected/wcs_20_desc.xml
    M msautotest/wxs/expected/wcs_20_desc_bands.xml
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_getcov_bands_name_new_reproject.dat
    M msautotest/wxs/expected/wcs_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_20_getcov_reproj.dat
    M msautotest/wxs/expected/wcs_20_post_bands_name_new.dat
    M msautotest/wxs/expected/wcs_20_post_desc.xml
    M msautotest/wxs/expected/wcs_20_post_getcov_full_multipart.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_full.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_grd_mp.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_reproj.dat
    M msautotest/wxs/wcs_multi.map

  Log Message:
  -----------
  Merge branch 'branch-7-0'


Compare: https://github.com/mapserver/mapserver/compare/42f2aa44259f...3483e83efe9c


More information about the mapserver-commits mailing list