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

SVG Parsing error #3755

Closed
sommerluk opened this issue Apr 21, 2019 · 5 comments · Fixed by #4457
Closed

SVG Parsing error #3755

sommerluk opened this issue Apr 21, 2019 · 5 comments · Fixed by #4457
Labels

Comments

@sommerluk
Copy link
Collaborator

Expected behavior

No error messages when rendering.

Actual behavior

Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-style> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-variant> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-weight> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-stretch> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-size> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <font-family> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <text-decoration> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <letter-spacing> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <word-spacing> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <direction> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <writing-mode> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <baseline-shift> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <text-anchor> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <clip-rule> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <overflow> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <color-interpolation> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <color-interpolation-filters> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <color-rendering> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <image-rendering> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <shape-rendering> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <text-rendering> attribute is not supported"
Mapnik LOG> 2019-04-19 14:26:05: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"

What to do?

In this particular case, symbols/amenity/bureau_de_change.svg is the problem. But there are more icons that have non-supported elements.

Apparently this does not damage the rendering. Should it be fixed anyway?

@matkoniecz
Copy link
Contributor

Is element logged as problematic having any effect on rendered image? If that it NOP then it certainly should be removed to reduce spam in logs.

@pnorman
Copy link
Collaborator

pnorman commented May 5, 2019

I'm not getting these. What is your rendering setup, in particular, what version of Mapnik?

In any case, regardless of why I'm not seeing the issue, symbols/amenity/bureau_de_change.svg clearly doesn't meet our map icon guidelines

ref. #3301

@sommerluk
Copy link
Collaborator Author

Only when using single-tile rendering with phyton. Does not occure when using kosmtik.

@jeisenbe jeisenbe added the bug label Aug 25, 2019
@jeisenbe
Copy link
Collaborator

So the issue is that the code of symbols/amenity/bureau_de_change.svg needs to be cleaned up?

@pnorman
Copy link
Collaborator

pnorman commented Aug 27, 2019

So the issue is that the code of symbols/amenity/bureau_de_change.svg needs to be cleaned up?

There was a mention of other icons, all of which would need cleanup to meet our requirements.

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

Successfully merging a pull request may close this issue.

4 participants