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

Vector tile source "osm" layer "water" does not use vector tile spec v2 and therefore may have some rendering errors. #1086

Closed
musicformellons opened this issue Sep 25, 2016 · 3 comments

Comments

@musicformellons
Copy link

musicformellons commented Sep 25, 2016

I get these error messages (for several layers) in the browser console with a stylesheet that used to work fine couple of months ago:
"Vector tile source "osm" layer "water" does not use vector tile spec v2 and therefore may have some rendering errors."

Possibly related to this:
osm2vectortiles/osm2vectortiles#388

Any solution?

@nvkelso
Copy link
Member

nvkelso commented Sep 26, 2016

Hi @musicformellons, sorry to hear you're having problems. I suspect it's because of a new strict topology check on the geometry in the tiles that Mapbox GL performs. The v2 Mapbox Vector Tile format is very strict about this, even though for rendering the map it's often fine.

We have made some progress in being v2 MVT format compliment in our v1 Mapzen Vector Tiles service which are currently available on our development server. Please have a look and see if they work better for you:

  • GeoJSON: http://tile.dev.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json
  • TopoJSON: http://tile.dev.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson
  • Mapbox Vector Tile: http://tile.dev.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt

If you're still having problems, I recommend checking out Tangram from Mapzen, it's a solid map rendering library.

@musicformellons
Copy link
Author

Thanks for your explanation and suggestions. Development gives same messages seems to me, so I will stick to 'production' server. Messages do not give any obvious rendering issues. Always nice to be compliant though!

@nvkelso
Copy link
Member

nvkelso commented Oct 31, 2016

Closing this issue. Work to be fully MVT v2 compliant is covered over here: tilezen/mapbox-vector-tile#42

@nvkelso nvkelso closed this as completed Oct 31, 2016
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

2 participants