maplibre / martin

Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
https://martin.maplibre.org
Apache License 2.0
2.17k stars 205 forks source link

Composite source issue - only partial data returned. #1488

Open CitaZane opened 2 weeks ago

CitaZane commented 2 weeks ago

Hello,

I'm encountering issues when creating composite source requests. I'm using Martin version 0.14.2.

I'm attempting to combine two sources ex. 'points', 'polygons', and when making request /tiles/points,polygons/{z}/{x}/{y}, by default only the first defined source (point) is returned. Polygon tile is only included if no point is in the same tile. When requesting the tiles as separate sources the tiles are there. Screenshot from 2024-08-27 16-39-36

Can composite sources only be used with point and line geometries?

nyurik commented 2 weeks ago

Composite sources should combine any type of sources (as long as they are all MVTs) - regardless of the geometry type. Of course there could always be a bug in the code...