{ "info": { "author": "Simone Murzilli; Guido Barbaglia", "author_email": "geobrickspy@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Geobricks Processing\n====================\n\nThe Geobricks processing library provides an easy way to process sets of layers, providing band extraction and some of the GDAL basic funcionalities. \n\nInstallation\n============\nThe plug-in is distributed through PyPi and can be installed by typing the following command in the console:\n```\npip install geobricksprocessing\n```\nExamples\n========\n\nGDALWARP\n\n```python\n\nfrom geobricks_processing.core import processing_core\n\nprocessing_gdalwarp = {\n #Mandatory: \"Array containing the source paths i.e. a layer of *.tif for band extraction or merging\"\n \"source_path\": [\"data/burundi_maize_area_3857.tif\"],\n # Mandatory: String containing the output path. If it doesn't exists it will be created\n \"output_path\": \"data/gdalwarp/\",\n # Optional: String containing the output file name. If it doesn't exists it will be created with a uuid function\n \"output_file_name\": \"burundi_maize_area_4326.tif\",\n # Optional: Default band extraction is 1\n \"band\": 1,\n # Mandatory: Array with a list of operation (i.e. gdalwarp, gdaladdo, gdal_translate, band_extraction)\n \"process\": [\n {\n \"gdalwarp\": {\n # Optional: containing the command options\n \"opt\": {\n \"-multi\": \"\",\n \"-overwrite\": \"\",\n \"-of\": \"GTiff\",\n \"-s_srs\": \"EPSG:3857\",\n \"-t_srs\": \"EPSG:4326\"\n }\n }\n }\n ]\n}\n\noutput_files = processing_core.process_data(processing_gdalwarp)\n```\n\nGDALWARP with a GDALADDO operation\n\nTo do more than one operation can be created an array containing the different steps of the process. In this example will be applied first a GDALWARP and then a GDALADDO operation to the output file.\n\n```python\nfrom geobricks_processing.core import processing_core\n\nprocessing_gdalwarp = [\n {\n \"source_path\": [\"data/burundi_maize_area_3857.tif\"],\n \"output_path\": \"data/gdalwarp/\",\n \"output_file_name\": \"burundi_maize_area_4326.tif\",\n \"band\": 1,\n \"process\": [\n {\n \"gdalwarp\": {\n \"opt\": {\n \"-multi\": \"\",\n \"-overwrite\": \"\",\n \"-of\": \"GTiff\",\n \"-s_srs\": \"EPSG:3857\",\n \"-t_srs\": \"EPSG:4326\"\n }\n }\n }\n ]\n },\n {\n \"band\": 1,\n \"process\": [\n {\n \"gdaladdo\": {\n \"parameters\": {\n # \"--config\": \"BIGTIFF_OVERVIEW IF_NEEDED\"\n },\n \"overviews_levels\": \"2 4 8 16\"\n }\n }\n ]\n }\n]\n\noutput_files = processing_core.process_data(processing_gdalwarp)\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/GeobricksProcessing/", "keywords": "geobricks,processing,raster,gis,gdal", "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "GeobricksProcessing", "package_url": "https://pypi.org/project/GeobricksProcessing/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/GeobricksProcessing/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/GeobricksProcessing/" }, "release_url": "https://pypi.org/project/GeobricksProcessing/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Geobricks processing library for raster data.", "version": "0.0.5" }, "last_serial": 1634281, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "387c51fe9dd852963e965ffc2ccf00ea", "sha256": "6c34edbe27e62db3afa5d5675af3fa71b605fe9b3ac9e4e4a424470b2f75d232" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.1.tar.gz", "has_sig": false, "md5_digest": "387c51fe9dd852963e965ffc2ccf00ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11721, "upload_time": "2014-11-24T16:30:38", "url": "https://files.pythonhosted.org/packages/70/1c/dffcb49c2690a8a89138665f50567d0d6eea4671e2edf4c0b6903f2679db/GeobricksProcessing-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "48a0c722fca36977d2f39b6d294f0e94", "sha256": "5526cc972195b8dc971a435aef59c42aa5350f552d37d8dba605b71b5f1e32d3" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.2.tar.gz", "has_sig": false, "md5_digest": "48a0c722fca36977d2f39b6d294f0e94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11999, "upload_time": "2014-11-25T10:51:16", "url": "https://files.pythonhosted.org/packages/e8/4e/cc75ae9060a7d8aeb1ba756ffd455ccf4f0351be6cd25782e073e9b294b0/GeobricksProcessing-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "fda6844e91365fc3cbfc8f932e37148f", "sha256": "55e5e7c76a6031247b05d71edc36404da2bc14abbadc27b5184f1875dd68aa9c" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.3.tar.gz", "has_sig": false, "md5_digest": "fda6844e91365fc3cbfc8f932e37148f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11416, "upload_time": "2015-02-11T13:59:24", "url": "https://files.pythonhosted.org/packages/1d/48/5f13be57df85f8447faebc2939f32116e5a2d2fd4fd6c5d16e6a9bcfac88/GeobricksProcessing-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "09f4c0bbdfc720a4b01e1b2385da9813", "sha256": "dd601251f4c0671e3e43eb85f58d39c6e1b06a0d28fa5623586d181a2dd97323" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.4.tar.gz", "has_sig": false, "md5_digest": "09f4c0bbdfc720a4b01e1b2385da9813", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10741, "upload_time": "2015-03-16T14:51:17", "url": "https://files.pythonhosted.org/packages/39/c1/8cf093db739b9c92d911813eb8c0bc3f69e2eeaf9047108b59470c4f93d6/GeobricksProcessing-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "a1bbc2435fc7457ada325e57ab817a2a", "sha256": "7ad5aaf6502ad26f7a3b84aac563106f49d40e7df8c9f35d1745512fb081f9c6" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a1bbc2435fc7457ada325e57ab817a2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9564, "upload_time": "2015-07-15T12:12:30", "url": "https://files.pythonhosted.org/packages/2a/49/ccce011e2cf450474e3e570e8468f796f3a07a3fab893d28baf9fd6b40a5/GeobricksProcessing-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1bbc2435fc7457ada325e57ab817a2a", "sha256": "7ad5aaf6502ad26f7a3b84aac563106f49d40e7df8c9f35d1745512fb081f9c6" }, "downloads": -1, "filename": "GeobricksProcessing-0.0.5.tar.gz", "has_sig": false, "md5_digest": "a1bbc2435fc7457ada325e57ab817a2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9564, "upload_time": "2015-07-15T12:12:30", "url": "https://files.pythonhosted.org/packages/2a/49/ccce011e2cf450474e3e570e8468f796f3a07a3fab893d28baf9fd6b40a5/GeobricksProcessing-0.0.5.tar.gz" } ] }