I have a directory with a bunch of geojsons, and I want to make them available in the custom model profiles using the prefix in_<area>. I saw there is the property custom_areas.directory. Does it work to pass the system property in this way -Ddw.graphhopper.custom_areas.directory ?
For me it is not working, Graphhopper complaints about the name of the zone, like if it was not taking care of the system property -Ddw.grapphopper.custom_areas.directory
Uh, yeah, this is confusing … the custom_areas (currently) have not much to do with the areas in a custom_model. But probably it is time to change this
So I think we should either add graphhopper.custom_areas_folder next to graphhopper.custom_model_folder, or just allow referencing area definition files that are located in the custom_model_folder we already have. Probably the latter should be enough. We don’t really need to be able to use different custom_area_folders for different profiles, do we? Not sure if there should be one file per area, all areas should be in the same file or if multiple area files with potentially multiple areas per file should be allowed. Maybe just one file per area?