Hello! I have been trying to set up a self-hosted instance, and I have been able to successfully get the osm data linked to the instance, but I’m not quite sure how to change the configuration settings with the new config file. Specifically, I want to be able to make isochrones for 2 and 4 hours.
Also, I’m not sure if this is related, but when I try making 60 min isochrones, it is only generating very small area (like, just around the building my point is set on).
If anyone could help with this I’d really appreciate it, thanks!
I want to be able to make isochrones for 2 and 4 hours.
Fast-isochrones would be a good fit for you then. Please post your config and we can give you hints on how to activate them.
Also, I’m not sure if this is related, but when I try making 60 min isochrones, it is only generating very small area (like, just around the building my point is set on).
We know about the bug in version 7 and the weird snapping of isochrone centres. We already started fixing it. Give us another day and it’ll be in master as well.
Thanks! Here’s my ors-config right now. I’m not quite sure how this new set-up works – I was used to working on the .json file, with all the specific limits for everything, but I’m pretty lost on this.
ors:
### uncomment the following lines to change CORS settings.
#cors:
# allowed_origins: "*"
# allowed_headers: Content-Type, X-Requested-With, accept, Origin, Access-Control-Request-Method, Access-Control-Request-Headers, Authorization
# preflight_max_age: 600
engine:
### use the following line for development setup using test OSM file for Heidelberg
#source_file: ./src/test/files/heidelberg.osm.gz
source_file: ./ors-core/data/zambia-latest.osm.pbf
graphs_root_path: ./ors-core/data/graphs
elevation:
cache_path: ./ors-core/data/elevation_cache
profiles:
car:
profile: driving-car
elevation: true
encoder_options:
turn_costs: true
block_fords: false
use_acceleration: true
preparation:
min_network_size: 200
min_one_way_network_size: 200
methods:
ch:
enabled: true
threads: 1
weightings: fastest
lm:
enabled: false
threads: 1
weightings: fastest,shortest
landmarks: 16
core:
enabled: true
threads: 1
weightings: fastest,shortest
landmarks: 64
lmsets: highways;allow_all
execution:
methods:
ch:
disabling_allowed: true
lm:
disabling_allowed: true
active_landmarks: 6
core:
disabling_allowed: true
active_landmarks: 6
ext_storages:
WayCategory:
HeavyVehicle:
WaySurfaceType:
RoadAccessRestrictions:
use_for_warnings: true
Thank you so much for your help! Unfortunately, when I tried docker compose up with this, the app always stops with the line
ors-app | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) [bootstrap.jar:10.1.11]
After this, it never seems to make any progress. I’ve retried this a couple times, but I can’t find any way to make it continue. Any advice? Thanks!
I’m still having issues with this — whenever I try to add the configuration for isochrones to the ors-config.yml, it becomes stuck when i try to docker compose up. I’ve tried without adding the isochrone configuration, and everything works fine, so I think it just really has issues with trying to add that bit.