Hi, we have 2 ports in our management. We have used 'lines' to put the piers and jetties on the map. Is there any way to change the colour of the lines as we have piers of different lengths?

asked 06 Jan, 16:13

Koen%20Prikken's gravatar image

Koen Prikken
1112
accept rate: 0%

2

Can you explain in a bit more detail what software you are asking about?

(06 Jan, 21:56) SomeoneElse ♦

Hi.

Usually, the color of a line is only based on the tags applied, that is its typology. Especially on the default tile layer (called osm-carto), which is mainly designed to help mappers validate their work.

Depending on your needs, you could overlay a new color, for example using mapCSS in overpass-turbo or using uMap, or you can design a new map style based on your specific needs (Mapbox Studio does that with a GUI, or you could set up a full rendering server with a modified version of osm-carto).

If you don't understand the propositions, please have a look at the wiki, and ask a more detailed question.

Warning, you can't change the tags of a line to change the color on the map. The tags are meant to represent the on-the-ground truth, renderers (and maps styles' creators) makes their own choice as to how to represent the tags.

That being said, I've never heard of features represented differently based on their length.

Best regards.

permanent link

answered 07 Jan, 12:23

H_mlet's gravatar image

H_mlet
4.4k1567
accept rate: 13%

Your answer
toggle preview

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:

×27

question asked: 06 Jan, 16:13

question was seen: 202 times

last updated: 07 Jan, 12:23

powered by OSQA