You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is because djangorestframework-mvt uses django-rest-framework-gis's get_filter_bbox to generate the bbox and it only supports query_params. I have a forked branch of django-rest-framework-gis and a pull request for djangorestframework-mvt that does a pretty ham fisted job but works.
I suspect a better solution would be replicating get_filter_bbox in djangorestframework-mvt but would be nice to get some feedback before i try that.
Code Sample, a copy-pastable example if possible
For example:
Problem description
I worked with Martin tile server and they has the standard ":
<url>/{schema_name}.{table_name}/{z}/{x}/{y}.pbf
And your url is:
<url>/api/v1/data/example.mvt?tile=1/0/0
Expected Output
A vector tile.
Version Number
from requirements.txt:
Django==3.0.10
djangorestframework==3.11.1
djangorestframework-mvt==0.2.4
And python version (from Dockerfile):
FROM python:3.8
The text was updated successfully, but these errors were encountered: