{"id":38645141,"url":"https://github.com/actinia-org/actinia-tiling-plugin","last_synced_at":"2026-01-17T09:12:23.726Z","repository":{"id":40548210,"uuid":"450485112","full_name":"actinia-org/actinia-tiling-plugin","owner":"actinia-org","description":"This is the actinia data tiling plugin for faster processing.","archived":false,"fork":false,"pushed_at":"2025-08-14T22:07:40.000Z","size":240,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-08T23:36:51.211Z","etag":null,"topics":["actinia","actinia-plugin","geoprocessing","geospatial","opensource","rest-api","tiling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actinia-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-21T12:35:25.000Z","updated_at":"2025-06-25T11:12:56.000Z","dependencies_parsed_at":"2025-06-25T10:34:12.131Z","dependency_job_id":"395eeb8b-260e-4f1c-9e5f-8c8a719a576d","html_url":"https://github.com/actinia-org/actinia-tiling-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/actinia-org/actinia-tiling-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actinia-org%2Factinia-tiling-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actinia-org%2Factinia-tiling-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actinia-org%2Factinia-tiling-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actinia-org%2Factinia-tiling-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actinia-org","download_url":"https://codeload.github.com/actinia-org/actinia-tiling-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actinia-org%2Factinia-tiling-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actinia","actinia-plugin","geoprocessing","geospatial","opensource","rest-api","tiling"],"created_at":"2026-01-17T09:12:22.045Z","updated_at":"2026-01-17T09:12:23.462Z","avatar_url":"https://github.com/actinia-org.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# actinia-tiling-plugin\n\nThis is an example plugin for actinia-core which adds a \"Hello World\" endpoint to actinia-core.\n\nYou can run actinia-tiling-plugin as actinia-core plugin.\n\n## Installation\nUse docker-compose for installation:\n```bash\ndocker-compose -f docker/docker-compose.yml build\ndocker-compose -f docker/docker-compose.yml up -d\n```\n\n### Installation hints\n* If you get an error like: `ERROR: for docker_kvdb_1  Cannot start service valkey: network xxx not found` you can try the following:\n```bash\ndocker-compose -f docker/docker-compose.yml down\n# remove all custom networks not used by a container\ndocker network prune\ndocker-compose -f docker/docker-compose.yml up -d\n```\n\n## DEV setup\nFor a DEV setup you can use the docker/docker-compose.yml:\n```bash\ndocker-compose -f docker/docker-compose.yml build\ndocker-compose -f docker/docker-compose.yml run --rm --service-ports --entrypoint sh actinia\n\n# install the plugin\n(cd /src/actinia-tiling-plugin \u0026\u0026 pip3 install .)\n# start actinia-core with your plugin\ngunicorn -b 0.0.0.0:8088 -w 1 --access-logfile=- -k gthread actinia_core.main:flask_app\n```\n\n### Hints\n\n* If you have no `.git` folder in the plugin folder, you need to set the\n`SETUPTOOLS_SCM_PRETEND_VERSION` before installing the plugin:\n```bash\nexport SETUPTOOLS_SCM_PRETEND_VERSION=0.0\n```\nOtherwise you will get an error like this\n`LookupError: setuptools-scm was unable to detect version for '/src/actinia-tiling-plugin'.`.\n\n* If you make changes in code and nothing changes you can try to uninstall the plugin:\n```bash\npip3 uninstall actinia-tiling-plugin.wsgi -y\nrm -rf /usr/lib/python3.8/site-packages/actinia_tiling_plugin.wsgi-*.egg\n```\n\n### Running tests\nYou can run the tests in the actinia docker:\n```bash\ndocker build -f docker/actinia-tiling-plugin-test/Dockerfile -t actinia-tiling-plugin-test .\n\ndocker run -it actinia-tiling-plugin-test -i\n\ncd /src/actinia-tiling-plugin/\n\n# run all tests\nmake test\n```\n\nFor debugging the test this might be helpful when a `waitAsyncStatusAssertHTTP` fails:\n```python\nfrom flask.json import loads as json_loads\nresp_data = json_loads(rv.data)\nrv_user_id = resp_data[\"user_id\"]\nrv_resource_id = resp_data[\"resource_id\"]\nrv2 = self.server.get(URL_PREFIX + \"/resources/%s/%s\" % (rv_user_id, rv_resource_id), headers=self.user_auth_header)\nresp_data2 = json_loads(rv2.data)\n```\n\n## Small Example\n```python\nactinia_base_url=http://localhost:8088/api/v3\nmapset_url=${actinia_base_url}/projects/loc_25832/mapsets/tiling_usermapset\nauth=\"actinia-gdi:actinia-gdi\"\n```\n\n### Grid Tiling Example\n```bash\n# grid tiling\n# the region should be set correctly\njson_reg=test_postbodies/set_region_for_epsg25832.json\ncurl -u ${auth} -X POST ${mapset_url}/processing_async -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json_reg} | jq\ncurl -u ${auth} -X GET ${mapset_url}/info | jq\n\n# create tiling grid\ncurl -u ${auth} -X GET ${mapset_url}/vector_layers | jq\njson=test_postbodies/grid_tiling_pb.json\ncurl -u ${auth} -X POST ${mapset_url}/tiling_processes/grid -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json} | jq\ncurl -u ${auth} -X GET ${mapset_url}/vector_layers | jq\n\n# request tiling_processes\ncurl -u ${auth} -X GET ${mapset_url}/tiling_processes | jq\ncurl -u ${auth} -X GET ${mapset_url}/tiling_processes/grid | jq\n```\n\n### Processing Example as preparation for the merge\n```bash\n# process - tile 1\njson=test_postbodies/grid_1_calulation.json\ncurl -u ${auth} -X POST ${mapset_url}_tmp1/processing_async -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json} | jq\ncurl -u ${auth} -X GET  \"http://localhost:8088/api/v3/resources/actinia-gdi/resource_id-...\" | jq\ncurl -u ${auth} -X GET ${mapset_url}_tmp1/vector_layers | jq\ncurl -u ${auth} -X GET ${mapset_url}_tmp1/raster_layers | jq\ncurl -u ${auth} -X GET ${mapset_url}_tmp1/strds | jq\n\n# process - tile 2\njson=test_postbodies/grid_2_calulation.json\ncurl -u ${auth} -X POST ${mapset_url}_tmp2/processing_async -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json} | jq\ncurl -u ${auth} -X GET  \"http://localhost:8088/api/v3/resources/actinia-gdi/resource_id-...\" | jq\n\n# process - tile 3\njson=test_postbodies/grid_3_calulation.json\ncurl -u ${auth} -X POST ${mapset_url}_tmp3/processing_async -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json} | jq\ncurl -u ${auth} -X GET  \"http://localhost:8088/api/v3/resources/actinia-gdi/resource_id-...\" | jq\n```\n\n### Patch merge Example\n```bash\njson=test_postbodies/patch_merge_no_mapset_deletion.json\njson=test_postbodies/patch_merge.json\ncurl -u ${auth} -X POST ${mapset_url}/merge_processes/patch -H 'accept: application/json' -H 'Content-Type: application/json' -d @${json} | jq\ncurl -u ${auth} -X GET ${mapset_url}/vector_layers | jq\ncurl -u ${auth} -X GET ${mapset_url}/raster_layers | jq\ncurl -u ${auth} -X GET ${mapset_url}/strds | jq\n\ncurl -u ${auth} -X GET ${actinia_base_url}/projects/loc_25832/mapsets | jq\n```\n\n\n\n## TODO\n* Region statt Vector speichern (wie res setzen?)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factinia-org%2Factinia-tiling-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factinia-org%2Factinia-tiling-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factinia-org%2Factinia-tiling-plugin/lists"}