Closed xycarto closed 1 year ago
Resolved by switching tile size to 512, 512
[grid.user]
width = 512
height = 512
srid = 2193
units = "m"
resolutions = [
8960.0,
4480.0,
2240.0,
1120.0,
560.0,
280.0,
140.0,
70.0,
28.0,
14.0,
7.0,
2.8,
1.4,
0.7,
0.28,
0.14,
0.07,
]
origin = "TopLeft"
I'd still be curious why it fails on the larger tile size, but I think it is irrelevant at this point.
Happy if this issue is cloed
Thanks for the detailed description. The error with a bigger grid tile size sounds like a possible number overflow in the grid calclulation. But the message free(): invalid pointer
sounds like an error in an underlying C library. But the PostgreSQL driver is pure Rust, so this is strange. Only way to track that down would be enabling debug logging.
Hi T-Rex,
I have a curious issue. I am working with T-Rex (t_rex 0.14.3 (GDAL version 3.0.4)) generating a vector tile cache from a custom projection. The projection has a non-traditional 2x scaling factor. The resolution of the projection look like this:
Here is the issue, when I run the vector tiling process, everything seems to go well; however, when I load the tile in JS and view the map, the data in the tiles "shifts" to strange places. This only happens at the location where the resolutions do an uncommon jump. In this case, where the resolution goes from 70 to 28 (or zoom 8)
This is an image of the shift (Nothing should be out over the sea):
I have a hard time getting this issue to repeat it is mostly seems to happen when I have a base data set with a very large number of vertices.
This is toml config I am using:
Few notes
If it helps, I am generating the toml automatically using: