Hi Martin, Normalizing works fine - every time it generates exactly same output (from the same input). Thanks, Janusz
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Martin Davis Sent: Friday, June 05, 2009 1:54 AM To: JTS Topology Suite Development Subject: Re: [jts-devel] Polygonizer not symetric? Well, this was never a design constraint on the Polygonizer, so this is neither a feature nor a bug. It is a bit surprising, however - I think all the code in the Polygonizer is deterministic, so the output should be identical for identical input. If you want a consistent ordering you can always normalize the output geometries and then sort them. If you provide a test program exhibiting the behaviour I can try and see what might be causing this behaviour. Janusz Dalecki wrote: > > Hi, > > I am surprised that the Polygonizer does not return Polygons in the > same order every time I make a call to getPolygons method, although I > am passing the same MultiLineString to the function add() - is this a > feature or bug. > > I am not sure whether this is correct forum for JTS questions. > > Regards, > > Janusz > ---------------------------------------------------------------------- > -- > > _______________________________________________ > jts-devel mailing list > [email protected] > http://lists.refractions.net/mailman/listinfo/jts-devel > -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 _______________________________________________ jts-devel mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jts-devel _______________________________________________ jts-devel mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jts-devel
