-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Tiles missing data when multiple rows have same id #337
Comments
Oh, for SQL-side debugging, I checked that particular tile with select osm_id, st_area(way::geometry) from (SELECT
0::bigint AS osm_id,
ST_AsBinary(way) AS way
FROM simplified_ocean_polygons
WHERE way && ST_MakeEnvelope(-1.4093765021372069e+07,6.57969939387207e+06,-1.3770895013940427e+07,6.25682938644043e+06,3857)) as _; Results were
For scale, at traditional z7 pixel is 1490116 square Mercator meters, and a 4096 grid square is 5776. Several of the rows there are of significant size. |
@pnorman as always, thanks for the detailed submission. I'm wondering if the fact that all the features have the same |
Having a unique ID is only a SHOULD in the spec, it's not required at all. Many data sources don't have an ID, or don't have a unique one. |
@pnorman this has been fixed on the |
Confirming fixed. |
Some tiles are empty with no apparent reason. Although only one rendered tile is visible here, others are scattered around.
In an effort to debug I ran with
TEGOLA_OPTIONS=DontSimplifyGeo SQL_DEBUG=EXECUTE_SQL
and had no changes.After a bit of debugging, I looked at the geojson, and it's odd. I got this, where translucent green is polygons in the tile
The lower-left is the only data from the water layer.
There's something odd going on when I zoom in close, with several things happening
The purple polygons overlap on the tile edge. This is intentional, but makes it look more complex.
Red dots are on vertexes of the original data, but you can see the vector tile has introduced additional ones. Coordinates look slightly off but that could be because it's zoomed in so much the vector tile grid resolution matters.
Shell commands for converting were
The text was updated successfully, but these errors were encountered: