Opened 10 years ago

Closed 6 years ago

#3159 closed enhancement (duplicate)

[amenity-points] Sport icons

Reported by: !i! Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:


Currently all sport fields are shown in the same style. It is very difficult to distinguish the different sports. Furthermore there are good sport icon sets out there: Comparing the different olympic pictograms I suggest to take the icon sets of Olympic games 1972 (munich) adopted to the constraints of 16px

Attachments (1)

layer-amenity-points.xml.diff (5.0 KB) - added by aharvey 10 years ago.
just an example of how to get the sport icons to render for sport=*

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by aharvey

It seems like someone is working on this, as there are a bunch of sport icons in the same icon set as most of the other Mapnik icons,

If you copy the png icons from that link to symbols, you can then add them into inc/ as,




<PointSymbolizer? file="&symbols;/sport_soccer.glow.20.png" />


I choose the glow ones as the green on green blends into much without the glow, but I think this goes against the convention.

I don't think (though I haven't checked) mapnik can eligantly deal with both a PointSymbolizer? sybol and a TextSymbolizer?, as adding these sport icons means that if you have a way tagged as, leisure=pitch sport=soccer name=Joe's Field

Then the name is no longer rendered. Ideally I suppose you would want the symbol above the name.

Changed 10 years ago by aharvey

just an example of how to get the sport icons to render for sport=*

comment:2 Changed 6 years ago by math1985

Summary: Sport icons[amenity-points] Sport icons

comment:3 Changed 6 years ago by Mateusz Konieczny

People in individual tickets suggested rendering specific sports: climbing (#2761), swimming (#5029) and canoe (#1960)

comment:4 Changed 6 years ago by math1985

Resolution: duplicate
Status: newclosed

This issue is now being discussed on Github:

Therefore, I will close the issue here.

Note: See TracTickets for help on using tickets.