Hello everyone,
i plan to use a local installation of openrouteservice to calculate distances over three points within germany.
I have a small server with 16GB RAM at my disposal.
To save resources, I would like to keep the configuration of ors as minimal as possible.
I therefore only need the matrix endpoint and also only the driving-hgv profile.
The calculated distances do not have to be super-accurate. Approximate is enough for me if that plays a role.
There is also no need to include elevation data in the calculation.
I use the Germany extract from Geofabrik as a basis.
My ors-config.yml currently looks like as follows. Are there any other adjustments I should make to tailor my configuration to the above purpose?
ors:
##### ORS endpoints settings #####
endpoints:
routing:
enabled: false
matrix:
enabled: true
attribution: openrouteservice.org, OpenStreetMap contributors
maximum_routes: 2500
maximum_routes_flexible: 25
maximum_visited_nodes: 100000
maximum_search_radius: 2000
u_turn_costs: -1
isochrones:
enabled: false
snap:
enabled: false
# ##### ORS engine settings #####
engine:
source_file: ./files/germany-latest.osm.pbf
profiles:
# # All properties defined in ors.engine.profile_default can also be set in each profile to overwrite the defaults profile-specific.
car:
enabled: false
hgv:
enabled: true
profile: driving-hgv
encoder_options:
turn_costs: true
block_fords: false
use_acceleration: true
preparation:
min_network_size: 200
methods:
ch:
enabled: true
threads: 1
weightings: recommended
core:
enabled: true
threads: 1
weightings: recommended,shortest
landmarks: 64
lmsets: highways;allow_all
execution:
methods:
core:
active_landmarks: 6
ext_storages:
WayCategory:
HeavyVehicle:
restrictions: true
WaySurfaceType:
bike-regular:
enabled: false
bike-mountain:
enabled: false
bike-road:
enabled: false
bike-electric:
enabled: false
walking:
enabled: false
hiking:
enabled: false
wheelchair:
enabled: false
public-transport:
enabled: false
Thank you very much for your help!