{"id":27391337,"url":"https://github.com/andygol/yamap","last_synced_at":"2025-06-24T06:08:17.246Z","repository":{"id":138189573,"uuid":"603132989","full_name":"Andygol/yamap","owner":"Andygol","description":"Yamap Ain't Map – deployment of OSM infrastructure project inspired by osm-seed","archived":false,"fork":false,"pushed_at":"2025-06-03T14:13:55.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-04T00:58:35.040Z","etag":null,"topics":["api","data","extract","geo-data","map","openstreetmap","osm"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Andygol.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":"2023-02-17T17:26:29.000Z","updated_at":"2025-06-03T14:13:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"491e38c0-44ce-41f4-be35-565e21401a98","html_url":"https://github.com/Andygol/yamap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Andygol/yamap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andygol%2Fyamap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andygol%2Fyamap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andygol%2Fyamap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andygol%2Fyamap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andygol","download_url":"https://codeload.github.com/Andygol/yamap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andygol%2Fyamap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261618130,"owners_count":23185095,"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":["api","data","extract","geo-data","map","openstreetmap","osm"],"created_at":"2025-04-13T20:15:12.157Z","updated_at":"2025-06-24T06:08:17.236Z","avatar_url":"https://github.com/Andygol.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yamap\n\nYamap Ain't Map – deployment OSM infrastructure project, inspired by osm-seed.\n\nThe goals of the project are to create infrastructure to replicate data from OSM into regional extract and keep the extracted data up-to-date, and use data from the local extract for other local services.\n\nThe input data is stored in the DB, the same as the main OSM API DB.\n\nFrom there, updates are sent to other local services, which in turn reduce the load on OSM servers.\n## Schema\n\n```mermaid\nflowchart TD\n    A[Planet OSM] --\u003e|diffs| B(Local API DB\u003cbr/\u003ewith regional\u003cbr/\u003eextract)\n    B --\u003e|regional extract| C[local diffs]\n    C --\u003e D[fa:fa-search Search]\n    C --\u003e E[fa:fa-database Overpass Turbo]\n    C --\u003e F[fa:fa-car Routing]\n    C --\u003e G[fa:fa-external-link Other services]\n```\n\n## Data deployment and update\n\nFor now, next routines are implemented:\n\n- Database deployment\n- Populating the database with data from the extract\n- Receiving, aggregating, cutting the data by a bounding polygon from planet diffs\n\n### Usage\n\nTo initialize DB and populate it with the extract run\n\n```\nmake init-db\n```\n\nTo keep up with the upstream DB\n\n```\nmake run\n```\n\nUse `make \u003ctarget\u003e` to run a particular task.\n\n```\nUsage:\n  make \u003ctarget\u003e\n\nRun/Stop Services\n  run             Builds, (re)creates, starts containers for a service\n  start           Starts existing containers for a service\n  stop            Stops running containers without removing them\n  restart         Restarts all stopped and running services\n\nCleanup\n  destroy         Stop and remove containers, networks\n  clean-apidb     Cleaning of the mounted DB file system\n  clean-data      Cleaning the data folder except for the mounted DB file system\n  clean-db        TODO Cleaning up DB for fresh deployment\n\nBuilding\n  rebuild         Build or rebuild services if you change a service’s Dockerfile\n  init-db         Init fresh DB and populate extract\n  debug           Start services in debug mode to run commands manually\n\nHelpers\n  list            List containers\n  images          List images used by the created containers\n  config          Parse, resolve and render compose file in canonical format\n\nHelp\n  help            Display this help\n```\n\n### Preparation\n\nSpecify path to the input data extract and path to `*.poly` file \nin the [popdb.env](env/popdb.env).\n\nReplication interval and replication URI can be adjusted in the [repapidb.env](env/repapidb.env).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandygol%2Fyamap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandygol%2Fyamap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandygol%2Fyamap/lists"}