Skip to content
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

Make decimal places of numeric values in GetFeatureInfo for cover configurable #1395

Conversation

stephanr
Copy link
Member

This PR extends the GetFeatureInfo configuration and adds the new attribute decimalPlaces.
The intended use-case is to request a fixed number of decimal digits on numerical data extracted from coverage data.

On coverage (raster) data, feature info gets sampled or aggregated, so that it is not unusual to have many decimal digits, which can lead to a false interpretation of accuracy.

Note on MapOptions: During the integration of the changes into the current main the remaining uses of MapOptions constructors was cleaned up to use the previously introduced MapOptions.Builder.

* make Constructors deprecated and reference MapOptions.Builder instead
* change implementation to use MapOptions.Builder instead of constructor
@stephanr stephanr added enhancement enhancement or improvement schema change change to deegree configuration files labels Sep 21, 2022
@stephanr stephanr added this to the 3.5 milestone Sep 21, 2022
@tfr42 tfr42 added the WMS deegree Web Map Service label Sep 21, 2022
@copierrj copierrj merged commit 6e14ebf into deegree:main Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement schema change change to deegree configuration files WMS deegree Web Map Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants