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

Format type JSON should return GeoJSON? #154

Open
mikehwang opened this issue May 3, 2018 · 0 comments
Open

Format type JSON should return GeoJSON? #154

mikehwang opened this issue May 3, 2018 · 0 comments

Comments

@mikehwang
Copy link

mikehwang commented May 3, 2018

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

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

No branches or pull requests

1 participant