digitransit-ui icon indicating copy to clipboard operation
digitransit-ui copied to clipboard

Disable .pbf fetching from OSM source (currently retrieves both png and pbf)

Open kalon33 opened this issue 1 year ago • 1 comments

Is there a way to disable .pbf fetching ? My OSM source doesn't provide them, only png that are downloaded right before .pbf files.

Thanks for your help.

kalon33 avatar Sep 20 '24 12:09 kalon33

If you are using the latest version on ui, the pbf map layers actually come from OpenTripPlanner 2. We do some rewrites to the paths in our proxy so you need to change the url to point to OTP and some adjustments to the paths. https://github.com/HSLdevcom/OpenTripPlanner-data-container/blob/v3/hsl/router-config.json#L159-L250 has the otp configuration for the layers we use.

optionsome avatar Sep 20 '24 13:09 optionsome