<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hi there,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>I have a list of rings which are read from 
shapefile.&nbsp; all out rings are clockwise and all hole rings are 
counterclockwise. After &nbsp;reading &nbsp;the OGC spec, it seems that i have 
to decide for each hole ring that to which out ring it belongs. Which means i 
have to build a list of Polygon first and then build a MultiPolygon. 
</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>how could i build a MultiPolygon from a list of 
rings&nbsp; directly? It is hard for me to find out the relationship of holes 
and out rings.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Regards,</FONT></DIV>
<DIV><FONT face=Calibri>Abe Zhu</FONT></DIV></BODY></HTML>