mojodna / tessera

A tilelive-based tile server.
BSD 2-Clause "Simplified" License
324 stars 80 forks source link

Problem with carto.css and src-out #68

Open Zbychus opened 7 years ago

Zbychus commented 7 years ago

I have simple carto style:

// global land vector 10m (Natural Earth)

land{

polygon-pattern-file: url("noise.png"); } // global lakes vector 10m (Natural Earth)

lakes {

polygon-opacity:0; polygon-comp-op: src-out; }

which should render land polygons with noise.png as a texture with exclusion of lakes polygons.

While it works fine in TileMill (in lakes polygons there is transparent background), when applied in tessera I receive the lake polygons that are grayed and covered by noise.png texture as well.

What and where is wrong, TileMill or tessera ?

mojodna commented 7 years ago

Sounds like a regression (or difference) between versions of Mapnik used in TileMill vs. tessera. I'd guess 1.x vs. 3.x; can you check?