Page 1 of 1

superficies of cultived space

Posted: February 7th, 2018, 1:01 pm
by LEPRINCE
Hi everybody,
I have a project to collect agricultural data.
I do not know how to calculate the superficies of a space with CSPRO from GPS coordinates.
Thanks for your help

Re: superficies of cultived space

Posted: February 8th, 2018, 11:46 am
by aaronw
CSPro does not have a function that will do this calculation for you. Unfortunately, calculating the area of an irregular polygon is non-trivial. I recommend looking at a well-tested library like GEOS (C/C++) or Shapely (Python).

Re: superficies of cultived space

Posted: February 8th, 2018, 1:19 pm
by htuser
@ Aaron. Thank you for your support. Do you think it's feasible to Cspro to support python, R in the future?
So this will boost Cspro power by adding an object programming layer and open it to multiples existing libraries, functions.
Thanks in advance!

Re: superficies of cultived space

Posted: February 8th, 2018, 3:07 pm
by josh
If you are on Android another option is to launch an app to collect the boundary points and calculate the area. There are a number of free apps on the play store that can do that: https://play.google.com/store/search?q= ... calculator

You could launch one of these apps using execsystem.