Hi,

I would say,
average orientation without weighting each single segment with segment length will return a poor result
and
average orientation weighting each single segment with segment length will give the same result as computing the orientation between start point and end points
or did I miss something ?

Michaël
That sounds like the best approach.


On Wed, Nov 6, 2013 at 2:17 AM, Brian Sanjeewa Rupasinghe <[email protected] <mailto:[email protected]>> wrote:

    Hi Dr Martin,

    I want to get the average orientation difference between two line
    strings. In order to do that, one way is to iterate through line
    segments and get average orientation of each line string. Any
    other shorter method available in JTS?

    Best, Brian.

    
------------------------------------------------------------------------------
    November Webinars for C, C++, Fortran Developers
    Accelerate application performance with scalable programming
    models. Explore
    techniques for threading, error checking, porting, and tuning. Get
    the most
    from the latest Intel processors and coprocessors. See abstracts
    and register
    http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
    _______________________________________________
    Jts-topo-suite-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user




------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk


_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to