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

use ST_TileEnvelope to generate tiles #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ioionu
Copy link

@ioionu ioionu commented Mar 29, 2021

base_mvt_view = BaseMVTView(geo_col="geom")
model = MagicMock()
vector_tiles = MagicMock()
vector_tiles.intersect.return_value = b"mvt goes here"
model.vector_tiles = vector_tiles
base_mvt_view.model = model
request = MagicMock(query_params={"tile": "2/1/1"})
# request = MagicMock(query_params={"tile": "2/1/1"})
Copy link
Member

Choose a reason for hiding this comment

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

I think this comment can be removed.

request.GET.dict().pop.assert_called_with("offset", None)

# TODO: fix this assertion.
# request.GET.dict().pop.assert_called_with("offset", None)
Copy link
Member

Choose a reason for hiding this comment

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

Is this still TODO?

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