{ "info": { "author": "Codepany", "author_email": "contact@codepany.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ], "description": "# AREA-CALCULATOR\n\nPackage to:\n* calculate area and circumference points of takes location.\n* calculate distance betweet points of takes location.\n* checking if the point is in a given area.\n\nhaving regard to the earth model (default WGS84)\n\n## Technologies\n\n* Python 2.7\n\n## Getting started\n\nTo add package to your project(in commandline):\n\n```\npip install areaCalculatorCdp\n```\n\n## Usage\n\nAdd to your project file:\n\n```\nfrom areaCalculatorCdp import Calculate\n```\n\n### Parameters format:\n\n#### area should be in the geojson format. For example:\n\n```\npointsOfArea = {\n \t \"geojson\":\"{\\\"type\\\": \\\"Polygon\\\", \\\"coordinates\\\": [[[19.936901, 50.062682], [19.935745, 50.061403], [19.937697, 50.060558], [19.938877, 50.062003]]]}\"\n }\n```\n\n#### Point should be in the tumple format. For example:\n\n```\nverifiedPoint = (19.937032, 50.061587)\n```\n\n### To calculate area:\n\n```\nCalculate.area(pointsOfArea)\n```\n\n### To calculate circumference:\n\n```\nCalculate.circumference(pointsOfArea)\n```\n\n### To calculate distance:\n\n```\nCalculate.distance(pointsOfArea)\n```\n\n### For checking if the point is in a given area:\n\n```\nCalculate.contains(pointsOfArea, verifiedPoint)\n```\n\n### Use custom earth model(other than WGS84):\nDefault earth model is WGS84. If you want change it you should add expected ellipsoid to method parameters. For example:\n\n```\nCalculate.distance(pointsOfArea, ellps='SGS85')\n```\n\nList of ellipsoids:\n- MERIT a=6378137.0 rf=298.257 MERIT 1983\n- SGS85 a=6378136.0 rf=298.257 Soviet Geodetic System 85\n- GRS80 a=6378137.0 rf=298.257222101 GRS 1980(IUGG, 1980)\n- IAU76 a=6378140.0 rf=298.257 IAU 1976\n- airy a=6377563.396 b=6356256.910 Airy 1830\n- APL4.9 a=6378137.0. rf=298.25 Appl. Physics. 1965\n- airy a=6377563.396 b=6356256.910 Airy 1830\n- APL4.9 a=6378137.0. rf=298.25 Appl. Physics. 1965\n- NWL9D a=6378145.0. rf=298.25 Naval Weapons Lab., 1965\n- mod_airy a=6377340.189 b=6356034.446 Modified Airy\n- andrae a=6377104.43 rf=300.0 Andrae 1876 (Den., Iclnd.)\n- aust_SA a=6378160.0 rf=298.25 Australian Natl & S. Amer. 1969\n- GRS67 a=6378160.0 rf=298.247167427 GRS 67(IUGG 1967)\n- bessel a=6377397.155 rf=299.1528128 Bessel 1841\n- bess_nam a=6377483.865 rf=299.1528128 Bessel 1841 (Namibia)\n- clrk66 a=6378206.4 b=6356583.8 Clarke 1866\n- clrk80 a=6378249.145 rf=293.4663 Clarke 1880 mod.\n- CPM a=6375738.7 rf=334.29 Comm. des Poids et Mesures 1799\n- delmbr a=6376428. rf=311.5 Delambre 1810 (Belgium)\n- engelis a=6378136.05 rf=298.2566 Engelis 1985\n- evrst30 a=6377276.345 rf=300.8017 Everest 1830\n- evrst48 a=6377304.063 rf=300.8017 Everest 1948\n- evrst56 a=6377301.243 rf=300.8017 Everest 1956\n- evrst69 a=6377295.664 rf=300.8017 Everest 1969\n- evrstSS a=6377298.556 rf=300.8017 Everest (Sabah & Sarawak)\n- fschr60 a=6378166. rf=298.3 Fischer (Mercury Datum) 1960\n- fschr60m a=6378155. rf=298.3 Modified Fischer 1960\n- fschr68 a=6378150. rf=298.3 Fischer 1968\n- helmert a=6378200. rf=298.3 Helmert 1906\n- hough a=6378270.0 rf=297. Hough\n- helmert a=6378200. rf=298.3 Helmert 1906\n- hough a=6378270.0 rf=297. Hough\n- intl a=6378388.0 rf=297. International 1909 (Hayford)\n- krass a=6378245.0 rf=298.3 Krassovsky, 1942\n- kaula a=6378163. rf=298.24 Kaula 1961\n- lerch a=6378139. rf=298.257 Lerch 1979\n- mprts a=6397300. rf=191. Maupertius 1738\n- new_intl a=6378157.5 b=6356772.2 New International 1967\n- plessis a=6376523. b=6355863. Plessis 1817 (France)\n- SEasia a=6378155.0 b=6356773.3205 Southeast Asia\n- walbeck a=6376896.0 b=6355834.8467 Walbeck\n- WGS60 a=6378165.0 rf=298.3 WGS 60\n- WGS66 a=6378145.0 rf=298.25 WGS 66\n- WGS72 a=6378135.0 rf=298.26 WGS 72\n- WGS84 a=6378137.0 rf=298.257223563 WGS 84\n- sphere a=6370997.0 b=6370997.0 Normal Sphere (r=6370997)\n\n### Version 0.0.1\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/codepany/area-calculator", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "areaCalculatorCdp", "package_url": "https://pypi.org/project/areaCalculatorCdp/", "platform": "", "project_url": "https://pypi.org/project/areaCalculatorCdp/", "project_urls": { "Homepage": "https://github.com/codepany/area-calculator" }, "release_url": "https://pypi.org/project/areaCalculatorCdp/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Package 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. Package having regard to the earth model (default WGS84)", "version": "0.0.3" }, "last_serial": 4222549, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "86bd97000375c42249881a260a1d71bb", "sha256": "18ed91a7f7f889065bb6ffd3dd3ddfd4a0cf4eaa50e1f6842aa2d836ebb15373" }, "downloads": -1, "filename": "areaCalculatorCdp-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "86bd97000375c42249881a260a1d71bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2856, "upload_time": "2018-08-30T13:11:52", "url": "https://files.pythonhosted.org/packages/f8/33/f2490eefdafc8ee85326ea7821fb8f73c46c3ff278010a1b18f2f55f0db5/areaCalculatorCdp-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd0f3eab058cee3aeb60ecbbbb861f61", "sha256": "397a281c1b4ee47b0a44f441d8ea6611f41e74b6bc7dafc62fb57ed4429ed4ef" }, "downloads": -1, "filename": "areaCalculatorCdp-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dd0f3eab058cee3aeb60ecbbbb861f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2953, "upload_time": "2018-08-30T13:11:54", "url": "https://files.pythonhosted.org/packages/ec/23/61179e005995e1e15fb2f5dfccd74f74d5a6e133021cbc389771e13c9dfc/areaCalculatorCdp-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86bd97000375c42249881a260a1d71bb", "sha256": "18ed91a7f7f889065bb6ffd3dd3ddfd4a0cf4eaa50e1f6842aa2d836ebb15373" }, "downloads": -1, "filename": "areaCalculatorCdp-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "86bd97000375c42249881a260a1d71bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2856, "upload_time": "2018-08-30T13:11:52", "url": "https://files.pythonhosted.org/packages/f8/33/f2490eefdafc8ee85326ea7821fb8f73c46c3ff278010a1b18f2f55f0db5/areaCalculatorCdp-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd0f3eab058cee3aeb60ecbbbb861f61", "sha256": "397a281c1b4ee47b0a44f441d8ea6611f41e74b6bc7dafc62fb57ed4429ed4ef" }, "downloads": -1, "filename": "areaCalculatorCdp-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dd0f3eab058cee3aeb60ecbbbb861f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2953, "upload_time": "2018-08-30T13:11:54", "url": "https://files.pythonhosted.org/packages/ec/23/61179e005995e1e15fb2f5dfccd74f74d5a6e133021cbc389771e13c9dfc/areaCalculatorCdp-0.0.3.tar.gz" } ] }