Deprecate Layer scale hints in favour of scale denominator
----------------------------------------------------------
Key: GEOT-1632
URL: http://jira.codehaus.org/browse/GEOT-1632
Project: GeoTools
Issue Type: Bug
Components: ext wms
Affects Versions: 2.5-M0, 2.2.2
Reporter: Jody Garnett
Assignee: Richard Gould
Confusion over these values is preventing udig from rendering some JPL content.
- scale hints were defined (poorly) in the early WMS specifications and were
never consistently implemented to the point where they are now useless
- scale denominator was defined strictly in terms of the scale of the central
pixel
The existing parser will use the scale denominator information (if found) for
scale hints; and then if scale hints are also found it will make use of them.
In cases like JPL this leaves us with mixed values of no clear definition.
For trunk:
- deprecate getScaleHintsMin(), getScaleHintsMax()
- create getScaleDenominatorMin() and getScaleDenominatorMax()
- change the parser to populate each value explicitly
For 2.2.x:
- change the parser to favour get scale denominator; and ignore scale hints if
such are provided
--
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
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel