Geometries reprojected to 4326 or 900913 that cross the dateline fail to render 
depending on map/tile extent
------------------------------------------------------------------------------------------------------------

                 Key: GEOS-4246
                 URL: http://jira.codehaus.org/browse/GEOS-4246
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1-beta1
            Reporter: Shane StClair
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: example.zip

I have a few geometries in EPSG:3338 that cross the dateline and aren't 
rendered in EPSG:4326 or EPSG:900913 WMS requests depending on map/tile extent. 
A workaround for this is to include a buffer value equal to the total pixel 
width of the world map at the current zoom level (256 * 2 ^ zoom, I think). 

This log message seems related, but doesn't show up consistently:
WARN [geotools.rendering] - Assuming rendering buffer = 0, but estimation is 
not accurate, you may want to set a buffer manually

This is using 2.1-beta1 with and without the following continuous map wrapping 
flags on the JVM:
http://blog.geoserver.org/2010/02/23/geoserver-map-wrapping/
http://geo-solutions.blogspot.com/2010/02/geoserver-continuous-map-wrapping.html
-DADVANCED_PROJECTION_HANDLING=true
-DUSE_STREAMING_RENDERER=true

Example shapefile is attached. Add layer with declared epsg 3338, then open 
openlayers app. Adjust epsg to 4326 and use the following bounding box:

bbox=-180,50,-140,70

Switch to tiled mode, zoom in to level 3 or above and pan around to see 
geometries get cut off at tile borders. In single tile mode, geometry also 
fails to render if map extent is too far east.


-- 
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

        

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to