tags 303737 pending
thanks
On Sun, 2005-04-10 at 20:39 +0200, Markus Schaber wrote:
> Hi, Steve,
>
> I have to admit that my submitted patch fails to compile, I accidentally
> attached the wrong file.
>
> The corrected version is here.
>
> Sorry for the confusion.
Markus,
Yes, I apprehended as much. But I was able to sort it out without much
trouble. Thanks for the update.
Regards,
Steve
> Markus
> plain text document attachment (geos2-patch)
>
> diff -ur geos-2.0.1/debian/changelog geos-2.0.1new/debian/changelog
> --- geos-2.0.1/debian/changelog 2005-04-08 15:15:41.062560352 +0200
> +++ geos-2.0.1new/debian/changelog 2005-04-08 15:55:49.729387336 +0200
> @@ -1,3 +1,9 @@
> +geos (2.0.1-2) unstable; urgency=low
> +
> + * Fix bug in isvalid(), backport from geos CVS (Closes: #303737).
> +
> + -- Steve Halasz <[EMAIL PROTECTED]> Fri, 08 Apr 2005 15:28:40 +0200
> +
> geos (2.0.1-1) unstable; urgency=low
>
> * Initial Release. (Closes: #277514).
> diff -ur geos-2.0.1/source/operation/valid/IsValidOp.cpp
> geos-2.0.1new/source/operation/valid/IsValidOp.cpp
> --- geos-2.0.1/source/operation/valid/IsValidOp.cpp 2004-09-13
> 14:50:11.000000000 +0200
> +++ geos-2.0.1new/source/operation/valid/IsValidOp.cpp 2005-04-08
> 15:25:54.375322640 +0200
> @@ -361,7 +361,11 @@
> for(int i=0;i<p->getNumInteriorRing();i++) {
> LinearRing *hole=(LinearRing*) p->getInteriorRingN(i);
> const Coordinate&
> holePt=findPtNotNode(hole->getCoordinatesRO(),shell,graph);
> - Assert::isTrue(!(holePt==Coordinate::getNull()), "Unable to
> find a hole point not a vertex of the shell");
> + // Fix 2005-04-07
> + // Assert::isTrue(!(holePt==Coordinate::getNull()), "Unable
> to find a hole point not a vertex of the shell");
> + if (holePt == Coordinate::getNull()) return;
> + // Fix end
> +
> bool outside=!pir->isInside(holePt);
> if (outside) {
> validErr=new TopologyValidationError(
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]