Issue Type: Bug Bug
Affects Versions: 9.5
Assignee: Andrea Aime
Attachments: Test3.java
Components: render
Created: 22/Aug/13 1:38 AM
Description:

A line 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 a feature that is a line with coordinates (174.03, 52.43) to (-178.15, 52.04). It then creates 4 images:
Image l1: Contains longitude 140 to -140. I would expect that the image shows a short line (the complete feature) but it shows a line crossing the complete image.
Image l2: Contains longitude 140 to 180 simulating a tile with data up to the dateline. It should show part of the line going to the right, but it shows the line going to the left.
Image l3: Contains longitude -180 to -140 simulating a tile on the other side of the dateline. It should show part of the line going to the left, but it shows the line going to the right.
Image l4: Contains longitude 179.1 to 179.9 simulating a detail tile image. It should show a line crossing the complete image but it shows nothing.

Environment: Tested on Linux using JDK 1.6.0_33
Project: GeoTools
Priority: Major 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

Reply via email to