{"id":19195404,"url":"https://github.com/ardupilot/terraingen","last_synced_at":"2025-08-30T17:44:58.545Z","repository":{"id":39331528,"uuid":"266294618","full_name":"ArduPilot/terraingen","owner":"ArduPilot","description":"Ardupilot Terrain Generator website","archived":false,"fork":false,"pushed_at":"2024-08-19T06:54:32.000Z","size":94,"stargazers_count":11,"open_issues_count":2,"forks_count":19,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-20T09:42:52.512Z","etag":null,"topics":["ardupilot"],"latest_commit_sha":null,"homepage":null,"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/ArduPilot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-05-23T08:27:21.000Z","updated_at":"2025-04-04T03:01:11.000Z","dependencies_parsed_at":"2024-08-19T12:33:02.328Z","dependency_job_id":null,"html_url":"https://github.com/ArduPilot/terraingen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fterraingen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fterraingen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fterraingen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fterraingen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArduPilot","download_url":"https://codeload.github.com/ArduPilot/terraingen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160764,"owners_count":21863627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ardupilot"],"created_at":"2024-11-09T12:09:49.909Z","updated_at":"2025-05-08T23:01:49.069Z","avatar_url":"https://github.com/ArduPilot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArduPilot terrain generator\n\n## Summary\n\nThis is a website that pre-generates terrain files for Ardupilot. The user enters in the details\nof the area they wish the generate terrain for, then the website will generate a terrain.zip file containing\nthe relevant dat files. The user will download this file and then\nthen need to unzip to a \"terrain\" folder on the SD card in their flight controller.\n\n## Pre-generation of Terrain\n\nTo ensure the website operates responsively, the terrain for the whole (-60 -\u003e +60 latitude for SRTM3, \n-84 -\u003e +84 latitude for SRTM1) world\nmust be pregenerated. This will take some time.\n\nRun ``offline_gen.py`` to download the SRTM files from ardupilot.org and convert them to the dat\nfile format. These files will be stored in the processedTerrain folder.\n\n## For developers\n\nThis website uses the flask library.\n\nTo install dependencies:\n\n``pip install -r requirements.txt``\n\nTo run:\n\n```\npython3 app.py\n```\n\nThe unzipped processed files are temporarily stored in ./outputTer-tmp. These are deleted upon the zipping into a single\ndownloadable file\n\nThe downloadable files are stored in ./outputTer\n\nEach user request is given a UUID, which is incorporated into the folder/filename of the terrain files.\n\nTo run the unit tests, type ``pytest``\n\nA systemd service is provided for running the WSGI server.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardupilot%2Fterraingen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fardupilot%2Fterraingen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardupilot%2Fterraingen/lists"}