Skip to content
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

Problem with carto.css and src-out #68

Open
Zbychus opened this issue Jan 16, 2017 · 1 comment
Open

Problem with carto.css and src-out #68

Zbychus opened this issue Jan 16, 2017 · 1 comment

Comments

@Zbychus
Copy link

Zbychus commented Jan 16, 2017

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
Copy link
Owner

mojodna commented Jan 18, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants