superficies of cultived space

Discussions about CSEntry
LEPRINCE
Posts: 1
Joined: February 7th, 2018, 12:31 pm

superficies of cultived space

Postby LEPRINCE » February 7th, 2018, 1:01 pm

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

aaronw
Posts: 104
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: superficies of cultived space

Postby aaronw » February 8th, 2018, 11:46 am

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).

htuser
Posts: 334
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: superficies of cultived space

Postby htuser » February 8th, 2018, 1:19 pm

@ 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!

josh
Posts: 1692
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: superficies of cultived space

Postby josh » February 8th, 2018, 3:07 pm

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.


Return to “Entry”