HSLdevcom / digitransit-ui

Digitransit UI ("Reittiopas.fi")
https://www.reittiopas.fi/
Other
242 stars 133 forks source link

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

Open kalon33 opened 1 month ago

kalon33 commented 1 month ago

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.

optionsome commented 1 month ago

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.