Support coverage property SourceUrl

Description

Add a coverage property SourceUrl for NetCDF and ImageMosaic readers that can be discovered by NetCDFOutputManager in GeoServer gs-netcdf-out. The property is a URL for the source of the coverage.

Environment

None

Activity

Ben Caradoc-Davies 
May 12, 2017 at 12:31 PM

Backported to 17.x.

Ben Caradoc-Davies 
April 26, 2017 at 11:09 AM

Merged on master.

Ben Caradoc-Davies 
April 20, 2017 at 10:20 PM

the coverage does not represent the full contents of the file so OriginalFileSource cannot be used. The source NetCDF/GRIB file may contain other coverages. Furthermore, http and dods protocols are also supported, not just file:
https://github.com/geotools/geotools/blob/master/modules/plugin/coverage-multidim/netcdf/src/main/java/org/geotools/coverage/io/netcdf/NetCDFAccess.java#L94
As a consequence, NetCDFReader stores the source as a URL not a File:
https://github.com/geotools/geotools/blob/master/modules/plugin/coverage-multidim/netcdf/src/main/java/org/geotools/coverage/io/netcdf/NetCDFReader.java#L142

Andrea Aime 
April 20, 2017 at 6:14 AM

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 20, 2017 at 1:58 AM
Updated May 12, 2017 at 12:31 PM
Resolved April 26, 2017 at 11:09 AM