[mapserver-commits] [MapServer/MapServer] ee9e34: Rename mapgdal.c to .cpp
Jeff McKenna
noreply at github.com
Fri Jan 21 09:06:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: ee9e34585a55e4c1ca82bd8ebcf7cd16a42f8479
https://github.com/MapServer/MapServer/commit/ee9e34585a55e4c1ca82bd8ebcf7cd16a42f8479
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M CMakeLists.txt
R mapgdal.c
A mapgdal.cpp
Log Message:
-----------
Rename mapgdal.c to .cpp
Commit: cfe9cbbdefb72084b5f6f6df5470dbddcbdc25da
https://github.com/MapServer/MapServer/commit/cfe9cbbdefb72084b5f6f6df5470dbddcbdc25da
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M mapgdal.cpp
M mapwcs.cpp
M mapwcs.h
M mapwcs20.cpp
M msautotest/wxs/expected/wcs_simple_layer_specif_option.tif
M msautotest/wxs/wcs_simple_layer_specific_option.map
Log Message:
-----------
WCS: support providing metadata items to GDAL output
If a Mapfile defines a outputformat that is enabled in a WCS
layer, then it is possible to define a per-layer value for GDAL metadata items,
both at the dataset level with a syntax like:
"wcs_outputformat_{format_name}_mdi_{domain}_{key}" "value"
where:
- format_name is substituted with the name of the output format
- domain is substituted with the GDAL metadata domain into which to
write the item. The special value "default" can be used for the
default domain
- key is the key of the metadata item.
For band level metadata items, the syntax is:
"wcs_outputformat_{format_name}_mdi_BAND_{band_number}_{domain}_{key}" "value"
where band_number is a number between 1 and the number of bands of the
dataset of the layer.
In case of band selection in WCS output, the code will automatically renumber
the band number.
netCDF output is a typical use case. For dataset level metadata, the key
must be prefix with NC_GLOBAL#
e.g.
"wcs_outputformat_netCDF_mdi_default_NC_GLOBAL#title" "A succinct description of what is in the dataset"
For Band metadata, e.g.
"wcs_outputformat_netCDF_mdi_BAND_1_default_NETCDF_VARNAME" "wind"
"wcs_outputformat_netCDF_mdi_BAND_1_default_long_name" "wind from direction"
"wcs_outputformat_netCDF_mdi_BAND_1_default_standard_name" "wind_from_direction"
"wcs_outputformat_netCDF_mdi_BAND_1_default_units" "degree"
NETCDF_VARNAME is a special key name recognized by the GDAL netCDF
driver to determine the variable name. All other keys are mapped to a
netCDF attribute belonging to the corresponding variable.
Commit: 73aa152e71033c1a5da63f9abe0107be2c81ac61
https://github.com/MapServer/MapServer/commit/73aa152e71033c1a5da63f9abe0107be2c81ac61
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M msautotest/pymod/testlib.py
Log Message:
-----------
msautotest compare_result(): special case for netCDF
Commit: 43fe56e8eb10e6d8655a0b0f0cfd2c2a8a21597b
https://github.com/MapServer/MapServer/commit/43fe56e8eb10e6d8655a0b0f0cfd2c2a8a21597b
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M mapwcs.cpp
M mapwcs.h
M mapwcs20.cpp
A msautotest/wxs/data/trmm-2x2.nc
A msautotest/wxs/expected/wcs_netcdf_input_output_wcs10_get_coverage.nc
A msautotest/wxs/expected/wcs_netcdf_input_output_wcs20_get_coverage.nc
A msautotest/wxs/wcs_netcdf_input_output.map
Log Message:
-----------
WCS and netCDF input/output: automatically set GDAL/netCDF output metadata itemps from netCDF input dataset metadata (if wcs_outputformat_netCDF_mdi_ not defined)
Commit: a1445667b0ceadb679784879f3a709ddb3566b27
https://github.com/MapServer/MapServer/commit/a1445667b0ceadb679784879f3a709ddb3566b27
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M msautotest/pymod/mstestlib.py
M msautotest/wxs/wcs_netcdf_input_output.map
Log Message:
-----------
Avoid issue on Travis-CI with new wcs_netcdf_input_output.map test
Commit: f6c1574a522c988dfb6757bd7842bf88db636d01
https://github.com/MapServer/MapServer/commit/f6c1574a522c988dfb6757bd7842bf88db636d01
Author: Jeff McKenna <jmckenna at gatewaygeomatics.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M CMakeLists.txt
R mapgdal.c
A mapgdal.cpp
M mapwcs.cpp
M mapwcs.h
M mapwcs20.cpp
M msautotest/pymod/mstestlib.py
M msautotest/pymod/testlib.py
A msautotest/wxs/data/trmm-2x2.nc
A msautotest/wxs/expected/wcs_netcdf_input_output_wcs10_get_coverage.nc
A msautotest/wxs/expected/wcs_netcdf_input_output_wcs20_get_coverage.nc
M msautotest/wxs/expected/wcs_simple_layer_specif_option.tif
A msautotest/wxs/wcs_netcdf_input_output.map
M msautotest/wxs/wcs_simple_layer_specific_option.map
Log Message:
-----------
Merge pull request #6456 from rouault/netcdf_metadata
netCDF output related improvements for WCS
Compare: https://github.com/MapServer/MapServer/compare/192e7cadf347...f6c1574a522c
More information about the mapserver-commits
mailing list