{ "info": { "author": "Brendan C. Ward", "author_email": "bcward@astutespruce.com", "bugtrack_url": null, "classifiers": [], "description": "# geofeather\n\nA faster file-based format for geometries with `geopandas`.\n\nThis project capitalizes on the very fast [`feather`](https://github.com/wesm/feather) file format to store geometry (points, lines, polygons) data for interoperability with `geopandas`.\n\n## Why does this exist?\n\nThis project exists because reading and writing standard spatial formats (e.g., shapefile) in `geopandas` is slow. I was working with millions of geometries in multiple processing steps, and needed a fast way to read and write intermediate files.\n\nIn our benchmarks, we see about 5-6x faster file writes than writing from geopandas to shapefile via `.to_file()` on a `GeoDataFrame`.\n\nWe see about 2x faster reads compared to geopandas `read_file()` function.\n\n## How does it work?\n\nThe `feather` format works brilliantly for standard `pandas` data frames. In order to leverage the `feather` format, we simply convert the geometry data from `shapely` objects into Well Known Binary ([WKB](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry)) format, and then store that column as raw bytes.\n\nWe store the coordinate reference system using JSON format in a sidecar file `.crs`.\n\n## Installation\n\n`pip install geofeather`\n\n## Usage\n\n### Write\n\nGiven an existing `GeoDataFrame` `my_gdf`, pass this into `to_geofeather`:\n\n```\nto_geofeather(my_gdf, 'test.feather')\n```\n\n### Read\n\n```\nmy_gdf = from_feather('test.feather')\n\n```\n\n## Indexes\n\nRight now, indexes are not supported in `feather` files. In order to get around this, simply reset your index before calling `to_geofeather`.\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/brendan-ward/geofeather", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "geofeather", "package_url": "https://pypi.org/project/geofeather/", "platform": "", "project_url": "https://pypi.org/project/geofeather/", "project_urls": { "Homepage": "https://github.com/brendan-ward/geofeather" }, "release_url": "https://pypi.org/project/geofeather/0.1.0/", "requires_dist": [ "feather-format", "fiona", "geopandas", "numpy", "shapely" ], "requires_python": "", "summary": "Fast file-based format for geometries with Geopandas", "version": "0.1.0" }, "last_serial": 5924960, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "70832e39c255aa2c9c0cc50fd95b0ae1", "sha256": "345a62ce5524cc6775046eb563ebb8455d55f19a838dc07ab40ed51bd93e6bb8" }, "downloads": -1, "filename": "geofeather-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70832e39c255aa2c9c0cc50fd95b0ae1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4841, "upload_time": "2019-10-03T19:29:16", "url": "https://files.pythonhosted.org/packages/e2/2b/c6d58995d6bb12e0c22d3d3f03a57d5d4c7dcfe162c5586f4174a5395896/geofeather-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3e484098e9ebbf8ebbe5fb0272d0b0f", "sha256": "14c1e1bed9c4525263bbaec54c1c0954bc988ef0bd4922c3c261cbfdc0abe902" }, "downloads": -1, "filename": "geofeather-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e3e484098e9ebbf8ebbe5fb0272d0b0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3368, "upload_time": "2019-10-03T19:29:19", "url": "https://files.pythonhosted.org/packages/69/df/f646da3e97ccd122bed9a65710d32b490a968d9cadb2d05a47e3688aacb5/geofeather-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70832e39c255aa2c9c0cc50fd95b0ae1", "sha256": "345a62ce5524cc6775046eb563ebb8455d55f19a838dc07ab40ed51bd93e6bb8" }, "downloads": -1, "filename": "geofeather-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70832e39c255aa2c9c0cc50fd95b0ae1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4841, "upload_time": "2019-10-03T19:29:16", "url": "https://files.pythonhosted.org/packages/e2/2b/c6d58995d6bb12e0c22d3d3f03a57d5d4c7dcfe162c5586f4174a5395896/geofeather-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3e484098e9ebbf8ebbe5fb0272d0b0f", "sha256": "14c1e1bed9c4525263bbaec54c1c0954bc988ef0bd4922c3c261cbfdc0abe902" }, "downloads": -1, "filename": "geofeather-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e3e484098e9ebbf8ebbe5fb0272d0b0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3368, "upload_time": "2019-10-03T19:29:19", "url": "https://files.pythonhosted.org/packages/69/df/f646da3e97ccd122bed9a65710d32b490a968d9cadb2d05a47e3688aacb5/geofeather-0.1.0.tar.gz" } ] }