Comments (10)
This indeed seems to help. Adding "symbol-avoid-edges": true
to the affected layer ensures the labels are not rendered when touching the tile edge:
But it also removes some labels which were rendered correctly (such as "Fremont" or "Harbor Island").
However, it needs to be used carefully, since adding it to all layers removes unnecessarily many features (such as roads, etc.), which work correctly on the edges:
from tileserver-gl.
Acknowledged. We will discuss @petrsloup, how to increase the buffers around tiles to avoid this problem.
from tileserver-gl.
We start to work actively on this issue. Upgrade of Mapbox GL Native did not solve the problem.
The next step is digging into the combination of input data (vector tiles + JSON style) on the sample area and debug tests on the GL Native.
from tileserver-gl.
I did some testing and it's possible there are actually two separate issues:
- Sometimes, two labels are present very close to each other in both tiles, but it looks like different label is chosen to be used in different tile (blue circles).
- And sometimes the label is present only in one of the tiles and not the other (blue circle).
Since this issues is also happening when using mapbox-gl-native directly (center+zoom+dimensions), there is probably nothing we can do on tileserver-gl side -- it's either bug in mapbox-gl-native or the data.
We will look into the tiles data to better understand what exactly is going on.
from tileserver-gl.
Related PR: mapbox/mapbox-gl-native#3357
from tileserver-gl.
@petrsloup - config for "MapMode::Still"?
from tileserver-gl.
This appears like you're hitting mapbox/mapbox-gl-native#3582, which can be fixed by adding symbol-avoid-edges: true
to the clipped label layer in the style. We're considering making this default behavior and would appreciate any feedback you have, or edge cases that this fails to address.
from tileserver-gl.
I've the same problem,text lable spanning multiple raster tiles.
is there a metatile before export tiles in mapbox-gl-native ? like geowebcache?
from tileserver-gl.
There is currently nothing to be done on the server side.
This is more about the preparation of the data (tuning buffer sizes) and styles (sensible font sizes etc.).
from tileserver-gl.
This might (still) be a Mapbox GL Native bug: mapbox/mapbox-gl-native#11838
from tileserver-gl.
Related Issues (20)
- Latest arm64 Docker Image is broken HOT 15
- Tiles not rendering at certain zoom levels HOT 3
- Tileserver crashes/throws error in tile mode for certain pbf HOT 6
- broken docker image maptiler/tileserver-gl-light:v4.6.3 HOT 7
- Crashing tileserver-gl worker (docker, kernel trap) HOT 10
- firefox warning NS_BINDING_ABORTED in web developer tools network tab HOT 2
- Unit test cases for maptiler tileserver HOT 1
- min/maxRendererPoolSizes in config have no effect HOT 8
- Multiple mbtiles serving on tileserver-gl HOT 1
- maptiler-server & nginx proxy to a URL with sub-folder HOT 3
- Texts are cut off in raster maps and static maps HOT 5
- maxScaleFactor @4x and more does not work HOT 3
- Maptiler retaining Renderer after each process.
- Question about cache. Fast loading of tiles. HOT 1
- MBtiles data with static png images lead to erroneous URLs in index.json HOT 3
- Unhandled exception when pmtiles is used and GeoJSON is requested HOT 5
- Provided Tilejson file's "tiles" attribute uses "HTTP" instead of "HTTPS" HOT 3
- Add cache bust feature
- style paths with (null) in sources
- Serving multiple maps (.MBTiles) in th same server. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileserver-gl.