NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I am adding a new feature to our online map, which would show OSM POIs as vectors and subsequently allow users to contribute new POIs. What I can't really find is some iconset, which could be usable for selecting the right icon according to node's properties. Something like mapping from 'amenity=restaurant' to /iconset/amenity/restaurant.svg. All I've found was incomplete and there was no mapping, or it was outdated (for example restaurant was under food, but now OSM chooses amenity, when I edit with id).

I know that it's upon every renderer, what icons it would use, but do I really have to create my own iconset and mapping from scratch? Isn't there at least some iconset to start with?

asked 31 Jul '17, 11:02

meehocz's gravatar image

meehocz
16112
accept rate: 0%


Any of the more popular preset systems provide tag combination -> icon mappings in one way or another:

Further the map styles have similar rules (but tend to less complete as they need to reduce the amount of information they display to be practical).

In general, before embarking on a larger coding exercise, I would recommend getting acquainted with how OSM tagging works and in general with the data model and the pitfalls you are likely to run in to when creating your application.

permanent link

answered 31 Jul '17, 13:23

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 31 Jul '17, 14:14

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×193
×191
×54
×19

question asked: 31 Jul '17, 11:02

question was seen: 1,966 times

last updated: 31 Jul '17, 14:14

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum