Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Two minor fixes after the merge of #4381. They are mostly to keep my own setup working, but I hope it makes sense for others.
golf-color
for the golf holes, lines and text instead of reusingaddress-color
.comp-op: soft-light
with thegolf_rough
.About
comp-op
This is a feature supported by Mapnik, but not really by its SVG export. #3653 hit that issue. What happens is that the exported SVG either contains a rasterized image, or uses non-standard extensions (when exporting with the non-existing SVG 1.2). At some point proposals for SVG 1.2 including
comp-op
floated around and were implemented in Inkscape, librsvg and Mapnik, but those proposals were later dropped.The result in most image viewers (those that are not based on librsvg) and in all browsers:
5x:
The only current use of
comp-op
before #4381 was for admin boundaries, and it is a lot less noticeable when those don't look perfectly as intended.I believe using
comp-op
in OSM-carto is desirable, and it would be nice to get workarounds at some point. SVG supports masks and filters, so a lot should be possible. But can the use ofcomp-op
and the need for workarounds (or dropping support for exporting vector images) be delayed until there is a feature that is really worth it, such as #3854?For now I would just like to use the simple solution: adjust the color of the SVG pattern for
golf_rough
, to use the colorcomp-op: soft-light
would have resulted in:@jgruca Are these changes acceptable?