<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink="#606420">

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am using shapeLib to parse the .shp file called ‘country.shp’
that comes with ArcMap and am getting some odd results.  My application
will take the vertex points from each shape and simply draw them as a polygon
on my screen.  The problem, however, is that many of the shapes have stray
lines associated with them.  For instance, the country </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>France</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> gets drawn,
but then a line is drawn to </span></font><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>Corsica</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> and then the </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>island</span></font><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> of </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Corsica</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> is
drawn.  I see that both land masses are part of </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>France</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>, but how
can I scrub the data to get rid of that extra line.  I’ve tried just
cutting off one polygon drawn when the next point is more than 2 degrees away,
but then on other parts of the world, not all the land masses get drawn.  </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Does anyone know what I can look for to predict when the
shape will suddenly have a vertex point away, then start plotting in a
different position?  The map I’m drawing looks rather odd.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks.</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left>
 <tr height=117 style='height:87.75pt'>
  <td width=339 height=117 style='width:254.15pt;padding:0in 0in 0in 0in;
  height:87.75pt'>
  <div>
  <div class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>
  <hr size=2 width=323 style='width:242.25pt' noshade color="#0a357e"
  align=left>
  </span></font></div>
  </div>
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=252
   style='width:188.75pt'>
   <tr height=8 style='height:5.95pt'>
    <td width=108 rowspan=2 valign=top style='width:81.0pt;padding:0in 0in 0in 0in;
    height:5.95pt'>
    <p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><img
    width=193 height=82 src="cid:image001.jpg@01C6913D.53F007F0"></span></font></p>
    </td>
    <td width=142 height=8 style='width:106.75pt;padding:0in 0in 0in 0in;
    height:5.95pt'>
    <p class=MsoNormal style='margin-left:.1in'><b><font size=2 color=black
    face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;
    font-weight:bold'>Tony Corazao</span></font></b></p>
    </td>
    <td width=10 height=8 style='width:.1in;padding:0in 0in 0in 0in;height:
    5.95pt'>
    <p class=MsoNormal style='margin-left:.1in'><font size=3
    face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
    </td>
   </tr>
   <tr height=6 style='height:4.45pt'>
    <td width=142 height=6 style='width:106.75pt;padding:0in 0in 0in 0in;
    height:4.45pt'>
    <p class=MsoNormal style='margin-left:.1in'><em><i><font size=1
    color=black face=Arial><span style='font-size:8.0pt;font-family:Arial;
    color:black'>Software Engineer</span></font></i></em></p>
    <p class=MsoNormal style='margin-left:.1in'><font size=1 color=black
    face=Arial><span style='font-size:8.0pt;font-family:Arial;color:black'>512-329-5661
    x3096</span></font></p>
    <p class=MsoNormal style='margin-left:.1in'><font size=1 face=Arial><span
    style='font-size:8.0pt;font-family:Arial'>tcorazao<font color=black><span
    style='color:black'>@overwatch.com</span></font></span></font></p>
    </td>
    <td width=10 height=6 style='width:.1in;padding:0in 0in 0in 0in;height:
    4.45pt'>
    <p class=MsoNormal style='margin-left:.1in'><font size=3
    face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
    </td>
   </tr>
  </table>
  <div>
  <div>
  <div>
  <div class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>
  <hr size=2 width=323 style='width:242.25pt' noshade color="#0a357e"
  align=left>
  </span></font></div>
  </div>
  <p class=MsoNormal><font
    size=1 color="#174679" face=Arial><span style='font-size:7.5pt;font-family:
    Arial;color:#174679'>301 Camp Craft Rd.</span></font><font size=1
  color="#174679" face=Arial><span style='font-size:7.5pt;font-family:Arial;
  color:#174679'>  •   </span></font><font size=1 color="#174679" face=Arial><span style='font-size:7.5pt;font-family:Arial;
    color:#174679'>Austin</span></font><font size=1 color="#174679" face=Arial><span
   style='font-size:7.5pt;font-family:Arial;color:#174679'>, </span></font><font
    size=1 color="#174679" face=Arial><span style='font-size:7.5pt;font-family:
    Arial;color:#174679'>TX</span></font><font size=1 color="#174679"
   face=Arial><span style='font-size:7.5pt;font-family:Arial;color:#174679'> </span></font><font
    size=1 color="#174679" face=Arial><span style='font-size:7.5pt;font-family:
    Arial;color:#174679'>78746</span></font><font size=1 color="#174679"
  face=Arial><span style='font-size:7.5pt;font-family:Arial;color:#174679'> 
  •  </span></font><a
  href="https://mail.ausinfo.com/exchweb/bin/redir.asp?URL=http://www.overwatch.com/"
  target="_blank"><font size=1 color="#174679" face=Arial><span
  style='font-size:7.5pt;font-family:Arial;color:#174679'>www.overwatch.com</span></font></a></p>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'> </span></font></p>
  </div>
  </div>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

</body>

</html>