Mapzen buildings polygons are clipped when draw on map


99 观看


10 作者的声誉

I have been using the Mapzen Vector Tile Service . When I request a certain area I get different results.


Note: that my key is muted.

This is from mapzen

This is from my server

They are both called with the same parameter 18/214238/114415.json, however the request from my server have my buildings clipped.

I want the builds to be not clipped, I have tested that a building is bounded to 1 tile, if it is larger than the tile it will be clipped. However Mapzen servers seems to not getting the clip issue so I am guessing there is something wrong with my settings.

What setting am I missing? Is there any setting from tileserver,tileqeue or vectordata-source I am missing?

作者: Airborne STD 的来源 发布者: 2017 年 9 月 15 日

回应 (2)


116 作者的声誉

Try the clip_factor parameter.

Here is Mapzen's configuration:

A clip_factor: 3.0 will clip buildings only when they span more than three tiles.

作者: rhonda 发布者: 15.09.2017 03:28


16 作者的声誉


We suspect you're using master of all the Tilezen repos instead of the latest tagged releases. The recommended production combo is documented in the release notes here (this is what's used in Mapzen's production stack today):

Using v1.4.0 the clip_factor should be respected. But that is currently not supported in master due to some large refactoring that's on-going. We may add it back to solve some landuse kind intersection bugs we're seeing, but that work is not yet scheduled.

If you want to hack on master yourself the relevant clip to expand is here:

Hope this helps!

作者: Nathaniel Kelso 发布者: 20.09.2017 06:22