Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.67 KB

Dataset.md

File metadata and controls

46 lines (33 loc) · 1.67 KB

Dataset (enabled, location)

Back to Configuration

  • enabled - Set to "true" to enable this feature
  • location - A directory where dataset configuration files are located
  • Note that the DATASET identifier from the URL is escaped, the ':' and '/' characters become '_' on the filesystem. The .xml extension will be appended by the server.

Dataset can be used to point to a part of a configuration file which will be included in the main configuration file. This is useful for configuring new services with small configuration files. The configuration files can be loaded by setting the dataset= key value pair in the url.

<Dataset enabled="true" location="/data/services/config/datasets"/>

And URL: service=WMS&dataset=8f0ca2cf-3266-40ca-8d5f-372986645286&request=... will load additional configuration file /data/services/config/datasets/8f0ca2cf-3266-40ca-8d5f-372986645286.xml

  • See also AutoResource for serving files
  • This is applied in INSPIRE view services, as described in [[Configuration_of_an_INSPIRE_View_Service]]

Using DATASET includes and serving OpenDAP

http://yourhost/opendap/8f0ca2cf-3266-40ca-8d5f-372986645286/testdata

  • or -

http://yourhost/opendap/8f0ca2cf-3266-40ca-8d5f-372986645286/

  1. 8f0ca2cf-3266-40ca-8d5f-372986645286 is the dataset identifier
  2. testdata is the variable in the netcdf file, can be left blank. When blank the first layer with type database is used.