[ggl2-users] Re: filter + select:: Bug or feature? - [ reputation: 4.4 ] - [ reputation: 4.7 ] - [ reputation: 4.7 ]

  • From: Guillaume Chauvat <guillaume.chauvat@xxxxxxxxxxxxxx>
  • To: ggl2-users@xxxxxxxxxxxxx
  • Date: Mon, 25 Jun 2012 20:46:12 +0200

Hi again,

I just succeeded in correcting that problem.
As I was expecting it, there was an error with my script. The extrusion
function was only taking into an account polygons whereas the ninth polygon
in the database was in fact componed of two polygons.
I revised the function so that it works.
I'm sorry for disturbing you with that.

Thank you for your interest.
Regards.

Guillaume





2012/6/25 Fernando González <fergonco@xxxxxxxxx>

> Hi Guillaume,
>
> That's suspicious. Is it possible to have some test data to reproduce
> the problem? The simpler the test data is, the better.
>
> On Mon, Jun 25, 2012 at 9:29 AM, Guillaume Chauvat
> <guillaume.chauvat@xxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > As I request the following lines:
> >
> > export =[as geometry];
> > foreach building in result {
> >     add buildingWithFlatRoofExtrusion(building/truc, building/Hauteur) to
> >     export;
> >     show 'iter ok';
> > }
> > show 'ok';
> >
> > I get the following result:
> >
> > iter ok
> > iter ok
> > ... (iter ok is repeated 8 times whereas I'm expecting 31 iterations)
> > (no end 'ok')
> >
> > It seems that the function is able to do the process eight times but then
> > stops it.
> > Maybe it's because of the eigth geometry ?
> >
> > Thank you,
> > Regard
> >
> > Guillaume
> >
> >
> >
> > 2012/6/22 Fernando González <fergonco@xxxxxxxxx>
> >>
> >> I've created a new ticket with your problem:
> >> http://xp-dev.com/trac/ggl2/ticket/121
> >>
> >> > Can you confirm that you're getting the expected result, even if you
> >> > get the error at the end?
> >>
> >> An easy way to check this is to add a
> >>
> >> show 'ok';
> >>
> >> at the end of your script. Temporal file cleaning happens after the
> >> last script line so, if 'ok' appears in the console, it means that the
> >> script run well and it is the cleaning that fails.
> >>
> >>
> >
>
>
>

Other related posts: