![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
8.2 |
|
Assignee:
|
Andrea Aime
|
|
Attachments:
|
gt-render-calcScaleHardening.patch |
|
Components:
|
render |
|
Created:
|
20/Sep/12 5:56 PM
|
|
Description:
|
When rendering a GeoTIFF from the USGS in NAD83, the renderer calculateScale routine threw errors due to an apparently bad Domain of Validity. (The Longitude bounds were positive instead of negative, and thus inverted. This caused the intersection of the viewport with the DOV envelope to be empty, which is checked for as an error in the calculateScale routine).
The attached fix hardens the calculateScale routine against this situation, by avoiding trying to compute an intersection if the CRS DOV is empty (which should never occur in valid CRSes - right?)
The original bug of the invalid DOV remains to be tracked down.
|
|
Project:
|
GeoTools
|
|
Priority:
|
Minor
|
|
Reporter:
|
Martin Davis
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel