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

Add to tiles of interest as part of tilequeue "pruner" command #180

Merged
merged 3 commits into from Apr 4, 2017

Conversation

iandees
Copy link
Member

@iandees iandees commented Mar 31, 2017

This adds the ability to include new tiles in the tiles of interest as part of the "prune" tilequeue command that was added in #176. This is a counterpart to tilezen/tileserver#85, which pulls out the enqueueing and TOI adding piece from tileserver.

pass

for coord_int in toi_to_add:
add_tile_of_interest(coord_int)
Copy link
Member

Choose a reason for hiding this comment

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

Flow looks good to me. Are we going to be enqueueing the coordinates with custom priorities? Or like normal based on zoom? If normal, there are some existing utilities that should make it easier.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was planning on using the normal priority queues.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm planning on using the existing priority queues.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, you can probably look at the enqueue tiles of interest command for inspiration.

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.

None yet

2 participants