[ https://issues.apache.org/jira/browse/SIS-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux resolved SIS-513. ------------------------------------- Resolution: Won't Fix The strategy described in above comment is used instead if per-axis rounding mode. > When rounding grids, allow per axis strategy instead of a single global one. > ---------------------------------------------------------------------------- > > Key: SIS-513 > URL: https://issues.apache.org/jira/browse/SIS-513 > Project: Spatial Information Systems > Issue Type: Improvement > Components: Coverage > Affects Versions: 1.0 > Reporter: Alexís Manin > Assignee: Martin Desruisseaux > Priority: Major > Fix For: 1.1 > > > Related to the usage of > `{color:#000000}org.apache.sis.coverage.grid.GridRoundingMode{color}` : > > At the moment, its usage is often considered as a global configuration for > every axes treated (Example: > [GridDerivation.rounding()).|https://sis.apache.org/apidocs/org/apache/sis/coverage/grid/GridDerivation.html#rounding(org.apache.sis.coverage.grid.GridRoundingMode)] > > A possible improvement would be to specify the rounding strategy > independently for each axis of the grid. One possible use-case would be to > ease management of 2D resample over 3D+ datasets. > > For example, if the source coverage of a resample defines a grid [ 0..99, > 0..99, 0..0 ], with the axes being respectively longitude, latitude and time, > the pipeline of operation over the grid could extend all axes, even time > slice depending on chosen rounding mode. Such behavior can fail resampling > operation, but would be easily avoidable if we can specify that time is a > special axis to round using NEAREST strategy. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)