A Nifty little JavaScript single page app to calculate the shortest path between Star System nodes using a breadth-first-search. It includes a PHP generator script that builds a JSON formatted adjacency map from an SQL dump of the EVE Online universe, which is client side cached to enable real time lookups.
This single page app consists of a small webpage and javascript to find the shortest amount of jumps between two star systems in the game EVE Online.
RvB was a corporation in EVE but has left and was used to help courier contracts where players transfer in game items originally. Now the EVE data dumps, breadth-first-search to mainly find the length (Jumps), a cached larger adjacency map to skip from the PHP an be faster, use jQuery Autocomplete, basic ETL, and a simple calculator that may be useful for similar applications.
Either way was fun and a great Corp, tons of PvP and cool people. I haven't played EVE for years either but maybe sometime Pew Pew a bit another time!
Download this source to any folder and can start from index.html.
The generated EVE data-website parts are now committed, if someone wants more recent dumps follow down.
use your browser at <your domain/directory>/ with PHP, MySQL and Linux for the ETL part
See https://wiki.eveuniversity.org/Static_Data_Export
mapRegions mapSolarSystems mapSolarSystemJumps mapConstellations
bunzip2 *
mysql -u username -p database_name < mapConstellations.sql
mysql -u username -p database_name < mapRegions.sql
mysql -u username -p database_name < mapSolarSystemJumps.sql
mysql -u username -p database_name < mapSolarSystems.sqlIf you wish to re-generate the star system database you should obtain a copy of the EVE online universe SQL dump, load it into a MySQL database running on the same host as the php code, and copy /ws/dbinfo.php.txt to /ws/dbinfo.php (substituting your database credentials in the process).
Once you have done this you should navigate to /ws/gen_evedata.js.php and the adjacency map will be built in /js/evedata.js,
Optional for further dev mapConstellationJumps