{ "info": { "author": "Tehamalab", "author_email": "developers@tehamalab.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "==========\ngdal2tiles\n==========\n\n\n.. image:: https://img.shields.io/pypi/v/gdal2tiles.svg\n :target: https://pypi.python.org/pypi/gdal2tiles\n\n.. image:: https://img.shields.io/travis/tehamalab/gdal2tiles.svg\n :target: https://travis-ci.org/tehamalab/gdal2tiles\n\n.. image:: https://readthedocs.org/projects/gdal2tiles/badge/?version=latest\n :target: https://gdal2tiles.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nA python library for generating map tiles inspired by gdal2tiles.py_ from GDAL_ project.\n\n\nDependancies\n------------\n\n- GDAL_ development header files, sometimes available as `libgdal-dev` or `libgdal-devel` packages.\n\n\nInstallation\n------------\n\nTo install gdal2tiles library you can use pip:\n\n.. code-block:: console\n\n $ pip install gdal2tiles\n\n\nBasic usage\n-----------\n\n.. code-block:: python\n\n import gdal2tiles\n\n gdal2tiles.generate_tiles('/path/to/input_file', '/path/to/output_dir/')\n\n\nYou can also pass various keyword as optional keyword arguments to `generate_tiles()` function.\nFor example\n\n.. code-block:: python\n\n gdal2tiles.generate_tiles('input_file', 'output_dir/', np_processes=2, zoom='7-9')\n\nOR\n\n.. code-block:: python\n\n options = {'zoom': (7, 9), 'resume': True}\n gdal2tiles.generate_tiles('input_file', 'output_dir/', **options)\n\n\nIn general\n\n.. code-block:: python\n\n gdal2tiles.generate_tiles(input_file, output_folder, **options)\n\n\nArguments:\n\n ``input_file`` (str): Path to input file.\n\n ``output_folder`` (str): Path to output folder.\n\n ``options``: Tile generation options.\n\noptions:\n ``profile`` (str): Tile cutting profile (mercator,geodetic,raster) - default\n 'mercator' (Google Maps compatible)\n\n ``resampling`` (str): Resampling method (average,near,bilinear,cubic,cubicsp\n line,lanczos,antialias) - default 'average'\n\n ``s_srs``: The spatial reference system used for the source input data\n\n ``zoom``: Zoom levels to render; format: `[int min, int max]`,\n `'min-max'` or `int/str zoomlevel`.\n\n ``resume`` (bool): Resume mode. Generate only missing files.\n\n ``srcnodata``: NODATA transparency value to assign to the input data\n\n ``tmscompatible`` (bool): When using the geodetic profile, specifies the base\n resolution as 0.703125 or 2 tiles at zoom level 0.\n\n ``verbose`` (bool): Print status messages to stdout\n\n ``kml`` (bool): Generate KML for Google Earth - default for 'geodetic'\n profile and 'raster' in EPSG:4326. For a dataset with\n different projection use with caution!\n\n ``url`` (str): URL address where the generated tiles are going to be published\n\n ``webviewer`` (str): Web viewer to generate (all,google,openlayers,none) -\n default 'all'\n\n ``title`` (str): Title of the map\n\n ``copyright`` (str): Copyright for the map\n\n ``googlekey`` (str): Google Maps API key from\n http://code.google.com/apis/maps/signup.html\n\n ``bingkey`` (str): Bing Maps API key from https://www.bingmapsportal.com/\n\n ``nb_processes``: Number of processes to use for tiling.\n\n\n.. _gdal2tiles.py: http://www.gdal.org/gdal2tiles.html\n.. _GDAL: http://www.gdal.org/\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-05-06)\n------------------\n\n* First release on PyPI.\n\n\n0.1.1 (2018-05-10)\n------------------\n\n* Clean the source code.\n* Setup documentation\n* Setup testing environment\n\n0.1.2 (2018-05-16)\n------------------\n\n* Bug fix in ``generate_tiles()``.\n\n\n0.1.3 (2018-07-31)\n------------------\n\n* Use billard for multiprocessing if available.\n\n\n0.1.4 (2018-08-14)\n------------------\n\n* Accept list or tuple in specifying tile generation zoom level.\n\n\n0.1.5 (2018-08-14)\n------------------\n\n* Bug fix.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tehamalab/gdal2tiles", "keywords": "gdal2tiles", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "gdal2tiles", "package_url": "https://pypi.org/project/gdal2tiles/", "platform": "", "project_url": "https://pypi.org/project/gdal2tiles/", "project_urls": { "Homepage": "https://github.com/tehamalab/gdal2tiles" }, "release_url": "https://pypi.org/project/gdal2tiles/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "A python library for generating map tiles based on gdal2tiles.py script.", "version": "0.1.5" }, "last_serial": 4170890, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "d0033fb5f80d50c6ae4d7265caecf42d", "sha256": "7a0dbbbe4c7af60debce2252417381fa9125fc3641f522d6fecbbcfac5b20601" }, "downloads": -1, "filename": "gdal2tiles-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d0033fb5f80d50c6ae4d7265caecf42d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42399, "upload_time": "2018-05-10T10:01:29", "url": "https://files.pythonhosted.org/packages/2f/cd/f6c90a719045d2572f8cf3f8ad4cf711c6f3af16c3193944278bbbde1895/gdal2tiles-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "078c91aad781ea96566767de3acb34c6", "sha256": "7446a611e0944836d46172df1c8ada68dbb431d50e1be879eedb04b4f1df0fd4" }, "downloads": -1, "filename": "gdal2tiles-0.1.2.tar.gz", "has_sig": false, "md5_digest": "078c91aad781ea96566767de3acb34c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42527, "upload_time": "2018-05-16T08:29:33", "url": "https://files.pythonhosted.org/packages/84/2c/47a8373e66280670308c2f6b8c959cf0d1b0778a5fd8247bfd6154759cf2/gdal2tiles-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "0bc426a3a693b6638f65cf10a76c4f8f", "sha256": "9f1922a97294da704d0ae4bc95273c7ad2fc5ba59ec1d8cefb9aca93666212c2" }, "downloads": -1, "filename": "gdal2tiles-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0bc426a3a693b6638f65cf10a76c4f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43058, "upload_time": "2018-07-31T16:14:23", "url": "https://files.pythonhosted.org/packages/26/cd/9607e0fba37b26b1c936e8c47df31c57a9cea35f37d5ae706c940dc9e8a2/gdal2tiles-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ca1478b5442a6ce5bad371f6035ef120", "sha256": "cc3a97a4e2e8fa32cd1383096eea02ccf2679c044aec782ebf8dd9b041a0c764" }, "downloads": -1, "filename": "gdal2tiles-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ca1478b5442a6ce5bad371f6035ef120", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43289, "upload_time": "2018-08-14T19:55:00", "url": "https://files.pythonhosted.org/packages/5e/a1/8419626fa91e415efa2c52687e90f7f896b7866aadfbfd8d9136442bd9e8/gdal2tiles-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "ad071f13d31178e8c9572ae320950342", "sha256": "e8857d6b0aef5746436d8fc3739ef98db24ada3054e2ed9490952ee60425a995" }, "downloads": -1, "filename": "gdal2tiles-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ad071f13d31178e8c9572ae320950342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43320, "upload_time": "2018-08-14T20:34:41", "url": "https://files.pythonhosted.org/packages/1e/5d/d75fd3c1a6e748c93af9cc5bab21c26d783cadc8073a4621bde10fe49b45/gdal2tiles-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad071f13d31178e8c9572ae320950342", "sha256": "e8857d6b0aef5746436d8fc3739ef98db24ada3054e2ed9490952ee60425a995" }, "downloads": -1, "filename": "gdal2tiles-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ad071f13d31178e8c9572ae320950342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43320, "upload_time": "2018-08-14T20:34:41", "url": "https://files.pythonhosted.org/packages/1e/5d/d75fd3c1a6e748c93af9cc5bab21c26d783cadc8073a4621bde10fe49b45/gdal2tiles-0.1.5.tar.gz" } ] }