No, it shouldn't be hard to port the code. There's not actually too much code to add - 1 class and a few lines of code in another class.

I was planning to alert the GEOS folks to this development, but I wanted to wait until I'd fixed the linestring simplification logic, and some independent testing had been done on JTS. Both of these have now been accomplished, so I'll post a notice to the GEOS list.

Stephen Wong wrote:
Hello,

I'd love to test this if there was a GEOS implementation of it... Will it be difficult to port quickly?

Thanks,

Stephen

On Wed, Oct 8, 2008 at 5:22 PM, Martin Davis <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Larry, a question about your testing.  Were these geometries
    polygons or linestrings?  The reason I ask is that I have one
    optimization (simplification) which is working for polygons, but
    not yet for linestrings.  I'm curious to know whether the speed
    improvement was due to all the optimizations, or just one.

    Larry Becker wrote:

        Congratulations Martin!   Buffering 41 complex aircraft
        features took 83 seconds with your old algorithm, and only 2
        seconds using your new one.  I could find no anomalies.

        regards,
        Larry Becker

        On Wed, Oct 8, 2008 at 4:23 PM, Martin Davis
        <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>> wrote:

           JTS'ers,

           As you may have experienced, buffering in JTS currently has
        some
           performance challenges in situations involving large buffer
           distances.  I'm excited to say that I've implemented some code
           enhancements which *dramatically* improve buffer performance in
           these cases (as well as providing an overall improvement).

           I've tested this code as extensively as I can, and am pretty
           confident that it is robust and accurate.  But it's always
        good to
           have other people beat on it as well!

           So, is anyone out there ready, able and willing to test out the
           new buffering code?  Ideally this would be someone who has a
           application which uses buffering in a significant way, and
        which
           allows determining the performance and correctness
        characteristics
           effectively.  I'm looking for feedback to either confirm
        that this
           really is an improvement, or some test cases which reveal
        issues
           if there are any.

           If you're able to help out, you can either download and
        build the
           codebase from CVS, or I've built an alpha release of JTS 1.10
           which is available here:

           http://tsusiatsoftware.net/jts/files/jts-1.10-alpha.zip

           Thanks - Martin

           --    Martin Davis
           Senior Technical Architect
           Refractions Research, Inc.
           (250) 383-3022

           _______________________________________________
           jts-devel mailing list
           [email protected]
        <mailto:[email protected]>
           <mailto:[email protected]
        <mailto:[email protected]>>

           http://lists.refractions.net/mailman/listinfo/jts-devel




-- http://amusingprogrammer.blogspot.com/
        ------------------------------------------------------------------------



        _______________________________________________
        jts-devel mailing list
        [email protected]
        <mailto:[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]
    <mailto:[email protected]>
    http://lists.refractions.net/mailman/listinfo/jts-devel


------------------------------------------------------------------------

_______________________________________________
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

Reply via email to