Skip to content

Format type JSON should return GeoJSON? #154

@mikehwang

Description

@mikehwang

This is a question that could lead to an actual issue.

Was it intentional to return a JSON representation of the Mapbox vector tile when requesting for format type "json"? See this line.

Or should that toJSON be replaced with toGeoJSONSync?

If the current implementation is correct then is there a design or requirements reason for it? My amateur understanding is that .mvt is provided as a protobuf and made for rendering. I'd imagine viz libraries expects it in pbf so what good is a JSON representation?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions