Opened 9 years ago

Closed 5 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:

Description

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: http://wiki.openstreetmap.org/wiki/Category:Sport_icon Comparing the different olympic pictograms http://www.nytimes.com/interactive/2010/02/24/sports/olympics/pictograms-interactive.html I suggest to take the icon sets of Olympic games 1972 (munich) http://olympic-museum.de/pictograms/Picto1972.htm adopted to the constraints of 16px

Attachments (1)

layer-amenity-points.xml.diff (5.0 KB) - added by aharvey 8 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 8 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, http://www.sjjb.co.uk/mapicons/contactsheet#sport

If you copy the png icons from that link to symbols, you can then add them into inc/layer-amenity-points.xml.inc as,

<Rule>

&maxscale_zoom17;

<Filter>[sport]='soccer'</Filter>

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

</Rule>

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 8 years ago by aharvey

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

comment:2 Changed 5 years ago by math1985

Summary: Sport icons[amenity-points] Sport icons

comment:3 Changed 5 years ago by Mateusz Konieczny

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

comment:4 Changed 5 years ago by math1985

Resolution: duplicate
Status: newclosed

This issue is now being discussed on Github: https://github.com/gravitystorm/openstreetmap-carto/issues/844

Therefore, I will close the issue here.

Note: See TracTickets for help on using tickets.