<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="MS UI Gothic" size=2>
<DIV><FONT face="MS UI Gothic" size=3><EM>Thanks a lot,,strk.</EM></FONT></DIV>
<DIV><EM><FONT face="MS UI Gothic" size=3></FONT></EM>&nbsp;</DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>I compiled the veriosn of 
"[2004/12/16] geos-2.1.1.tar.bz2"&nbsp;with VisualStudio.</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>and it got complie error, so I&nbsp; 
made the following change.</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>$B-!(Bchange the file name of 
"source\headers\geos\platform.h.vc" to 
"source\headers\geos\platform.h",</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>"source\headers\geos\version.h.in" to 
"source\headers\geos\version.h".</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><EM><FONT size=3><FONT face="MS UI Gothic">$B-"(Bdownload 
"Stackwalker.h","</FONT><FONT face="MS UI Gothic">Stackwalker.cpp" from <A 
href="http://www.codeproject.com">www.codeproject.com</A>&nbsp;, then add them 
to the folder of&nbsp;"\source\test"</FONT></FONT></EM></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>$B-#(Bremove the following files from 
solution</EM></FONT></DIV>
<DIV><EM><FONT size=3><FONT 
face="MS UI Gothic">remove&nbsp;"BasicCoordinateList.cpp",</FONT><FONT 
face="MS UI Gothic">"CoordinateList.cpp",</FONT><FONT 
face="MS UI Gothic">"CoordinateListFactory.cpp",</FONT><FONT 
face="MS UI Gothic">"PointCoordinateList.cpp" from "Source 
File\geom\"</FONT></FONT></EM></DIV>
<DIV><EM><FONT size=3><FONT face="MS UI Gothic">remove 
"CPCLException.cpp",</FONT><FONT 
face="MS UI Gothic">"CustomPointCoordinateList.cpp" </FONT><FONT 
face="MS UI Gothic">from "Source File\examples\"</FONT></FONT></EM></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>$B-$(Badd the following files to 
solution</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>add "Profiler.cpp" to "Source 
Files\util"</EM></FONT></DIV>
<DIV><EM><FONT size=3><FONT face="MS UI Gothic">add 
"CoordinateSequenceFactory.cpp",</FONT><FONT 
face="MS UI Gothic">"DefaultCoordinateSequenceFactory.cpp",</FONT><FONT 
face="MS UI Gothic">"DefaultCoordinateSequence.cpp",</FONT><FONT 
face="MS UI Gothic">"CoordinateSequence.cpp" </FONT><FONT face="MS UI Gothic">to 
"Source Files\geom"</FONT></FONT></EM></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT>&nbsp;</DIV>
<DIV><EM><FONT size=3><FONT face="MS UI Gothic">add 
"ElevationMatrix.cpp",</FONT><FONT 
face="MS UI Gothic">"ElevationMatrixCell.cpp",</FONT><FONT 
face="MS UI Gothic">"ElevationMatrixFilter.cpp" to "Source 
Files\geom\operation\overlay"</FONT></FONT></EM></DIV>
<DIV><EM><FONT size=3></FONT></EM>&nbsp;</DIV>
<DIV><EM><FONT size=3>that's all</FONT></EM></DIV>
<DIV>
<DIV><EM><FONT size=3></FONT></EM></DIV><EM><FONT size=3></FONT></EM></DIV>
<DIV><EM><FONT size=3>jingping xie</FONT></EM></DIV>
<DIV><EM><FONT size=3></FONT></EM>&nbsp;</DIV>
<DIV><EM><FONT size=3></FONT></EM>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><EM><FONT size=3>&gt;Xie, I tried with current CVS and the exception is not 
thrown.<BR>&gt;What version are you using ?<BR>&gt;--strk;</FONT></EM></DIV>
<DIV><FONT size=3></FONT>&nbsp;</DIV>
<DIV><FONT size=3><EM>&gt;On Tue, Apr 26, 2005 at 04:20:25PM +0900, jingping.xie 
wrote:<BR>&gt;&gt; All<BR>&gt;&gt; <BR>&gt;&gt; When I make two polygon booled 
operation for example union operation, <BR>&gt;&gt; somtimes one exception 
happened.<BR>&gt;&gt; <BR>&gt;&gt; the two polygon is all valid, I think it 
shouldn't get a excetion if I union &gt;<BR>&gt;&gt; two polygon 
anyway.<BR>&gt;&gt; <BR>&gt;&gt; Why it happened and how to solve 
it?<BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; the following is test.xml 
written by me:<BR>&gt;&gt; <BR>&gt;&gt; &lt;run&gt;<BR>&gt;&gt;&nbsp;&nbsp; 
&lt;precisionModel type="FLOATING" /&gt;<BR>&gt;&gt; 
&lt;case&gt;<BR>&gt;&gt;&nbsp;&nbsp; &lt;desc&gt;A/A-3-2-1: two polygons 
touching at multiple points <BR>&gt;&gt; [dim(0){A.A.Bdy.CP = B.A.Bdy.CP}, 
dim(0){A.A.Bdy.V = B.A.Bdy.V}]&lt;/desc&gt;<BR>&gt;&gt;&nbsp;&nbsp; 
&lt;a&gt;POLYGON( (-40489.278096372727 4372.207298020518,-40296.371428571423 
<BR>&gt;&gt; 4384.328571428571,-40288.871021184132 
4292.242313959804,-40473.478571428568 <BR>&gt;&gt; 
4280.385714285714,-40489.278096372727 
4372.207298020518))&lt;/a&gt;<BR>&gt;&gt;&nbsp;&nbsp; &lt;b&gt;POLYGON( 
(-40539.639285714278 4369.042857142857,-40372.370476402626 <BR>&gt;&gt; 
4379.553177980468,-40369.146156502444 4148.052935215692,-40519.282142857141 
<BR>&gt;&gt; 4149.947619047619,-40539.639285714278 
4369.042857142857))&lt;/b&gt;<BR>&gt;&gt; &lt;test&gt;<BR>&gt;&gt;&nbsp;&nbsp; 
&lt;op name="union" arg1="A" arg2="B" 
arg3="FF2F01212"&gt;true&lt;/op&gt;<BR>&gt;&gt;&nbsp;&nbsp; 
&lt;/test&gt;<BR>&gt;&gt;&nbsp;&nbsp; &lt;/case&gt;<BR>&gt;&gt; 
&lt;/run&gt;<BR>&gt;&gt; <BR>&gt;&gt; this is the exception message:<BR>&gt;&gt; 
<BR>&gt;&gt; Exception: TopologyException: no outgoing dirEdge found 
<BR>&gt;&gt; (-40539.6,4369.04,1.7e-3<BR>&gt;&gt; 08)<BR>&gt;&gt; <BR>&gt;&gt; 
thanks<BR>&gt; jingping 
xie</EM><I></I><BR></FONT></DIV></FONT></DIV></BODY></HTML>