<div dir="ltr">Hi Guys<div><br></div><div style>First of all , thanks for all the reply.</div><div style><br></div><div style><br></div><div style>From the error, everyone know it's because the <span style="font-family:arial,sans-serif;font-size:13px">coordinates exceed, and a direct answer is converting the coordinate.</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">I want to know how, not the </span><font face="arial, sans-serif">principal</font></div>
<div style><font face="arial, sans-serif"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 2:01 PM, 杨华杰 <span dir="ltr"><<a href="mailto:yhjhoo@gmail.com" target="_blank">yhjhoo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any code tips, I am new to openlayer and geoserver.<div><br></div><div>Don't know what to do</div></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 11:21 AM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 1/03/2013 4:08 p.m., 杨华杰 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for all the replies, so I can solve it in Openlayer, any tips to change the projection?<br>
</blockquote></div>
It very much depends on your backend - the underlying spatial database you are storing into (and will need to reproject out of). I think you will need to just try and see what works. Sometimes we find that projection from server to client will work for some projections but not others (notably lat/longs stored as 0:360 on server). In utter desparation you can break geometry on the 180 line but you lose polygon topology that way. We have a ghastly trick that works for arcSDE in maintaining polygon topology over the 180 (create it west of 180, lie about the coordinates, then translate to correct position and force projection to the correct one) and works okay with a tiled geoserver serving it back.<div>

<div><br>
<br>
Notice: This email and any attachments are confidential.<br>
If received in error please destroy and immediately notify us.<br>
Do not copy or disclose the contents.<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/openlayers-<u></u>users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>