[mapserver-commits] [mapserver/mapserver] 6b5ed6: WCS: support providing creation options that are l...

GitHub noreply at github.com
Tue Dec 5 01:21:40 PST 2017


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 6b5ed6e941078a85f743f975d0b90c794807aed0
      https://github.com/mapserver/mapserver/commit/6b5ed6e941078a85f743f975d0b90c794807aed0
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-12-04 (Mon, 04 Dec 2017)

  Changed paths:
    M mapwcs.c
    M mapwcs.h
    M mapwcs20.c
    M msautotest/pymod/mstestlib.py
    A msautotest/wxs/data/temperatures.tif
    A msautotest/wxs/expected/wcs_grib_output_wcs10_get_coverage.grb2
    A msautotest/wxs/expected/wcs_grib_output_wcs11_get_coverage.grb2
    A msautotest/wxs/expected/wcs_grib_output_wcs20_get_coverage.grb2
    A msautotest/wxs/expected/wcs_simple_layer_specif_option.tif
    A msautotest/wxs/wcs_grib_output.map
    A msautotest/wxs/wcs_simple_layer_specific_option.map

  Log Message:
  -----------
  WCS: support providing creation options that are layer specific

If a Mapfile defines a GEOTIFF outputformat that is enabled in a WCS
layer, then it is possible to define a per-layer value for a creation option,
with a syntax like:

    "wcs_outputformat_GEOTIFF_creationoption_COMPRESS" "LZW"

to say that for 'GEOTIFF' output format, then COMPRESS=LZW should be passed to
the GDAL GTiff driver.

For GDAL 2.3.0 and the GRIB driver that supports band-specific creation options,
it is possible to define such band-specific creation options with for example

   "wcs_outputformat_GRIB_creationoption_BAND_1_IDS" "CENTER=54(Montreal) SUBCENTER=0 MASTER_TABLE=4 LOCAL_TABLE=0 SIGNF_REF_TIME=1(Start_of_Forecast) REF_TIME=2017-01-05T00:00:00Z PROD_STATUS=0(Operational) TYPE=2(Analysis_and_forecast)"

In case of band selection, the code will automatically renumber the band number.


  Commit: da853986b0592639f20112c99f022a4bc719226b
      https://github.com/mapserver/mapserver/commit/da853986b0592639f20112c99f022a4bc719226b
  Author: Even Rouault <even.rouault at mines-paris.org>
  Date:   2017-12-05 (Tue, 05 Dec 2017)

  Changed paths:
    M mapwcs.c
    M mapwcs.h
    M mapwcs20.c
    M msautotest/pymod/mstestlib.py
    A msautotest/wxs/data/temperatures.tif
    A msautotest/wxs/expected/wcs_grib_output_wcs10_get_coverage.grb2
    A msautotest/wxs/expected/wcs_grib_output_wcs11_get_coverage.grb2
    A msautotest/wxs/expected/wcs_grib_output_wcs20_get_coverage.grb2
    A msautotest/wxs/expected/wcs_simple_layer_specif_option.tif
    A msautotest/wxs/wcs_grib_output.map
    A msautotest/wxs/wcs_simple_layer_specific_option.map

  Log Message:
  -----------
  Merge pull request #5530 from rouault/wcs_per_layer_creation_option

WCS: support providing creation options that are layer specific


Compare: https://github.com/mapserver/mapserver/compare/834cdb2528c9...da853986b059


More information about the mapserver-commits mailing list