Skip to content

I can't set the url with args (from django path), such as Martin tile server #13

Description

@mdtrooper

Code Sample, a copy-pastable example if possible

For example:

urlpatterns.append(path("garden/<z>/<x>/<y>.pbf", mvt_view_factory(Garden)))

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions