Open despainm opened 1 year ago
There is a pathway for doing this now. You can add these properties to the set of "overridable defaults" for a layer. To do so, create a PR where you:
this.#overridables
to set values here and here.Once this PR is merged and released, you would instantiate your Koop instance with:
const options = {
geoserviceDefaults: {
layer: {
dateFieldsTimeReference: {
timeZone: "UTC",
respectsDaylightSaving: false
},
advancedQueryCapabilities: {
supportsPaginationOnAggregatedQueries: false
}
}
}
};
const koop = new Koop(options);
It appears the dateFieldsTimeReference and advancedQueryCapabilities fields can not be configured by a provider.
For example, I'd like to set
advancedQueryCapabilities.supportsPaginationOnAggregatedQueries = false
and I'd like to explicitly set thedateFieldsTimeReference
to beBased on the query api I think a
dateFieldsTimeReference = null
should be interpreted as UTC by default, but I'd like to explicitly set it.