{"id":50329107,"url":"https://github.com/whubsch/overmatch","last_synced_at":"2026-05-29T08:31:36.783Z","repository":{"id":325383813,"uuid":"1099460437","full_name":"whubsch/overmatch","owner":"whubsch","description":"🗺️ Enrich OpenStreetMap with Overture Maps data","archived":false,"fork":false,"pushed_at":"2026-03-22T11:45:40.000Z","size":15460,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-23T03:17:51.142Z","etag":null,"topics":["openstreetmap","overturemaps"],"latest_commit_sha":null,"homepage":"https://whubsch.github.io/overmatch/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whubsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-19T02:46:48.000Z","updated_at":"2026-03-22T11:45:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/whubsch/overmatch","commit_stats":null,"previous_names":["whubsch/overmatch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whubsch/overmatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whubsch%2Fovermatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whubsch%2Fovermatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whubsch%2Fovermatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whubsch%2Fovermatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whubsch","download_url":"https://codeload.github.com/whubsch/overmatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whubsch%2Fovermatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33644191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["openstreetmap","overturemaps"],"created_at":"2026-05-29T08:31:35.803Z","updated_at":"2026-05-29T08:31:36.775Z","avatar_url":"https://github.com/whubsch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overmatch\n\nA tool for matching Overture Maps data with OpenStreetMap elements and applying enriched tags to OSM.\n\n## Overview\n\nOvermatch helps OSM contributors improve map data by:\n\n1. **Matching** OSM amenities (restaurants, cafes, bars, etc.) with corresponding Overture Maps data\n2. **Reviewing** tag differences in a visual comparison interface\n3. **Applying** enriched tags from Overture to OSM elements\n4. **Tracking** which elements have been processed to avoid duplicate work\n\n## Architecture\n\nThe system consists of three components:\n\n```\n┌─────────────────┐\n│  Matching       │  Python scripts for geospatial matching\n│  Scripts        │  (OSM ↔ Overture)\n└────────┬────────┘\n         │ JSONL output\n         ▼\n┌─────────────────┐\n│  Tracking API   │  FastAPI + DynamoDB on AWS Lambda\n│  (FastAPI)      │  Tracks processed elements \u0026 stores matches\n└────────┬────────┘\n         │ REST API\n         ▼\n┌─────────────────┐\n│  Web Frontend   │  React + MapLibre\n│  (React)        │  Visual review and tagging interface\n└─────────────────┘\n```\n\n## Components\n\n### 1. Matching Scripts (`/scripts`)\n\nPython scripts that perform geospatial matching between OSM and Overture data:\n\n- **`match.py`**: Core matching algorithm using spatial indexing and fuzzy name matching\n- **`get_osm_ids.py`**: Fetches OSM elements for a given area\n- **`build_query.py`**: Builds Overpass queries for OSM data\n- **`get_categories.py`**: Analyzes Overture category distributions\n\n**Key features:**\n\n- Spatial indexing (R-tree) for efficient nearest-neighbor search\n- Fuzzy name matching using RapidFuzz\n- Configurable distance and similarity thresholds\n- Outputs JSONL format with match metadata\n\n**Dependencies:** GeoPandas, RapidFuzz, rtree, atlus, overturetoosm\n\n### 2. Tracking API (`/api`)\n\nFastAPI service deployed on AWS Lambda that tracks processed elements:\n\n- **GET/POST `/osm`**: Track which OSM elements have been uploaded with changes\n- **GET/POST `/overture`**: Track which Overture elements have been marked as non-matching\n- **GET `/matches`**: Retrieve OSM-to-Overture matches from DynamoDB\n\n**Key features:**\n\n- Serverless architecture (Lambda + DynamoDB)\n- Millisecond response times at any scale\n- Timestamp tracking for audit trails\n- Infrastructure as Code (CloudFormation)\n\n**Cost:** under $5/month for moderate usage\n\nSee [`api/README.md`](api/README.md) for detailed deployment instructions.\n\n### 3. Web Frontend (`/front_end`)\n\nReact application for reviewing matches and applying tags:\n\n- Visual comparison table showing OSM vs Overture tags\n- Interactive map with MapLibre GL\n- Support for multiple Overture matches per OSM element\n- Batch upload to OSM via authenticated changesets\n- Automatic deduplication using tracking API\n\n**Key features:**\n\n- Color-coded tag differences\n- Live OSM data fetching\n- Relation-based area selection\n- OAuth authentication with OSM\n- Persistent state management (Zustand)\n\nSee [`front_end/IMPLEMENTATION_NOTES.md`](front_end/IMPLEMENTATION_NOTES.md) for implementation details.\n\n## License\n\nProvided under the [MIT License](LICENSE.md).\n\n## Contributing\n\nContributions welcome! Please ensure:\n\n1. Matching scripts handle edge cases (nodes, ways, relations)\n2. API changes are reflected in CloudFormation template\n3. Frontend changes maintain TypeScript type safety\n\n## Support\n\nFor issues or questions, please open an issue on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhubsch%2Fovermatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhubsch%2Fovermatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhubsch%2Fovermatch/lists"}