On Mon, 4 Mar 2019 at 10:11, Yaniv Ben-Yosef <ya...@m-innovincy.com> wrote:

> Hi Florian,
>
> This seems to be a good resource for this:
>
>
> https://blog.ianturton.com/geotools,/projections/2017/08/01/area-of-a-polygon.html
>

Actually that's more about how to use the area function.

For the actual algorithm used the best place to look is the code (
https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/algorithm/Area.java)
which suggests that it is based on the Shoelace formula (
http://en.wikipedia.org/wiki/Shoelace_formula).

Ian

>
> Hope this helps,
> Yaniv
>
> On Mon, Mar 4, 2019 at 11:00 AM Florian Micklich <florian.mickl...@web.de>
> wrote:
>
>> Hi everyone,
>>
>> it is more a  jts question, but does anyone know what kind of
>> algorithmus and method is used for calculating the area with getArea()?
>> So far I couldn't find any documentation about this.
>>
>> Is there a different beweteen jts geometries and opengis?
>>
>>
>> Thanks
>>
>>
>>
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
>
> --
> Best regards,
>
> *Yaniv Ben-Yosef*
> *CTO, Milan InnoVincY B.V.*
>
> *M* +972(54)670 9743 | *S* yaniv.benyosef | *E* ybyo...@m-innovincy.com
> <ybyo...@m-innovincy.com>
> *The Netherlands* | Kapteynstraat 1 | 2201BB NOORDWIJK
> *Rwanda* | *AgriLift Ltd* | KG 536 Axiom Building, behind Telecom House |
> KIGALI
>
>
> *Confidential - Do not duplicate or distribute without written permission
> from Milan Innovincy B.V© Milan Innovincy B.V, 2017. Any third party right
> are hereby acknowledged. All rights reserved. Please consider the
> environment – do you really need to print this email?*
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>


-- 
Ian Turton
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to