[OpenLayers-Users] Polygon around 180 lon and -180 lon

Phil Scadden p.scadden at gns.cri.nz
Wed Aug 25 20:10:17 EDT 2010


>
> I need to display a polygon in openlayers (ESPG:4326)
> This polygon has some points around 175 degrees lon, and some around 
> -175 degrees lat ?
> Should I add +360 to display correctly the polygon ? 
Is this a vector layer? If so, then please see
http://trac.openlayers.org/ticket/2787

There are patches for handlers etc there. If it is WMS, then you have an 
issue - geoserver, latest version with patches or the snapshot 2.1 is 
more or less delivering around the 180.

> -- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.




More information about the Users mailing list