Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
VectorTile Geometry Recentering #3036
This PR fixes an error that can sometimes cause geometries to be dropped and/or shifted when reading them from a
The solution was then to change the reference point from being in the corner of the pixel to being in the center.
I think I will need to talk with someone more before I can remove the
Yeah, this feels wrong to me...
The alternative is that
Does GT do something similar elsewhere to align to centers?
Though, it appears that the above implementation doesn't produce the exact result we're looking for. I created a unit test of the failing case, and it doesn't pass because the decimals aren't the same
I'm not sure if that difference is okay, or if we need to implement something different.