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

Zoom: add to opportunity dataset model #807

Merged
merged 4 commits into from
May 25, 2022
Merged

Conversation

trevorgerhardt
Copy link
Member

@trevorgerhardt trevorgerhardt commented Apr 26, 2022

Add zoom field to opportunity datasets. Required for https://github.com/conveyal/ui/pull/1801

Retrieve it from the WebMercatorExtents that are passed in on creation.
This requires zoom levels to be specified when creating opportunity datasets.
@trevorgerhardt trevorgerhardt marked this pull request as ready for review May 13, 2022 04:14
@trevorgerhardt trevorgerhardt enabled auto-merge (squash) May 13, 2022 04:14
ansoncfit
ansoncfit approved these changes May 25, 2022
Copy link
Member

@ansoncfit ansoncfit left a comment

Choose a reason for hiding this comment

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

This requires a database migration (adding zoom), which we are handling separately.

I tested the new features running this branch and the corresponding UI locally to create a zoom 11 grid. The grid creation worked as expected, and the resulting file was usable after uploading it to production.

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.

2 participants