<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Fernando,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How are you?...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In some cases I have polygon defined with a code 
"5" instead of "1005". In this case mapserver does not recognize the polygon 
format and it&nbsp;displayes an error:</FONT></DIV>
<DIV><FONT color=#0000ff><STRONG>Warning: [MapServer Error]: msDrawShape(): Only 
polygon shapes can be drawn using a POLYGON layer definition. 
in...</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here you are a sample polygon definition that gives 
me problems:</FONT></DIV>
<DIV><FONT face=Arial size=2>SDO_GEOMETRY(2003, NULL, NULL, 
SDO_ELEM_INFO_ARRAY(1, 5, 3, 1, 2, 1, 5, 2, 2, 13, 2, 1), 
SDO_ORDINATE_ARRAY(717393.311, 96290.2075, 717393.843, 96286.1065, 717300.032, 
96279.4307, 717301.79, 96281.1715, 717303.764, 96282.6628, 717305.79, 
96283.6852, 717307.995, 96284.2265, 717309.425, 96284.41, 717352.296, 
96287.4608, 717387.403, 96289.9591, 717393.311, 96290.2075))</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any suggestions?...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Francesco</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>