Choose Hints default according KEY_RENDERING value
--------------------------------------------------
Key: GEOT-1513
URL: http://jira.codehaus.org/browse/GEOT-1513
Project: GeoTools
Issue Type: Improvement
Components: core referencing
Affects Versions: 2.5-M0
Reporter: Martin Desruisseaux
Assignee: Martin Desruisseaux
Priority: Minor
The {{org.geotools.factory.Hints}} class extends {{java.awt.RenderingHints}}
class for two reasons:
* Even if the {{Hints}} keys can be unrelated to rendering, they do affect
rendering (but also happen to affect non-rendering operations as well)
* Interoperability with _Java Advanced Imaging_ which already use
{{RenderingHints}} for image operations. Same comment than the above point
apply to JAI hints as well.
* Default {{Hints}} values may depend on {{RenderingHints}} values, so it is
convenient to keep them together.
The last point is not yet implemented in GeoTools, but can easily be done. The
following proposal provides default values according
{{RenderingHints.KEY_RENDERING}} value:
|| {{Hints}} key || Default value for {{VALUE_RENDER_SPEED}} || Default value
for {{VALUE_RENDER_QUALITY}} ||
| {{DATUM_SHIFT_METHOD}} | {{"Molodenski"}} | {{"Geocentric"}} |
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel