Navigation Menu

Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[amenity-points] Sport icons #3159

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

[amenity-points] Sport icons #3159

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: !i!
[Submitted to the original trac issue database at 9.55am, Thursday, 5th August 2010]

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

@openstreetmap-trac
Copy link
Author

Author: aharvey
[Added to the original trac issue at 11.06am, Friday, 5th November 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: Mateusz Konieczny
[Added to the original trac issue at 7.39pm, Monday, 28th July 2014]

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

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 8.29pm, Tuesday, 5th August 2014]

This issue is now being discussed on Github: gravitystorm/openstreetmap-carto#844

Therefore, I will close the issue here.

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

No branches or pull requests

1 participant