Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Michaël Michaud
Hi, I do not know this plugin very well. Seems to allow 4 kind of spatial joins : For one of the following condition : if a feature of layer A equals (resp. within or equalsAndWithin or equalsOrWithin) a feature of layer B creates a new Feature with the geometry of layer A feature and with the

Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Larry Becker
I'd like to know the answer to this one too. Larry On 1/18/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: Michael, Looks like Stefan is hot on the trail of my bug! Would you be able to breifly decribe the purpose of this command and how it works? Thanks, The Sunburned Surveyor On 1/18

Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Sunburned Surveyor
Michael, Looks like Stefan is hot on the trail of my bug! Would you be able to breifly decribe the purpose of this command and how it works? Thanks, The Sunburned Surveyor On 1/18/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote: Hei Michael, thanx! i fixed it. But i wonder why the followin

Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Michaël Michaud
Hello, I think you caught another bug with else if (nbFeatureWithin == 1) appearing two times but else if (nbFeatureEqualAndWithin == 1) is different from else if (nbFeatureEqualOrWithin == 1) I'm close to get a write access to CVS Hope next time, i'll fix it myself Michaël Stefan

Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Stefan Steiniger
Hei Michael, thanx! i fixed it. But i wonder why the following lines appear two times else if (nbFeatureWithin == 1){ mapping.transferAttributes(fEqual, aFeature, feature); feature.setGeometry((Geometry) aFeature.getGeometry().clone()); fcRecup.add(feature)

Re: [JPP-Devel] Help with Bug 1546889

2007-01-18 Thread Michaël Michaud
Hi Sunburned : There is probably a "copy/paste" bug line 173 of SpatialJoinPlugIn class : else if (methodName.equals(METHOD_WITHIN)) { if (aFeature.getGeometry().within(bFeature.getGeometry())) { nbFeatureWithin++; nbFeature++; fEqual = bFeature; } It should be fWithin instead of