<!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"><EM>I tried with current CVS and the exception is
thrown also in the environment of
VisualStudio.<BR></EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic"><A
href="http://geos.refractions.net/geos-cvs.tar.bz2">geos-cvs.tar.bz2</A></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2></FONT> </DIV>
<DIV><EM><FONT face="MS UI Gothic">jingping xie</FONT></EM></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt MS UI Gothic">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt MS UI Gothic; font-color: black"><B>From:</B>
<A title=jingping.xie@jicoux.com
href="mailto:jingping.xie@jicoux.com">jingping.xie</A> </DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>To:</B> <A
title=geos-devel@geos.refractions.net
href="mailto:geos-devel@geos.refractions.net">geos-devel@geos.refractions.net</A>
</DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>Sent:</B> Wednesday, April 27, 2005
11:25 AM</DIV>
<DIV style="FONT: 10pt MS UI Gothic"><B>Subject:</B> Re: why this exception
happened</DIV>
<DIV><BR></DIV>
<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> </DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>I compiled the veriosn of
"[2004/12/16] geos-2.1.1.tar.bz2" with VisualStudio.</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT> </DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM>and it got complie error, so I
made the following change.</EM></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT> </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> </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> , then add them
to the folder of "\source\test"</FONT></FONT></EM></DIV>
<DIV><FONT face="MS UI Gothic" size=3><EM></EM></FONT> </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 "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> </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> </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> </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> </DIV>
<DIV><EM><FONT size=3></FONT></EM> </DIV>
<DIV> </DIV>
<DIV><EM><FONT size=3>>Xie, I tried with current CVS and the exception is
not thrown.<BR>>What version are you using
?<BR>>--strk;</FONT></EM></DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT size=3><EM>>On Tue, Apr 26, 2005 at 04:20:25PM +0900,
jingping.xie wrote:<BR>>> All<BR>>> <BR>>> When I make two
polygon booled operation for example union operation, <BR>>> somtimes
one exception happened.<BR>>> <BR>>> the two polygon is all valid,
I think it shouldn't get a excetion if I union ><BR>>> two polygon
anyway.<BR>>> <BR>>> Why it happened and how to solve
it?<BR>>> <BR>>> <BR>>> <BR>>> the following is
test.xml written by me:<BR>>> <BR>>>
<run><BR>>> <precisionModel type="FLOATING"
/><BR>>> <case><BR>>> <desc>A/A-3-2-1:
two polygons touching at multiple points <BR>>> [dim(0){A.A.Bdy.CP =
B.A.Bdy.CP}, dim(0){A.A.Bdy.V =
B.A.Bdy.V}]</desc><BR>>> <a>POLYGON(
(-40489.278096372727 4372.207298020518,-40296.371428571423 <BR>>>
4384.328571428571,-40288.871021184132 4292.242313959804,-40473.478571428568
<BR>>> 4280.385714285714,-40489.278096372727
4372.207298020518))</a><BR>>> <b>POLYGON(
(-40539.639285714278 4369.042857142857,-40372.370476402626 <BR>>>
4379.553177980468,-40369.146156502444 4148.052935215692,-40519.282142857141
<BR>>> 4149.947619047619,-40539.639285714278
4369.042857142857))</b><BR>>> <test><BR>>>
<op name="union" arg1="A" arg2="B"
arg3="FF2F01212">true</op><BR>>>
</test><BR>>> </case><BR>>>
</run><BR>>> <BR>>> this is the exception
message:<BR>>> <BR>>> Exception: TopologyException: no outgoing
dirEdge found <BR>>> (-40539.6,4369.04,1.7e-3<BR>>>
08)<BR>>> <BR>>> thanks<BR>> jingping
xie</EM><I></I><BR></FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>