-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Geopackage-provided tiles are malformed in v20 #999
Comments
Can you share the file please? |
Sure. ps. change the table name to functional_zones_table. |
I can confirm the issue in v0.20.0 and everything working in v0.19.0. Also took a look at the data and couldn't find anything wrong with it either. I was able to verify that the gpkg provider correctly gets the feature from the gpkg and creates a valid polygon. I'm not sure why, but the issues appears to occur during encoding to mvt. |
I have a feeling this has to do with this PR #952. @gdey can you give us some guidance on what our best path forward here is? It seems to me that upgrading the geom package has caused a regression in rendering. I think the geom package version was bumped to bring in a fix for the slippy package to get tests to pass on Apple Silicon. This was discussed in #951 |
I need to look into this, and the other one listed here. I'll take a look tomorrow. See what I can find, but it does look like an issue with geom. |
Just for a sanity check. The mvt_postgis provider is not affected. |
Correct. The |
just tested the legacy |
@iwpnd indeed, the same issue would show up for the legacy postgis provider. The geom package's line handling is fine, but the polygon handling is where the issues stem from. |
Yeah, this looks like an old regression I had with makevalid. Where it would drop certain points due to floating point precision errors. |
Note, @gdey has been working on a fix in the geom package and hopes to have a PR ready soon that should address this issue. |
I'm still looking at this. Needed to take a small break, but am look at it. |
confirm v20 data has broken . I revert v19 work ok |
Sorry, this is taking a bit. Had to stop to get a few other things done, this change is harder to do that I was expecting. Upgrading geom to v1.0.0 and caused this be a major change. Need to make the changes to geom, so overall I think it's good. Just this is taking a bit. |
I have this minimal config:
When running with gospatial/tegola:v0.20.0, I get this:
When i switch to gospatial/tegola:v0.19.0, geometry becomes normal:
I believe there is a bug in v20.
The text was updated successfully, but these errors were encountered: