![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
9.5 |
|
Assignee:
|
Andrea Aime
|
|
Attachments:
|
Test.java |
|
Components:
|
render |
|
Created:
|
22/Aug/13 1:59 AM
|
|
Description:
|
A polygon that crosses the dateline is not rendered properly. Probably because the used JTS library for creating the geometry calculates the wrong envelope.
The attached example creates a data store that contains two features. One polygon not crossing the dateline [10, 30; 10, 40; 110, 40; 110, 30; 10, 30] and one crossing the dateline [150, 50; 150, 60; -150, 60; -150, 50; 150, 50]. It then creates 8 images:
Image c1: Contains longitude 0 to 150. It shows correctly the complete first feature.
Image c2: Contains longitude 0 to 50. It shows correctly the left part of the first feature.
Image c3: Contains longitude 50 to 150. It shows correctly the right part of the first feature.
Image c4: Contains longitude 50 to 100. It shows correctly the middle part of the first feature.
Image d1: Contains longitude 140 to -140. The image shows nothing but it should show the complete second feature.
Image d2: Contains longitude 140 to 180. The image shows correctly the left part of the second feature. Note: in contrast to GEOT-4542 the polygon is handled correctly here.
Image d3: Contains longitude -180 to -140. The image shows correctly the right part of the second feature. Note: in contrast to GEOT-4542 the polygon is handled correctly here.
Image d4: Contains longitude 160 to 170. The image shows nothing but it should show the middle part of the second feature.
|
|
Environment:
|
Tested on Linux using JDK 1.6.0_33
|
|
Project:
|
GeoTools
|
|
Priority:
|
Major
|
|
Reporter:
|
Andreas Holzmann
|
|
|
|
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
|
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel