https://github.com/ayaanqui/uic-campus-map
C++ Console project based on OpenStreetMap
https://github.com/ayaanqui/uic-campus-map
cplusplus cplusplus-11 cpp cpp11 openstreetmap tinyxml
Last synced: 9 days ago
JSON representation
C++ Console project based on OpenStreetMap
- Host: GitHub
- URL: https://github.com/ayaanqui/uic-campus-map
- Owner: ayaanqui
- Created: 2020-04-28T04:05:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-17T19:17:32.000Z (over 5 years ago)
- Last Synced: 2025-03-13T21:43:38.794Z (about 1 year ago)
- Topics: cplusplus, cplusplus-11, cpp, cpp11, openstreetmap, tinyxml
- Language: C++
- Homepage:
- Size: 1.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CampusMap
##### _This project is part of the UIC's [CS 251](https://www.cs.uic.edu/~i251/) (Data Structures) class, by [Professor Joseph Hummel](https://cs.uic.edu/profiles/joe-hummel/)._
CampusMap is a console app that helps the user navigate UIC's campus. The project uses Dijkstra’s algorithm to find the shortest weighted path from a given starting location to a given ending location. This project is based on [OpenStreetMap](https://www.openstreetmap.org/) to navigate through the UIC campus, and uses [TinyXML](http://www.grinninglizard.com/tinyxml/) to parse the `.xml` files.
## Working with the project
### Clone the project
```
git clone https://github.com/ayaanqui/uic-campus-map.git
```
### Compile the project
#### Linux and Mac
```
make build
```
#### Windows
```
g++ -O2 -std=c++11 -Wall main.cpp dist.cpp osm.cpp tinyxml2.cpp -o program.exe
```
_Ignore warnings._ This will create a new file in your local project directory, named `program.exe`
### Run program
#### Linux and Mac
```
make run
```
#### Windows
```
.\program.exe
```
Once the program starts input `map.osm` as the file name