<div>Hello Sylvain,</div>
<div> </div>
<div>While not the most efficient, you can create 3 features for each item. If you are creating Point features, convert them to MultiPoint, LineString to MultiLineString, and Polygon to MultiPolygon.</div>
<div> </div>
<div>Place one set in the X coordinaties < -180, one set in the X coordinates > -180 and < 180, and the last set in the X coordinates > 180. Essentially, triple the features used, and draw 3 'globes' worth of features.</div>
<div> </div>
<div>You may see a flash when crossing the dateline, but your features won't disappear when you cross the dateline (E to W, or W to E).</div>
<div> </div>
<div>In practice, the extra features are not rendered because the renderer only renders vector features that are visible in the viewport at any one time.</div>
<div> </div>
<div>z</div>
<div> </div>
<div>On Mon, Aug 30, 2010 at 10:06 AM, springrider <<a href="mailto:springrider@hotmail.com">springrider@hotmail.com</a>> wrote:</div>
<div>></div>
<div>> Good morning</div>
<div>></div>
<div>> I am currently working in the pacific area from Indonesia to Polynesia and</div>
<div>> need to display pie charts based on population statistics.</div>
<div>> I followed this tutorial</div>
<div>> <a href="http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php">http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php</a></div>
<div>> and am really impressed by styling capabilities of OL.</div>
<div>></div>
<div>> But (there is always a but), when i try to display my pies around the</div>
<div>> dateline, the display is getting problematic, both points on each side can</div>
<div>> not displayed at the same time and the map is always flashing when moving</div>
<div>> around the dateline.</div>
<div>> Moreover i had to convert negative data into positive such as -160 to 200.</div>
<div>> Is there any workaround to display vector layers using OpenLayers in the</div>
<div>> Pacific area?</div>
<div>></div>
<div>> Thanks in advance for your help, everything is working fine except this last</div>
<div>> but essential aspect.</div>
<div>> I implemeneted the patch available here:</div>
<div>> <a href="http://trac.openlayers.org/ticket/2787">http://trac.openlayers.org/ticket/2787</a> but didn't change anything.</div>
<div>></div>
<div>> <a href="http://osgeo-org.1803224.n2.nabble.com/file/n5478314/OL.png">http://osgeo-org.1803224.n2.nabble.com/file/n5478314/OL.png</a></div>
<div>></div>
<div>> Sylvain</div>
<div>></div>
<div>> --</div>
<div>> View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Vector-points-aver-the-dateline-tp5478314p5478314.html">http://osgeo-org.1803224.n2.nabble.com/Vector-points-aver-the-dateline-tp5478314p5478314.html</a></div>
<div>> Sent from the OpenLayers Users mailing list archive at Nabble.com.</div>
<div>> _______________________________________________</div>
<div>> Users mailing list</div>
<div>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a></div>
<div>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a></div>
<div>></div>
<div> </div>
<div> </div>