Hello Simone

I noticed the following in the Hints class:

  String VALUE_OVERVIEW_POLICY_QUALITY = "Quality";
  String VALUE_OVERVIEW_POLICY_IGNORE  = "Ignore";
  String VALUE_OVERVIEW_POLICY_NEAREST = "Nearest";
  String VALUE_OVERVIEW_POLICY_SPEED   = "Speed";

They are not keys (like all other Hints constant declarations) but values for
the Hints.OVERVIEW_POLICY key. Do you mind if I move those values in an
OverviewPolicy enum? I would deprecated (not yet remove) the current ones for
transition.

Also can I replace (with deprecation cycle):

  Key REPLACE_NON_GEOPHYSICS_VIEW = new Key(Boolean.class);

by

  Key COVERAGE_PROCESSING_VIEW = new Key("org.geotools.coverage.grid.ViewType");

? The implication for users would be to replace:

    hints.put(Hints.REPLACE_NON_GEOPHYSICS_VIEW, Boolean.TRUE);

by

    hints.put(Hints.COVERAGE_PROCESSING_VIEW, ViewType.PHOTOGRAPHIC);

Actually I have those changes ready on my local copy - waiting for your okay.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to