{ "info": { "author": "Brianna Brown Richardson", "author_email": "bbrownrichardson@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# ShpWay: A Shapefile Navigator\n\nShpWay is a simple Python library that converts shapefiles into a navigation system by the conversion of shapefiles to graph.\n\n\n## Getting Started\n\n### Requirements\n\n* Python 2.7+\n* Two shapefiles\n - a shapefile containing _**polyline**_ shapes to outline the pathways\n - a shapefile containing all potential visitation objects _**polygon shapes is currently only supported**_\n\n### Installation\n\nShpWay can be installed with pip:\n\n```\n$ pip install shp-way-bbrownrichardson\n```\n\nor directly from the source code:\n\n```\n$ git clone https://github.com/bbrownrichardson/ShpWay.git\n$ cd ShpWay\n$ python setup.py install\n```\n\n### Basic Usage\nThe usage of the library's interface is simple.\n\n```python\nfrom shp_way.shapefile_navigator import ShapefileNavigator\n\npathways = \"shapefiles/roads.shp\"\nvisitation = \"shapefiles/buildings.shp\"\n\nsn = ShapefileNavigator(pathways, visitation)\n```\n\nShpWay allows users to have control of efficiency in terms of determining spatial grid size. Users can provide a fixed value for the number of rows and columns used in the conversion process. See documentation for more information.\n\n```python\nfrom shp_way.shapefile_navigator import ShapefileNavigator\n\npathways = \"shapefiles/roads.shp\"\nvisitation = \"shapefiles/buildings.shp\"\n\nsn = ShapefileNavigator(pathways, visitation, rows=15, cols=30)\n```\n\nThe `sn` object can then be used as described in the `ShpWay-ShapefileNavigator` docs [link here]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bbrownrichardson/ShpWay", "keywords": "", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "shp-way", "package_url": "https://pypi.org/project/shp-way/", "platform": "", "project_url": "https://pypi.org/project/shp-way/", "project_urls": { "Homepage": "https://github.com/bbrownrichardson/ShpWay" }, "release_url": "https://pypi.org/project/shp-way/1.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.0" }, "last_serial": 5049871, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "3005b52b37186dc05a8c55a4212660d8", "sha256": "858b06036236b3924c85c3cc68b90a27173cdaeb2a13409bb60f0019b02272c3" }, "downloads": -1, "filename": "shp_way-1.0.tar.gz", "has_sig": false, "md5_digest": "3005b52b37186dc05a8c55a4212660d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8751, "upload_time": "2019-04-02T13:59:38", "url": "https://files.pythonhosted.org/packages/66/d8/a9eb884c12b71dbf45e65db53f10a17770b08472995642fe491ea64101ef/shp_way-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3005b52b37186dc05a8c55a4212660d8", "sha256": "858b06036236b3924c85c3cc68b90a27173cdaeb2a13409bb60f0019b02272c3" }, "downloads": -1, "filename": "shp_way-1.0.tar.gz", "has_sig": false, "md5_digest": "3005b52b37186dc05a8c55a4212660d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8751, "upload_time": "2019-04-02T13:59:38", "url": "https://files.pythonhosted.org/packages/66/d8/a9eb884c12b71dbf45e65db53f10a17770b08472995642fe491ea64101ef/shp_way-1.0.tar.gz" } ] }