Skip to content

College Project for the Course: Modulation and Simulation

License

Notifications You must be signed in to change notification settings

ChristianMinich/Modsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Despg Extension using GraphHopper for Route Calculation

Discrete Event Simulation Playground

This project is licensed under the Eclipse Public License 2.0.

Website: despg.dev

Was ist despg?

get started

onboarding

GraphHopper is a fast and memory-efficient routing engine released under Apache License 2.0. It can be used as a
Java library or standalone web server to calculate the distance, time, turn-by-turn instructions and many road
attributes for a route between two or more points. Beyond this "A-to-B" routing it supports "snap to road", Isochrone
calculation, mobile navigation and more. GraphHopper uses OpenStreetMap and GTFS data by default and it can
import other data sources too.

Installation

hopper.setOSMFile("" + "your_local_file_path.osm.pbf");
  • Replace the Cache File Path inside the Class Routing.java to your Local Cache File Path.
hopper.setGraphHopperLocation("your_cache_path");

VM - Arguments

  • Use at least 5Gb RAM
  • Disclaimer, when first executing it may take a while until the Map is fully loaded.
-Xmx5g -Xms5g

Library

  • Follow the Link to download the GraphHopper Jar
  • Create a new User Library inside your Java Project
  • Add the User Library to your Java Project

Server - Setup

  • Disclaimer, when first executing it may take a while until the Map is fully loaded.
  • Download the config.yml.
  • Change the Parameter datareader.file to your_local_file_path.osm.pbf
graphhopper:
 
  datareader.file: your_local_file_path.osm.pbf
  • To Start the Server use the following Command inside the Terminal
java -Xmx5g -Xms5g -jar your_local_file_path_of_the_graphhopper.jar server your_local_file_path_of_the_config.yml

About

College Project for the Course: Modulation and Simulation

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages