-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
Symbol for polygon not placed at center. #5048
Comments
I would consider this as an issue with the limitation of accuracy for geojson source. |
1 I will have a try if possible. 2 Any fallback instead of vector tiles at the moment? |
Maybe |
Thanks! But this still users geijson-vt which I think is where the bug is. |
Indeed the
|
I would advise to try and create a tile using a different method and then try to read it and see if you still have a problem. |
Finally I tried to upload my data to mapbox studio to generate vector tiles. And things does not change. |
Ok, thanks for taking the time to try this out, this rules that the problem is with the geojson conversation to MVT, and leaves text location precision I guess... |
I also tried to publish the geojson to vector tiles with geoserver locally, and got the same result. Also I do not notice any precision lose for the geometry. So I guess if this is caused by the symbol algorithm. |
This is my gut feeling as well. Feel free to drive into it... |
Hi:
When adding symbols to polygons with
symbol-placement
set topoint
, it is expected that the symbol will be placed at the center of the polygon.However, in some situations, this is not the case. Live Example.
As shown in the example, the symbol for
A
is correctly centered, while the symbol forB
is not.What's going on?
The text was updated successfully, but these errors were encountered: