New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netCDF output fails for WCS in 7.4.1 #5968
Comments
Yes, this must be related to the fact the netCDF driver in recent versions of GDAL reports DCAP_VIRTUALIO support, but this is actually just for reading, not writing. MapServer shoud likely be patched to ignore DCAP_VIRTUALIO when the driver is netCDF |
Ah, that makes sense, so it was basically since version 2.4 of GDAL, right? (OSGeo/gdal#786) |
yes |
How would you determine if we are dealing with a netCDF driver? Just check the drivers short name? We may need to check the GDAL version as-well, right? |
yes
Seems more complicated than needed
I also think so |
…er#5968) Fixes MapServer#5968 Derived from suggestion by @constantinius
WCS output / msSaveImageGDAL(): fix support of netCDF output (#5968)
Fixes #5968 Derived from suggestion by @constantinius
Thank you very much, Even! |
…-branch-7-6 [Backport branch-7-6] WCS 1.1 and 2.0: fix support of netCDF output (complementary fix to refs #5968)
WCS 1.1 and 2.0: fix support of netCDF output (complementary fix to refs #5968)
netCDF output fails for the below map-file (referencing a vrt of 3 tiffs) with the following exception message:
I test it using this command:
mapserv -nh QUERY_STRING="map=test.map&version=2.0.1&service=WCS&request=GetCoverage&coverageid=mosaic_MER_FRS_1P_reduced_RGB&format=application/x-netcdf"
The same error (or very similar, at least) happens for WCS 1.0, so this has nothing to do with WCS 2.0:
This is my setup:
On 7.0.7 (and GDAL 2.2.3, released 2017/11/20) the same request works and produces an output file.
The text was updated successfully, but these errors were encountered: