{"id":27610401,"url":"https://github.com/prthd/edmonton-city-gps-navigation-systems","last_synced_at":"2025-04-22T23:27:38.330Z","repository":{"id":193198733,"uuid":"688315518","full_name":"PrthD/Edmonton-City-GPS-Navigation-Systems","owner":"PrthD","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-18T05:55:37.000Z","size":32151,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-18T07:55:19.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/PrthD.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}},"created_at":"2023-09-07T05:19:09.000Z","updated_at":"2024-09-18T05:55:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"a98ba0a8-b085-459f-ba7a-2856519cc089","html_url":"https://github.com/PrthD/Edmonton-City-GPS-Navigation-Systems","commit_stats":null,"previous_names":["prthd/edmonton-city-gps-navigation-systems"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrthD%2FEdmonton-City-GPS-Navigation-Systems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrthD%2FEdmonton-City-GPS-Navigation-Systems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrthD%2FEdmonton-City-GPS-Navigation-Systems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrthD%2FEdmonton-City-GPS-Navigation-Systems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrthD","download_url":"https://codeload.github.com/PrthD/Edmonton-City-GPS-Navigation-Systems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250339433,"owners_count":21414360,"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":[],"created_at":"2025-04-22T23:27:37.769Z","updated_at":"2025-04-22T23:27:38.322Z","avatar_url":"https://github.com/PrthD.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edmonton City GPS Navigation Systems\n\n## Project Overview\nThe Edmonton City GPS Navigation Systems project provides a graphical interface to navigate and determine the shortest path between two points in Edmonton using a map. The system includes a server component for processing and a client component for interacting with the map.\n\n## Project Structure\n\n- **/server/**: Server-side code and resources\n   - `server.cpp`: Main server implementation\n   - `dijkstra.cpp`: Implementation of Dijkstra's algorithm\n   - `digraph.cpp`: Implementation of directed graph data structure\n   - `digraph.h`: Header file for directed graph\n   - `wdigraph.h`: Header file for weighted directed graph\n   - `dijkstra.h`: Header file for Dijkstra's algorithm\n   - `edmonton-roads-2.0.1.txt`: Road network data file\n   - `Makefile`: Build instructions for server components\n- **/client/**\n   - `client.py`: Client-side implementation\n- **/map/**: Directory for map-related resources\n- `Makefile`: Top-level build instructions\n- `README`: Project documentation\n\n### Server Makefile Targets\n- `make server`: Builds the executable `server`\n- `make clean`: Removes all object files and the executable\n- `make server.o`: Builds the object file for `server.cpp`\n- `make digraph.o`: Builds the object file for `digraph.cpp`\n- `make dijkstra.o`: Builds the object file for `dijkstra.cpp`\n\n### Top-level Makefile Targets\n- `make run`: Builds the executable `server` and runs both the server and the client\n- `make clean`: Removes all object files, executable, and named pipes\n- `make all`: Executes both compile and run targets\n- `make compile`: Builds the executable `server` in the server directory\n\n## Running Instructions\n1. Navigate to the `server` directory in the terminal:\n   ```bash\n   cd server\n2. Compile and link the server-related files:\n   ```bash\n   make server\n3. Return to the soln directory and run both the server and the client:\n   ```bash\n   cd ..\n   make run\n4. Interact with the map:\n   - Click on locations with the left mouse button to select a starting point and an endpoint.\n   - The shortest path between the two points will be highlighted.\n   - Use the W, S, D, A keys to navigate through the map.\n   - Use Q and E keys to zoom in and out, respectively.\n5. Clean up after running:\n   ```bash\n   make clean\n\n## Precautions\n- Follow the running instructions accurately to ensure proper functionality.\n- The program is designed to run on Linux-based operating systems only.\n- Ensure the server executable is built before running the Makefile in the soln directory.\n- The client program must not be run before the server program; otherwise, the program will fail.\n- When selecting the second point on the map, the server will send an 'E', and when the map window is closed, the server will send a 'Q'.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprthd%2Fedmonton-city-gps-navigation-systems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprthd%2Fedmonton-city-gps-navigation-systems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprthd%2Fedmonton-city-gps-navigation-systems/lists"}