Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geospatial tiling of all of hafas #2

Open
pietercolpaert opened this issue Oct 7, 2019 · 5 comments
Open

Geospatial tiling of all of hafas #2

pietercolpaert opened this issue Oct 7, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@pietercolpaert
Copy link

Nice to have idea:

Now you can configure the server on a specific bbox. What if we’d extend the URI template to this:

https://example.org/{z}/{x}/{y}/{connections|stops}/{?t}

With z the zoom level, x the longitude of the tile and y the latitude? You can of course disable zoom levels that would be too difficult to handle on the server-side.

You can describe this interface with hypermedia in the same way as the Routable Tiles spec: https://openplanner.team/specs/2018-11-routable-tiles.html

Open questions: how to handle this in planner.js.org? What extra metadata do we need to know what viewport to download for getting a complete answer to a route planning question? (These questions are currently being tackled by my team)

@derhuerst
Copy link
Owner

Now you can configure the server on a specific bbox. What if we’d extend the URI template to this: https://example.org/{z}/{x}/{y}/{connections|stops}/{?t}

how to handle this in planner.js.org?

This would add a whole new layer of complexity to planner.js. Up to you, I guess it comes down to "smart client, dumb servers" vs "less smart client, less dumb servers".

@derhuerst derhuerst added the enhancement New feature or request label Oct 9, 2019
@pietercolpaert
Copy link
Author

Now you can configure the server on a specific bbox. What if we’d extend the URI template to this: https://example.org/{z}/{x}/{y}/{connections|stops}/{?t}
how to handle this in planner.js.org?

This would add a whole new layer of complexity to planner.js. Up to you, I guess it comes down to "smart client, dumb servers" vs "less smart client, less dumb servers".

The idea of Planner.js was also to do source selection across the borders of a single public transit system. We are currently prototyping different approaches, and the tiling approach is one possibility.

@derhuerst
Copy link
Owner

So usually tile borders would usually also be transit system borders, but they don't have to be? That could work. 👍

@pietercolpaert
Copy link
Author

Indeed!

@derhuerst
Copy link
Owner

#3 implemented fetching stops by bounding box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants