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

I noticed that Mapnik rendered some tracks in maroon dashes or continued line (like roads).

If a track's surface is made of concrete and tagged as surface=concrete, will it be rendered as a continuous line in Mapnik?

This question is marked "community wiki".

asked 11 Jul '12, 20:02

gerdami's gravatar image

gerdami
696273546
accept rate: 15%


No. The Mapnik style sheet we currently use doesn't recognize any surface tags but it can be implemented of course. There as been a similar answer on help, a rather old ticket and probably several mailing list discussions about this issue. There is also an ITO Map showing different surface tags in different colors.

But it doesn't seem like there are any current plans in supporting the surface tag in our Mapnik style sheet. Yet you can try to add it or improve existing patches in hope somebody will merge your changes.

permanent link

answered 11 Jul '12, 20:46

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 11 Jul '12, 20:48

Thanks for your reply and all useful links. I understand now that it is only the tracktype=grade 1-5 that produces different Mapnik renderings. However, the relation analyser actually uses the surface key to compute surface composition averages for relations. Hence I should use both keys, e.g. surface=concrete and tracktype=grade1.

(12 Jul '12, 00:02) gerdami
1

Oups, my mistake. The relation analyser computes percentages of roads, tracks, paths for let's say a walking route.

(12 Jul '12, 07:34) gerdami

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:

×341
×112
×30
×3

question asked: 11 Jul '12, 20:02

question was seen: 3,747 times

last updated: 12 Jul '12, 07:34

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