Skip to content

Conversation

@nilsnolde
Copy link
Collaborator

fixes #149

basically a copy of the existing OTP implementation.


return Isochrones(isochrones, response)

def raster( # noqa: C901
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the same parameters as for isochrones. I'm sure this can be done better to make sure both use the same parameters

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/raster is what was already done for opentripplanner. in the spirit of "one api to rule them all" I guess it's better than making it a parameter for /isochrone

@nilsnolde nilsnolde requested a review from mthh November 1, 2025 23:15
@nilsnolde
Copy link
Collaborator Author

nilsnolde commented Nov 1, 2025

this depends on valhalla/valhalla#5665. routingpy's logic is based on the response's Content-Type header, which is currently wrong in valhalla. that also means I've gone full circle.. change smth in valhalla -> want to change qgis plugin -> need to change routingpy -> need to change valhalla, that's hilarious and awful haha

@nilsnolde
Copy link
Collaborator Author

valhalla/valhalla#5665 is merged, so this PR is ready too.

@nilsnolde nilsnolde force-pushed the nn-valhalla-geotiff branch from 2bd4168 to e90838d Compare November 2, 2025 21:17
@nilsnolde
Copy link
Collaborator Author

fwiw, I also implemented this in the plugin already in nilsnolde/valhalla-qgis-plugin@a23e191. works nicely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support geotiff format for Valhalla isochrones

1 participant