Package: areaCalculatorCdp
AREA-CALCULATORPackage to:calculate area and circumference points of takes location.calculate distance betweet points of takes location.checking if the point is in a given area.having regard to the earth model (default WGS84)TechnologiesPython 2.7Getting startedTo add package to your project(in commandline):pip install areaCalculatorCdpUsageAdd to your project file:from areaCalculatorCdp import CalculateParameters format:area should be in the geojson format. For example:pointsOfArea = {
    	   "geojson":"{\"type\": \"Polygon\", \"coordinates\": [[[19.936901, 50.062682], [19.935745, 50.061403], [19.937697, 50.060558], [19.938877, 50.062003]]]}"
         }Point should be in the tumple format. For example:verifiedPoint = (19.937032, 50.061587)To calculate area:Calculate.area(pointsOfArea)To calculate circumference:Calculate.circumference(pointsOfArea)To calculate distance:Calculate.distance(pointsOfArea)For checking if the point is in a given area:Calculate.contains(pointsOfArea, verifiedPoint)Use custom earth model(other than WGS84):Default earth model is WGS84. If you want change it you should add expected ellipsoid to method parameters. For example:Calculate.distance(pointsOfArea, ellps='SGS85')List of ellipsoids:MERIT a=6378137.0      rf=298.257       MERIT 1983SGS85 a=6378136.0      rf=298.257       Soviet Geodetic System 85GRS80 a=6378137.0      rf=298.257222101 GRS 1980(IUGG, 1980)IAU76 a=6378140.0      rf=298.257       IAU 1976airy a=6377563.396     b=6356256.910    Airy 1830APL4.9 a=6378137.0.    rf=298.25        Appl. Physics. 1965airy a=6377563.396     b=6356256.910    Airy 1830APL4.9 a=6378137.0.    rf=298.25        Appl. Physics. 1965NWL9D a=6378145.0.     rf=298.25        Naval Weapons Lab., 1965mod_airy a=6377340.189 b=6356034.446    Modified Airyandrae a=6377104.43    rf=300.0         Andrae 1876 (Den., Iclnd.)aust_SA a=6378160.0    rf=298.25        Australian Natl & S. Amer. 1969GRS67 a=6378160.0      rf=298.247167427 GRS 67(IUGG 1967)bessel a=6377397.155   rf=299.1528128   Bessel 1841bess_nam a=6377483.865 rf=299.1528128   Bessel 1841 (Namibia)clrk66 a=6378206.4     b=6356583.8      Clarke 1866clrk80 a=6378249.145   rf=293.4663      Clarke 1880 mod.CPM a=6375738.7        rf=334.29        Comm. des Poids et Mesures 1799delmbr a=6376428.      rf=311.5         Delambre 1810 (Belgium)engelis a=6378136.05   rf=298.2566      Engelis 1985evrst30 a=6377276.345  rf=300.8017      Everest 1830evrst48 a=6377304.063  rf=300.8017      Everest 1948evrst56 a=6377301.243  rf=300.8017      Everest 1956evrst69 a=6377295.664  rf=300.8017      Everest 1969evrstSS a=6377298.556  rf=300.8017      Everest (Sabah & Sarawak)fschr60 a=6378166.     rf=298.3         Fischer (Mercury Datum) 1960fschr60m a=6378155.    rf=298.3         Modified Fischer 1960fschr68 a=6378150.     rf=298.3         Fischer 1968helmert a=6378200.     rf=298.3         Helmert 1906hough a=6378270.0      rf=297.          Houghhelmert a=6378200.     rf=298.3         Helmert 1906hough a=6378270.0      rf=297.          Houghintl a=6378388.0       rf=297.          International 1909 (Hayford)krass a=6378245.0      rf=298.3         Krassovsky, 1942kaula a=6378163.       rf=298.24        Kaula 1961lerch a=6378139.       rf=298.257       Lerch 1979mprts a=6397300.       rf=191.          Maupertius 1738new_intl a=6378157.5   b=6356772.2      New International 1967plessis a=6376523.     b=6355863.       Plessis 1817 (France)SEasia a=6378155.0     b=6356773.3205   Southeast Asiawalbeck a=6376896.0    b=6355834.8467   WalbeckWGS60 a=6378165.0      rf=298.3         WGS 60WGS66 a=6378145.0      rf=298.25        WGS 66WGS72 a=6378135.0      rf=298.26        WGS 72WGS84 a=6378137.0      rf=298.257223563 WGS 84sphere a=6370997.0     b=6370997.0      Normal Sphere (r=6370997)Version 0.0.1