-
Notifications
You must be signed in to change notification settings - Fork 12
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
MVT Writer Geometry shift #29
Comments
Add provided unit test slightly modified refers to #29
The parts of the input polygon are not sorted by their area (descending). This might cause the Could you verify that 8_6_4.zip is what you expect. |
so sorting the polygons by area will solve this without a fix ? |
I suppose so. |
Sorry, Geometry.Normalize() dosent seem to work.. |
Sorry for the misleading suggestion. I'll improve the fix. |
Thanks, Ill take the branch later and test it. |
Try one or combine any of |
Like you said. `
` |
Add provided unit test slightly modified refers to #29
Encountered an issue when writing an mvt where some of the geometries are shifted to a wrong location.
for the same geometry, higher and lower zoom display different behaviours.
In low zoom (4) the some of the polygons are not where they should be.
in high zoom (6) the issue is not reproduced.
Geometry used in test:
Italy.txt
`
Opend the tiles in QGIS, with an OSM layer in background to see the shift.
Original geometry:
Tile x=8,y=6,z=4
Tile x=34,y=24,z=6
The text was updated successfully, but these errors were encountered: