[OpenLayers-Users] Outside of (-180, 180) error during saving Vector feature
杨华杰
yhjhoo at gmail.com
Thu Feb 28 19:08:57 PST 2013
Thanks for all the replies, so I can solve it in Openlayer, any tips to
change the projection?
On Fri, Mar 1, 2013 at 4:30 AM, Phil Scadden <p.scadden at gns.cri.nz> wrote:
> Just a further thought on this - the problem looks to me to be at
> geoserver end where it is converting lat/lon into the native projection you
> are saving it in. As mentioned in earlier message, you could solve by
> keeping vectors in -180:180 range on OL side; you could re-project yourself
> on OL side; or you could look hard at projection used on the server layer.
> In a situation where a vector crosses the 180 line, you will find some
> server-side projection tend to work better than others.
>
>
> 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.
>
> ______________________________**_________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130301/0d6ebec9/attachment.html>
More information about the Users
mailing list