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

Hello,

I have been trying to find a solution to this for a long time. I have created my own tile server using http://switch2osm.org/serving-tiles/manually-building-a-tile-server/. Everything runs successfully and i am able to see my changes on the map as and when i make them using JOSM.

What i really want to know is can i add custom icons to my tiles for a node with key eg. Speed Limit = 40kmph ? I have seen that it is possible to create new nodes (for eg. Trees and Restaurants) which appear on the map instantly after the generation of new tiles.

After reading some documentation i also figured out that mapnik has a stylesheet in which these images are included. When i try to manipulate this image sources i still cannot see my changes on the map.

Is there someone who has done this before or has additional experience to solve this issue?

What i dont want to to is use OpenLayers or leaflet and add custom markers on my map. I want these images embedded in my tiles.

Thanks in advance for any help that you could provide.

asked 16 Jun '14, 14:07

Osm_Enthu's gravatar image

Osm_Enthu
56337
accept rate: 0%

Any help guys?

(02 Jul '14, 16:32) Osm_Enthu

If you're using the openstreetmap-carto style, I'd expect that you'd have the individual PNGs in that directory. In my case, for example, I've got files such as this one: "~/openstreetmap-carto/symbols/scrub.png" (my exported stylesheet is ~/openstreetmap-carto/mapnik.xml).

If you just want to replace symbols in the standard stylesheet I'd imagine that you should just be able to replace the (in this case .png) files; if you want to do something more complicated you might want to use something like TileMill.

permanent link

answered 02 Jul '14, 16:49

SomeoneElse2's gravatar image

SomeoneElse2
1514
accept rate: 0%

edited 02 Jul '14, 16:49

1
(02 Jul '14, 18:13) stephan75

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:

×710
×440
×341
×54
×39

question asked: 16 Jun '14, 14:07

question was seen: 4,940 times

last updated: 02 Jul '14, 18:13

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