<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 28/02/2013 4:31 p.m., 杨华杰 wrote:<br>
    </div>
    <blockquote
cite="mid:CACx=zn8foWacNnRuPYYBjtUQh4BG1+6_2Bx0uthwyv6LK_5UMw@mail.gmail.com"
      type="cite">
      <div dir="ltr">How to <span
          style="font-family:arial,sans-serif;font-size:13px"><font
            color="#ff0000">map them</font>?</span></div>
    </blockquote>
    <br>
    I would presume that you are creating the vectors in OL. However, it
    also appears that the process is creating longitudes greater than
    180. Before the save operation, you should iterate over the
    coordinates to save converting these into the range -180:180<br>
    (ie if (lon>180) lon = lon - 360; )<br>
    <br>
    If you are unfortunate enough to be dealing with vectors that cross
    the 180, then you may expect some grief depending on your backend
    system. Most systems are conceived on a flat earth with the 180 line
    conveniently far from most developers. Support for the 180 line can
    be an ugly hack if supported at all.<br>
  <div>
<div style="border-top: solid 1px black; border-bottom: solid 1px black;
 padding: 10px 0; margin: 20px 0; font-size: 8pt;
 font-family: Verdana, Arial, Helvetica, sans-serif;">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.<br></div>
</div>

</body>
</html>