{"id":27798106,"url":"https://github.com/bilgeswe/swe599","last_synced_at":"2026-02-04T11:44:32.698Z","repository":{"id":285765636,"uuid":"959274197","full_name":"bilgeswe/SWE599","owner":"bilgeswe","description":"SWE599_ProjectPage","archived":false,"fork":false,"pushed_at":"2025-05-25T12:03:43.000Z","size":199323,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-27T15:21:43.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bilgeswe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-04-02T14:24:15.000Z","updated_at":"2025-05-29T17:40:38.000Z","dependencies_parsed_at":"2025-07-11T06:49:41.920Z","dependency_job_id":null,"html_url":"https://github.com/bilgeswe/SWE599","commit_stats":null,"previous_names":["bilgeswe/swe599"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bilgeswe/SWE599","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilgeswe%2FSWE599","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilgeswe%2FSWE599/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilgeswe%2FSWE599/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilgeswe%2FSWE599/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bilgeswe","download_url":"https://codeload.github.com/bilgeswe/SWE599/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bilgeswe%2FSWE599/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29083230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-04-30T22:55:30.869Z","updated_at":"2026-02-04T11:44:32.692Z","avatar_url":"https://github.com/bilgeswe.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cimg width=\"1203\" alt=\"uskudar_network_net_xml\" src=\"https://github.com/user-attachments/assets/f57eabb1-2d5e-446e-a808-8da666d8285b\" /\u003e\n\n# 🏙️ AV Simulation Project\n\n\u003e **Professional OpenDRIVE/OpenSCENARIO export system for Istanbul's Üsküdar district, evolved from basic OSM data to advanced AV simulation pipeline.**\n\n## 🎯 Project Overview\n\nThis project demonstrates the evolution from **basic OSM data processing** to **professional autonomous vehicle simulation** using real-world data from Üsküdar, Istanbul.\n\n### 📊 **Final Achievement:**\n- **🗺️ 9,421 nodes** and **24,157 road edges** covering Üsküdar district\n- **🚦 42 traffic lights** with realistic behavior\n- **📍 Geographic coverage:** 29.006°-29.092°E, 40.992°-41.078°N\n- **🔧 Professional formats:** OpenDRIVE (16.3 MB) + OpenSCENARIO (6.8 KB)\n- **🎮 Interactive simulation:** Ready for SUMO-GUI with moving traffic\n\n## 🏗️ Two-Version Architecture\n\n### **Version 1: Basic Method** (`v1_basic_method/`)\nThe foundation - basic OSM data fetching and simple SUMO conversion.\n\n   ```bash\n🏗️ PRIMITIVE METHOD\n├── Fetch OSM data for Üsküdar → 7.4 MB .osm file\n├── Convert to basic SUMO → 12.3 MB .net.xml\n└── Foundation for advanced processing\n```\n\n**Run:** `cd v1_basic_method \u0026\u0026 python fetch_and_convert.py`\n\n### **Version 2: Advanced Method** (`v2_advanced_method/`)\nProfessional AV simulation with advanced algorithms and export systems.\n\n```bash\n🚀 ADVANCED METHOD\n├── OpenDRIVE Export Algorithm → 16.3 MB .xodr\n├── OpenSCENARIO Export → 6.8 KB .xosc  \n├── Intelligent Traffic Generation → Real edge IDs\n├── Professional SUMO Integration → Interactive simulation\n└── Ready for AV development tools\n```\n\n**Run:** `cd v2_advanced_method \u0026\u0026 python advanced_uskudar_pipeline.py`\n\n## 🚀 Quick Start\n\n### **Option 1: Full Pipeline (Recommended)**\n```bash\n# Step 1: Create foundation data\ncd v1_basic_method\npython fetch_and_convert.py\n\n# Step 2: Build advanced simulation\ncd ../v2_advanced_method  \npython advanced_uskudar_pipeline.py\n\n# Step 3: Launch interactive simulation\ncd output/uskudar/advanced_simulation\nsumo-gui uskudar_simulation.sumocfg\n```\n\n### **Option 2: Use Existing Results**\n```bash\n# Launch our pre-built Üsküdar simulation\ncd v2_advanced_method/output/uskudar/opendrive_scenario\nsumo-gui uskudar_simulation.sumocfg\n```\n\n## 📁 Repository Structure\n\n```\nSWE599/\n├── README.md                     # This file\n├── requirements.txt              # Python dependencies\n├── v1_basic_method/              # 🏗️ VERSION 1: Foundation\n│   ├── README.md\n│   ├── fetch_and_convert.py      # Main script\n│   ├── data/                     # OSM data (7.4 MB)\n│   ├── osm_fetcher/              # Basic OSM tools\n│   ├── converter/                # Basic conversion\n│   └── utils/                    # Utility functions\n└── v2_advanced_method/           # 🚀 VERSION 2: Advanced\n    ├── README.md\n    ├── advanced_uskudar_pipeline.py  # Main advanced script\n    ├── add_traffic_uskudar.py     # Traffic generation algorithm\n    ├── export_uskudar_simple.py   # Üsküdar-specific export\n    ├── test_export_simple.py      # Testing framework\n    ├── exporters/                 # Advanced export algorithms\n    │   ├── opendrive_exporter/    # OpenDRIVE export system\n    │   └── openscenario_exporter/ # OpenSCENARIO export system\n    ├── av_algorithms/             # AV-specific algorithms\n    ├── examples/                  # Advanced examples\n    ├── validation/                # Validation tools\n    ├── visualization/             # Advanced visualization\n    ├── cli/                      # Command-line interface\n    └── output/                   # 🎯 GENERATED FILES\n        └── uskudar/\n            └── opendrive_scenario/    # Working simulation\n                ├── uskudar_network.xodr       # 16.3 MB OpenDRIVE\n                ├── uskudar_av_scenario.xosc   # 6.8 KB OpenSCENARIO\n                ├── uskudar_network.net.xml    # 15.9 MB SUMO network\n                ├── uskudar_routes.rou.xml     # Traffic routes\n                ├── uskudar_simulation.sumocfg # Complete simulation\n                └── export_summary.json       # Statistics\n```\n\n## 🔧 Key Technologies \u0026 Algorithms\n\n### **Version 1 Technologies:**\n- **OSMnx** - OpenStreetMap data fetching\n- **SUMO netconvert** - Basic network conversion\n- **XML processing** - Data parsing\n\n### **Version 2 Advanced Algorithms:**\n- **🛣️ OpenDRIVE Exporter** - Professional road network format\n- **🎬 OpenSCENARIO Exporter** - AV scenario testing format  \n- **🚦 Intelligent Traffic Generator** - Real edge ID extraction\n- **🎮 SUMO Integration** - Complete simulation pipeline\n\n## 💡 Real-World Applications\n\n### **🚗 Autonomous Vehicle Development**\n- Test AV algorithms in realistic Istanbul traffic\n- Use OpenSCENARIO for scenario-based validation\n- Professional-grade simulation environment\n\n### **🏙️ Urban Planning \u0026 Traffic Research**\n- Analyze traffic patterns in Üsküdar district\n- Test traffic light optimization algorithms\n- Study real-world urban mobility\n\n### **🔬 Academic Research**\n- Ready-to-use Istanbul traffic simulation\n- Professional export formats for research tools\n- Complete pipeline for similar cities\n\n## 🌍 Geographic Coverage\n\n- **🏛️ District:** Üsküdar, Istanbul, Turkey\n- **📍 Coordinates:** 29.006°-29.092°E, 40.992°-41.078°N  \n- **🗺️ Area:** Real urban district with complex road network\n- **🚦 Infrastructure:** 42 traffic lights, major intersections\n\n## 🔗 Integration with Professional Tools\n\nThe generated files are compatible with:\n\n- **🎮 esmini** - Load `.xodr` and `.xosc` for 3D simulation\n- **🎯 Unreal Engine** - Import OpenDRIVE for photorealistic AV simulation\n- **🚗 CARLA** - Use as custom map for AV research  \n- **🏭 IPG CarMaker** - Professional AV simulation platform\n- **📊 SUMO** - Traffic flow analysis and optimization\n\n## 📦 Installation \u0026 Dependencies\n\n```bash\n# Clone repository\ngit clone [repository-url]\ncd SWE599\n\n# Install Python dependencies\npip install -r requirements.txt\n\n# Install SUMO (macOS)\nbrew install sumo\n\n# Verify installation\nsumo-gui --version\n```\n\n## 🎉 Project Success Metrics\n\n✅ **Data Processing:** 7.4 MB OSM → 16.3 MB OpenDRIVE  \n✅ **Network Scale:** 9,421 nodes, 24,157 edges  \n✅ **Professional Formats:** OpenDRIVE + OpenSCENARIO export  \n✅ **Interactive Simulation:** Working SUMO-GUI with traffic  \n✅ **Real-World Data:** Actual Istanbul geography  \n✅ **Algorithm Development:** Custom export and traffic generation  \n✅ **Professional Integration:** Ready for AV development tools  \n\n---\n\n**📧 Contact:** Built for SWE599 - Advanced software development project  \n**🏛️ Location:** Üsküdar, Istanbul, Turkey  \n**🚀 Status:** Production-ready AV simulation environment\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilgeswe%2Fswe599","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbilgeswe%2Fswe599","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilgeswe%2Fswe599/lists"}