{ "info": { "author": "Julian Porter", "author_email": "julian@jpembedded.solutions", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Education", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Scientific/Engineering :: GIS", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "Readme for OSGridConverter\n==========================\n\nDescription\n-----------\n\nThis package allowd the user to manipulate co-ordinates on the Earth's surface\nin the two major co-ordinate systems: **latitude / longitude** measured in degrees,\nand cartographic systems, measured in **eastings and northings**,\nbased on a local ellipsoidal approximation to the Earth's geoid.\n\nIn particular, it provides tools for processing coordinates_\n(of the form **AB 12345 12345**) based on the `National Grid`_, defined\nby the UK Ordnance Survey. For more information, see the Ordnance Survey's\nNational Grid `FAQ page`_.\n\n\nThe package provides basic functions to convert\n**latitude / longitude** to the **National Grid** and *vice versa*. However,\nunderneath this is a comprehensive system for mapping, and transforming between\ndifferent `co-ordinate systems`_, including those for the UK, the Republic of Ireland,\nFrance, North America, and Japan.\n\nSimple Conversion\n-----------------\n\nOSGridConverter. **latlong2grid** (*latitude*, *longitude*, *tag* = *'WGS84'*)\n\n Converts from latitude / longitude to an OS Grid Reference.\n\n :latitude:\n The latitude of the point, expressed in decimal degrees North\n\n :longitude:\n The longitude of the point, expressed in decimal degrees East\n\n :tag:\n The name of the datum used in the conversion; default is *WGS84*,\n referring to the standard datum used by Ordnance Survey\n\n Return value is an *OSGridReference* object. For the purpose of simple\n conversions, what matters is that, of *g* is such an object, then *g.E* and\n *g.N* are respectively its easting and northing, expressed in metres, and\n str(g) returns the formatted National Grid reference.\n\n Example:\n\n ::\n\n >>> from OSGridConverter import latlong2grid\n >>> g=latlong2grid(52.657977,1.716038)\n >>> (g.E,g.N)\n (651408, 313177)\n >>> str(g)\n 'TG 51408 13177'\n\nOSGridConverter. **grid2latlong** (*grid*, *tag* = *'WGS84'*)\n\n Converts from an OS Grid Reference to latitude / longitude.\n\n :grid:\n The point to be converted. Either an *OSGridReference* object, or a\n string formatted as an Ordnance Survey grid reference,\n e.g. *'TG 51408 13177'*\n\n :tag:\n The name of the mapping datum used in the conversion; default is *WGS84*,\n referring to the standard datum used by Ordnance Survey\n\n Return value is a *LatLong* object. For the purpose of simple\n conversions, what matters is that, of *l* is such an object, then *l.latitude*\n is its latitude expressed oin decimal degrees North, and *g.longitude* is\n its longitude expressed in decimal degrees East.\n\n Example:\n\n ::\n\n >>> from OSGridConverter import grid2latlong\n >>> l=grid2latlong('TG 51408 13177')\n >>> (l.latitude,l.longitude)\n (52.65798005789814, 1.7200761111093394)\n\n\nOSGridConverter. **Tags**\n\n A list of strings: names of the standing mapping Data that the package is aware\n of and can convert between. Its members are the valid values that\n can be used in the *tag* field of the conversion functions.\n\n ========== ================\n Tag Details\n ========== ================\n WSG84 UK\n OSGB36 Former UK standard (replaced by WGS84)\n ED50 UK; used for oil and gas exploration\n Irl1975 Republic of Ireland\n NTF France\n TokyoJapan Japan\n NAD83 North America; very similar to WGS84\n ========== ================\n\n For more information (and more examples of mapping Data) see the Wikipedia\n page on `Geodetic Datum`_.\n\n**Note**\n\nConversion from lat / long to grid andthen back to lat / long generally does not\nend up with the original values.This is due to a combination of internal rounding\nerrors, plus the fact thatthe National Grid resolves points to 10m x 10m squares.\nIn the examples above, the before and after latitudes differ by approx. 1.0e-5\nand the longitudes by approx. 3.0e-3; this is typical.\n\n\n.. _coordinates: https://www.ordnancesurvey.co.uk/docs/support/national-grid-map-references.pdf\n.. _`National Grid`: https://www.ordnancesurvey.co.uk/resources/maps-and-geographic-resources/the-national-grid.html\n.. _`co-ordinate systems`: https://www.ordnancesurvey.co.uk/docs/support/guide-coordinate-systems-great-britain.pdf\n.. _`FAQ page`: https://www.ordnancesurvey.co.uk/support/the-national-grid.html\n.. _`Geodetic Datum`: https://en.wikipedia.org/wiki/Geodetic_datum\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/....", "keywords": "gis mapping coordinates grid-reference mapping ordiance-survey lat-long", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "OSGridConverter", "package_url": "https://pypi.org/project/OSGridConverter/", "platform": "", "project_url": "https://pypi.org/project/OSGridConverter/", "project_urls": { "Homepage": "https://github.com/...." }, "release_url": "https://pypi.org/project/OSGridConverter/0.1.3/", "requires_dist": null, "requires_python": ">=3.4", "summary": "Library to convert co-ordinates between the (UK) Ordnance Survey National Grid and latitude/longitude", "version": "0.1.3" }, "last_serial": 3061839, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "20e8a57b874993f46142398b61b0328b", "sha256": "c94ff11f8f972babc23b4c73eb608c1e226b354726da90aee091693923b0724a" }, "downloads": -1, "filename": "OSGridConverter-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "20e8a57b874993f46142398b61b0328b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 15581, "upload_time": "2017-07-28T22:22:12", "url": "https://files.pythonhosted.org/packages/e4/00/c4fe717129b3b00b0ca908d437e7e26e531012ea39d7584a9036beb1856f/OSGridConverter-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e201c4084de8b3144ac3ce21fd8df897", "sha256": "a411889b126c0b371b89033a6fa49cc319805b886c7ceed4f8fa6392de457d05" }, "downloads": -1, "filename": "OSGridConverter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e201c4084de8b3144ac3ce21fd8df897", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 11088, "upload_time": "2017-07-28T22:22:18", "url": "https://files.pythonhosted.org/packages/e0/9d/e910846fafa8259cf77d5c6f3d452d07c6cbb21ecf9f901769d99caf8f7a/OSGridConverter-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "53d323d48efee6b2b793518d00f441aa", "sha256": "2ca92e2b0e488f76842885423d7b7d8264b786f1ac42d33bb34629dd6fbba3b7" }, "downloads": -1, "filename": "OSGridConverter-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "53d323d48efee6b2b793518d00f441aa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 19038, "upload_time": "2017-07-29T00:29:36", "url": "https://files.pythonhosted.org/packages/ca/66/ef9352bacb0a644144fa9b0548c543cddd11e3ccf2848e7ad83fb78c1b86/OSGridConverter-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b67842ee84fc90846d3c3d2c9aeebbf6", "sha256": "93aa96c9b576b40824aee451577dd2995287038ee97f5090cdd11507f6ad2cce" }, "downloads": -1, "filename": "OSGridConverter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b67842ee84fc90846d3c3d2c9aeebbf6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 14920, "upload_time": "2017-07-29T00:29:39", "url": "https://files.pythonhosted.org/packages/81/ac/658114468fddc25a84ee3b22426b0d6afdf06de89588892ebd9bee3e357c/OSGridConverter-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "68d4456c43cb388d22f81cb3e45ddc0b", "sha256": "82b19f249e1084dcd75b964966fa663bccae2aee5f11b9b1fbb987b0f90474ef" }, "downloads": -1, "filename": "OSGridConverter-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "68d4456c43cb388d22f81cb3e45ddc0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 18946, "upload_time": "2017-07-29T00:46:25", "url": "https://files.pythonhosted.org/packages/91/7d/8250990fec7f102e30cbc87a7a914d3f3b18ac1f517e53f2ac610da615ca/OSGridConverter-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e3a170b7bb2899c68281f8d28f7b498", "sha256": "dee989fd8af35741b17e67a2d5a4c9a9d0e54a3a6327a6172d885d0eea1840ba" }, "downloads": -1, "filename": "OSGridConverter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9e3a170b7bb2899c68281f8d28f7b498", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 14857, "upload_time": "2017-07-29T00:46:28", "url": "https://files.pythonhosted.org/packages/a0/50/1cac862ab8cd9aa2339fa9eb04ef673d84d6fe40c401459c51a3ebb25bf0/OSGridConverter-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a718d7b42df8cfa9b160913f98c057ba", "sha256": "bbdc9031e8b289766de9d54ff707e42a732592588567edb14ec1369833e9f940" }, "downloads": -1, "filename": "OSGridConverter-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a718d7b42df8cfa9b160913f98c057ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 19458, "upload_time": "2017-07-31T16:00:27", "url": "https://files.pythonhosted.org/packages/3b/aa/9c987e3af57d2221a67ebfe57c0fc090f177a5fe736593814f2ad0de5b40/OSGridConverter-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d5a4e2a807f417ff2913dea7b734aa4", "sha256": "a2eb1b2585c0ce696c78f2db981e797fbaf8bb9207d97ad4649865b58118aabd" }, "downloads": -1, "filename": "OSGridConverter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2d5a4e2a807f417ff2913dea7b734aa4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 15306, "upload_time": "2017-07-31T16:00:29", "url": "https://files.pythonhosted.org/packages/50/2b/1d814a7b1454f824be39fe7f47519dc89dc311e0425b6d0dc8be4d255912/OSGridConverter-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a718d7b42df8cfa9b160913f98c057ba", "sha256": "bbdc9031e8b289766de9d54ff707e42a732592588567edb14ec1369833e9f940" }, "downloads": -1, "filename": "OSGridConverter-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a718d7b42df8cfa9b160913f98c057ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 19458, "upload_time": "2017-07-31T16:00:27", "url": "https://files.pythonhosted.org/packages/3b/aa/9c987e3af57d2221a67ebfe57c0fc090f177a5fe736593814f2ad0de5b40/OSGridConverter-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d5a4e2a807f417ff2913dea7b734aa4", "sha256": "a2eb1b2585c0ce696c78f2db981e797fbaf8bb9207d97ad4649865b58118aabd" }, "downloads": -1, "filename": "OSGridConverter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2d5a4e2a807f417ff2913dea7b734aa4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 15306, "upload_time": "2017-07-31T16:00:29", "url": "https://files.pythonhosted.org/packages/50/2b/1d814a7b1454f824be39fe7f47519dc89dc311e0425b6d0dc8be4d255912/OSGridConverter-0.1.3.tar.gz" } ] }